From 8060ae5aacb302cd674755a49f3f060052702afe Mon Sep 17 00:00:00 2001 From: jorgechav Date: Wed, 4 Dec 2024 12:32:10 -0600 Subject: [PATCH 01/89] Moving specs from private to public The files are the same as the one in https://github.com/Azure/azure-rest-api-specs-pr/pull/20074/files#diff-4764111bf455581c775da5c4711ccd11e820292fc9c84957532fc5d278b3ea2d --- .../Approvals_CreateOrUpdate.json | 123 + .../2024-11-01-preview/Approvals_Delete.json | 25 + .../2024-11-01-preview/Approvals_Get.json | 54 + .../Approvals_InitiatorCallback.json | 28 + .../Approvals_ListByParent.json | 59 + .../2024-11-01-preview/Approvals_Update.json | 85 + ...ityEndpoints_ApprovalDeletionCallback.json | 28 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + ...mmunityEndpoints_PostApprovalCallback.json | 29 + .../CommunityEndpoints_Update.json | 69 + .../Community_CreateOrUpdate.json | 577 ++ .../2024-11-01-preview/Community_Delete.json | 25 + .../2024-11-01-preview/Community_Get.json | 218 + .../Community_ListByResourceGroup.json | 222 + .../Community_ListBySubscription.json | 221 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../2024-11-01-preview/Community_Update.json | 361 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../EnclaveConnection_Update.json | 54 + ...aveEndpoints_ApprovalDeletionCallback.json | 28 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + ...EnclaveEndpoints_PostApprovalCallback.json | 29 + .../EnclaveEndpoints_Update.json | 67 + .../Endpoint_CreateOrUpdate.json | 92 + .../2024-11-01-preview/Endpoint_Delete.json | 26 + .../2024-11-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2024-11-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2024-11-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2024-11-01-preview/TransitHub_Delete.json | 26 + .../2024-11-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2024-11-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 329 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 129 + .../VirtualEnclave_ListByResourceGroup.json | 133 + .../VirtualEnclave_ListBySubscription.json | 132 + .../VirtualEnclave_PostApprovalCallback.json | 29 + ...lEnclave_PostApprovalDeletionCallback.json | 27 + .../VirtualEnclave_Update.json | 225 + .../Workload_CreateOrUpdate.json | 71 + .../2024-11-01-preview/Workload_Delete.json | 26 + .../2024-11-01-preview/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../Workload_ListBySubscription.json | 41 + .../2024-11-01-preview/Workload_Update.json | 53 + .../mission/Mission.Management/model.tsp | 527 ++ .../resourcetypes/approvals/approvals.tsp | 107 + .../resourcetypes/community/community.tsp | 214 + .../postActions/approvalcallback.tsp | 36 + .../mission/Mission.Management/version.tsp | 50 + .../examples/Approvals_CreateOrUpdate.json | 123 + .../examples/Approvals_Delete.json | 25 + .../examples/Approvals_Get.json | 54 + .../examples/Approvals_InitiatorCallback.json | 28 + .../examples/Approvals_ListByParent.json | 59 + .../examples/Approvals_Update.json | 85 + ...ityEndpoints_ApprovalDeletionCallback.json | 28 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + ...mmunityEndpoints_PostApprovalCallback.json | 29 + .../examples/CommunityEndpoints_Update.json | 69 + .../examples/Community_CreateOrUpdate.json | 577 ++ .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 218 + .../Community_ListByResourceGroup.json | 222 + .../Community_ListBySubscription.json | 221 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../examples/Community_Update.json | 361 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../examples/EnclaveConnection_Update.json | 54 + ...aveEndpoints_ApprovalDeletionCallback.json | 28 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + ...EnclaveEndpoints_PostApprovalCallback.json | 29 + .../examples/EnclaveEndpoints_Update.json | 67 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 329 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 129 + .../VirtualEnclave_ListByResourceGroup.json | 133 + .../VirtualEnclave_ListBySubscription.json | 132 + .../VirtualEnclave_PostApprovalCallback.json | 29 + ...lEnclave_PostApprovalDeletionCallback.json | 27 + .../examples/VirtualEnclave_Update.json | 225 + .../examples/Workload_CreateOrUpdate.json | 71 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../examples/Workload_ListBySubscription.json | 41 + .../examples/Workload_Update.json | 53 + .../preview/2024-11-01-preview/openapi.json | 7702 +++++++++++++++++ .../mission/resource-manager/readme.md | 162 + 159 files changed, 20436 insertions(+) create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_InitiatorCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_ListByParent.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json create mode 100644 specification/mission/Mission.Management/model.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/community/community.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp create mode 100644 specification/mission/Mission.Management/version.tsp create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_InitiatorCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_ListByParent.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json create mode 100644 specification/mission/resource-manager/readme.md diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..3b75cfa13d20 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_CreateOrUpdate.json @@ -0,0 +1,123 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Delete.json new file mode 100644 index 000000000000..0548b00dd0be --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Get.json new file mode 100644 index 000000000000..7f6802046826 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Get.json @@ -0,0 +1,54 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..2363d34b4659 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_ListByParent.json new file mode 100644 index 000000000000..630321ce8242 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_ListByParent.json @@ -0,0 +1,59 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Update.json new file mode 100644 index 000000000000..12bc1b9c620b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Update.json @@ -0,0 +1,85 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..71405756c1c5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "title": "CommunityEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..294721f35452 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..35525da9da3d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..a481c2474133 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..6ab0e2540638 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..25db6ed243f9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..f561d72d9e79 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_ApprovalCallback", + "title": "CommunityEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..d0c798f14de8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..6af06ff670ed --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,577 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "approvalSettings": { + "endpointCreation": "NotRequired", + "endpointUpdate": "Required", + "endpointDeletion": "NotRequired", + "connectionCreation": "Required", + "connectionUpdate": "Required", + "connectionUpdateMode": "Manual", + "connectionDeletion": "NotRequired", + "enclaveCreation": "NotRequired", + "enclaveDeletion": "NotRequired", + "maintenanceMode": "NotRequired", + "serviceCatalogDeployment": "NotRequired" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json new file mode 100644 index 000000000000..47295abde527 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json new file mode 100644 index 000000000000..5b9c2020c97c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json @@ -0,0 +1,218 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..f8cb19e9e4f4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,222 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..52f9e6563073 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json @@ -0,0 +1,221 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..3f50a5b624bb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-11-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json new file mode 100644 index 000000000000..d8ac00b04eb0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json @@ -0,0 +1,361 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..63fd67d015c5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..8954f2c43ad8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..39e950d99243 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..e038053f305c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..d2201b270011 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..99166e170255 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..fa6ff6986a59 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..d47f6694c9a7 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..a728647dfc90 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "title": "EnclaveEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..fc64900ddcc3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..f1a99653a16e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..459ad1c21041 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..293e453ce8e0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..c5a3d5578144 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..6fe02dbad243 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalCallback", + "title": "EnclaveEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..83868a31020c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..ea234f0b1819 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..9d44a8339371 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..87031a6db49b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..4e354c370b4c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..c9c267a5d84a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..651fe1309d72 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..8426317b007b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..b84630f98c24 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..00740b125212 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..95978b0eebd8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..d1772cc7b7ad --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..792e002e138f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..06f1547b53b8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..6a1e987578ef --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..76a4af7e3e41 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..a992032e70ae --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..76f8f77648e2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..d2ff78ea49d9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Operations_List.json new file mode 100644 index 000000000000..16fd01396361 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..bc2c20797e62 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..e5a54daabf04 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..e185a683be09 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..9ac043958e92 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..35a986a9f69b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..ed08cca87c04 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..7f420de13a52 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,329 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..628a62de4302 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..6d78c8706a8e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,129 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..6c5ffa48b710 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,133 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..6e485fdc569b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalCallback.json new file mode 100644 index 000000000000..d9ae75ee04a9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_ApprovalCallback", + "title": "VirtualEnclave_ApprovalCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json new file mode 100644 index 000000000000..ed1ad69344cd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_ApprovalDeletionCallback", + "title": "VirtualEnclave_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..3eb2db8a7c69 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,225 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..362495a003fc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..89fdfe748753 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Get.json new file mode 100644 index 000000000000..d81d82c776d2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..472362b6a194 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..6a6d80560dfd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json new file mode 100644 index 000000000000..6bf434684f3a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp new file mode 100644 index 000000000000..cadf79c74348 --- /dev/null +++ b/specification/mission/Mission.Management/model.tsp @@ -0,0 +1,527 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@typespec/openapi"; +import "@typespec/versioning"; +import "@azure-tools/typespec-autorest"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@azure-tools/typespec-client-generator-core"; + +import "./resourcetypes/community/community.tsp"; +import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; +import "./resourcetypes/workload/workload.tsp"; +import "./resourcetypes/catalog/catalog.tsp"; +import "./resourcetypes/endpoint/endpoint.tsp"; +import "./resourcetypes/internalConnection/internalConnection.tsp"; +import "./resourcetypes/externalConnection/externalConnection.tsp"; +import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; +import "./resourcetypes/transitHub/transitHub.tsp"; +import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; +import "./resourcetypes/communityEndpoint/communityEndpoint.tsp"; +import "./resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp"; +import "./resourcetypes/postActions/approvalcallback.tsp"; +import "./resourcetypes/approvals/approvals.tsp"; +import "./resourcetypes/postActions/initiatorcallback.tsp"; +import "./resourcetypes/postActions/approvaldeletioncallback.tsp"; + +using Azure.ClientGenerator.Core; +using Azure.Core; +using Azure.Core.Traits; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Rest; +using TypeSpec.Versioning; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Arm resource update successful") +model ArmUpdatedResponse + is ArmResponse; + +@doc("Community Model Resource") +model CommunityResource is TrackedResource { + @key("communityName") + @segment("communities") + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @path + @doc("The name of the communityResource Resource") + name: string; + + /** The managed service identity for this resource */ + ...ManagedServiceIdentityProperty; +} + +@@added(CommunityResource.identity, + Microsoft.Mission.Versions.v2024_06_01_preview +); + +@doc("Virtual Enclave Model Resource") +model EnclaveResource is TrackedResource { + @key("virtualEnclaveName") + @segment("virtualEnclaves") + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the enclaveResource Resource") + @path + name: string; + + /** The managed service identity for this resource */ + ...ManagedServiceIdentityProperty; +} + +@@added(EnclaveResource.identity, + Microsoft.Mission.Versions.v2024_06_01_preview +); + +@doc("Workload Model Resource") +@parentResource(EnclaveResource) +model WorkloadResource is TrackedResource { + @key("workloadName") + @segment("workloads") + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @path + @doc("The name of the workloadResource Resource") + name: string; +} + +#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." +@removed(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Catalog Model Resource") +model CatalogResource is TrackedResource { + @key("catalogName") + @segment("catalogs") + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the catalogResource Resource") + @path + name: string; +} + +@doc("Endpoint Model Resource") +@parentResource(EnclaveResource) +model EndpointResource is TrackedResource { + @key("endpointName") + @segment("endpoints") + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @path + @doc("The name of the endpointResource Resource") + name: string; +} + +@doc("Describes an Internal Connection.") +model InternalConnection is TrackedResource { + @key("internalConnectionName") + @segment("internalConnections") + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the internal connection.") + @path + name: string; +} + +@doc("Describes an External Connection.") +model ExternalConnection is TrackedResource { + @key("externalConnectionName") + @segment("externalConnections") + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the external connection.") + @path + name: string; +} + +@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("TransitHub Model Resource") +@parentResource(CommunityResource) +model TransitHubResource is TrackedResource { + @key("transitHubName") + @segment("transitHubs") + @path + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the TransitHub Resource") + name: string; +} + +@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("EnclaveConnection Model Resource") +model EnclaveConnectionResource + is TrackedResource { + @key("enclaveConnectionName") + @segment("enclaveConnections") + @path + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the Enclave Connection Resource") + name: string; +} + +@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("EnclaveEndpoint Model Resource") +@parentResource(EnclaveResource) +model EnclaveEndpointResource is TrackedResource { + @key("enclaveEndpointName") + @segment("enclaveEndpoints") + @path + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the Enclave Endpoint Resource") + name: string; +} + +@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("CommunityEndpoint Model Resource") +@parentResource(CommunityResource) +model CommunityEndpointResource + is TrackedResource { + @key("communityEndpointName") + @segment("communityEndpoints") + @path + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the Community Endpoint Resource") + name: string; +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Approval Model Resource") +model ApprovalResource is ExtensionResource { + @key("approvalName") + @segment("approvals") + @path + @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @doc("The name of the approvals resource.") + name: string; +} + +@doc("Workload Interface") +@armResourceOperations +interface Workload { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + WorkloadResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByEnclaveResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@doc("Endpoint Interface") +@armResourceOperations +interface Endpoint { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + EndpointResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByEnclaveResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@doc("Virtual Enclave Interface") +@armResourceOperations +interface VirtualEnclave { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + EnclaveResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @autoRoute + @doc("Checks that the IP Address Space to be allocated for this Virtual Enclave is available.") + @armResourceAction(EnclaveResource) + @post + @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) + checkAddressSpaceAvailability( + ...ResourceInstanceParameters, + + @doc("Check IP Address Space request body.") + @bodyRoot + checkAddressSpaceAvailabilityRequest: CheckAddressSpaceAvailabilityRequest, + ): ArmResponse | ErrorResponse; + + @doc("Callback that triggers on approval state change.") + @armResourceAction(EnclaveResource) + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + approvalCallback is ArmResourceActionAsync< + EnclaveResource, + ApprovalCallbackRequest, + ApprovalCallbackResponse + >; + @doc("Callback that triggers on approval deletion state change.") + @armResourceAction(EnclaveResource) + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + approvalDeletionCallback is ArmResourceActionAsync< + EnclaveResource, + ApprovalDeletionCallbackRequest, + ApprovalDeletionCallbackResponse + >; +} + +@doc("Community Interface") +@armResourceOperations +interface Community { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + CommunityResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @autoRoute + @doc("Checks that the IP Address Space to be allocated for this Community is available.") + @armResourceAction(CommunityResource) + @post + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + checkAddressSpaceAvailability( + ...ResourceInstanceParameters, + + @doc("Check IP Address Space request body.") + @bodyRoot + checkAddressSpaceAvailabilityRequest: CheckAddressSpaceAvailabilityRequest, + ): ArmResponse | ErrorResponse; +} + +#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." +@removed(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Catalog Interface") +@armResourceOperations +@renamedFrom(Microsoft.Mission.Versions.v2024_06_01_preview, "Catalog") +interface CatalogInterface { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + CatalogResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@doc("Internal Connections") +@armResourceOperations +interface InternalConnections { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + InternalConnection, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync< + InternalConnection, + InternalConnectionProperties + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("TransitHub Interface") +@armResourceOperations +interface TransitHub { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + TransitHubResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByCommunityResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("Enclave Connection Interface") +@armResourceOperations +interface EnclaveConnection { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + EnclaveConnectionResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync< + EnclaveConnectionResource, + EnclaveConnectionProperties + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @doc("Callback that triggers on approval state change.") + @armResourceAction(EnclaveConnectionResource) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + approvalCallback is ArmResourceActionAsync< + EnclaveConnectionResource, + ApprovalCallbackRequest, + ApprovalCallbackResponse + >; + @doc("Callback that triggers on approval deletion state change.") + @armResourceAction(EnclaveConnectionResource) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + approvalDeletionCallback is ArmResourceActionAsync< + EnclaveConnectionResource, + ApprovalDeletionCallbackRequest, + ApprovalDeletionCallbackResponse + >; +} + +@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("Enclave Endpoint Interface") +@armResourceOperations +interface EnclaveEndpoints { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + EnclaveEndpointResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync< + EnclaveEndpointResource, + EnclaveEndpointProperties + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByEnclaveResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @doc("Callback that triggers on approval state change.") + @armResourceAction(EnclaveEndpointResource) + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + approvalCallback is ArmResourceActionAsync< + EnclaveEndpointResource, + ApprovalCallbackRequest, + ApprovalCallbackResponse + >; + @doc("Callback that triggers on approval deletion state change.") + @armResourceAction(EnclaveEndpointResource) + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + approvalDeletionCallback is ArmResourceActionAsync< + EnclaveEndpointResource, + ApprovalDeletionCallbackRequest, + ApprovalDeletionCallbackResponse + >; +} + +@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("Community Endpoint Interface") +@armResourceOperations +interface CommunityEndpoints { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + CommunityEndpointResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync< + CommunityEndpointResource, + CommunityEndpointProperties + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByCommunityResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @doc("Callback that triggers on approval state change.") + @armResourceAction(CommunityEndpointResource) + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + approvalCallback is ArmResourceActionAsync< + CommunityEndpointResource, + ApprovalCallbackRequest, + ApprovalCallbackResponse + >; + @doc("Callback that triggers on approval deletion state change.") + @armResourceAction(CommunityEndpointResource) + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + approvalDeletionCallback is ArmResourceActionAsync< + CommunityEndpointResource, + ApprovalDeletionCallbackRequest, + ApprovalDeletionCallbackResponse + >; +} + +@doc("External Connections") +@armResourceOperations +interface ExternalConnections { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + ExternalConnection, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmResourcePatchAsync< + ExternalConnection, + ExternalConnectionProperties + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Approval Interface") +@armResourceOperations +interface Approval { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + ApprovalResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + listByParent is ArmResourceListByParent; + update is ArmResourcePatchAsync; + delete is ArmResourceDeleteWithoutOkAsync; + @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") + @armResourceAction(ApprovalResource) + initiatorCallback is ArmResourceActionAsync< + ApprovalResource, + InitiatorCallbackRequest, + InitiatorCallbackResponse + >; +} diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp new file mode 100644 index 000000000000..26c17721d021 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -0,0 +1,107 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "../shared/resourceid.tsp"; +import "../shared/provisioningstate.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." +@doc("Approval Status Enum") +union ApprovalStatus { + @doc("ApprovalStatus Type Approved") + Approved: "Approved", + + @doc("ApprovalStatus Type Rejected") + Rejected: "Rejected", + + @doc("ApprovalStatus Type Pending") + Pending: "Pending", + + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @doc("ApprovalStatus Type Deleted") + Deleted: "Deleted", + + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @doc("ApprovalStatus Type Expired") + Expired: "Expired", + + string, +} + +@doc("Specifies the action performed by the approver") +union ActionPerformed { + @doc("ActionPerformed Type Approved") + Approved: "Approved", + + @doc("ActionPerformed Type Rejected") + Rejected: "Rejected", + + string, +} + +@doc("Request Metadata for approvals request.") +model RequestMetadata { + @doc("Resource Action of the item being approved or declined.") + resourceAction: string; + + @doc("Approval status.") + approvalStatus?: ApprovalStatus; + + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @doc("Route name for the approval callback") + approvalCallbackRoute: string; + + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @doc("Payload to be sent upon any action on approval request") + approvalCallbackPayload?: string; +} + +@doc("Approver Metadata for approvals request.") +model Approvers { + @doc("EntraId of the approver") + approverEntraId: string; + + @doc("Action Performed by approver") + actionPerformed: ActionPerformed; + + @doc("approval request last updated at") + lastUpdatedAt: utcDateTime; +} + +@doc("Approvals Resource Properties") +model ApprovalProperties { + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("Parameter for optimizing query results") + parent1?: string; + + @doc("Parameter for optimizing query results") + parent2?: string; + + @doc("Request metadata for the approval request.") + requestMetadata: RequestMetadata; + + @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) + @doc("List of approvers for the approval request") + approvers?: Approvers[]; + + @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) + @doc("List of mandatory approvers for the approval request") + mandatoryApprovers?: Approvers[]; + + @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @doc("Minimum number of approvers required for the approval request") + minimumApproversRequired?: int64; +} diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp new file mode 100644 index 000000000000..71da0b7de405 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -0,0 +1,214 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../shared/resourceid.tsp"; +import "../shared/managedresourcegroupconfiguration.tsp"; +import "../shared/roleassignmentitem.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." +@removed(Microsoft.Mission.Versions.v2023_08_01_preview) +@doc("EnclaveListItem Properties") +model EnclaveListItem { + @doc("virtual enclave name.") + name?: string; + + @doc("virtual enclaves resource id.") + id?: VirtualEnclaveResourceId; + + @doc("creation datetime.") + creationDatetime?: string; + + @doc("created by.") + createdBy?: string; + + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; +} + +@doc("Identifier for governed services.") +union ServiceIdentifier { + @doc("Service identifier for AKS") + AKS: "AKS", + + @doc("Service identifier for App Service") + AppService: "AppService", + + @doc("Service identifier for Azure Firewalls") + AzureFirewalls: "AzureFirewalls", + + @doc("Service identifier for Container Registry") + ContainerRegistry: "ContainerRegistry", + + @doc("Service identifier for CosmosDB") + CosmosDB: "CosmosDB", + + @doc("Service identifier for Data Connectors") + DataConnectors: "DataConnectors", + + @doc("Service identifier for Insights") + Insights: "Insights", + + @doc("Service identifier for Key Vault") + KeyVault: "KeyVault", + + @doc("Service identifier for Logic") + Logic: "Logic", + + @doc("Service identifier for Microsoft SQL") + MicrosoftSql: "MicrosoftSQL", + + @doc("Service identifier for Monitoring") + Monitoring: "Monitoring", + + @doc("Service identifier for PostgreSQL") + PostgreSql: "PostgreSQL", + + @doc("Service identifier for Private DNS Zones") + PrivateDNSZones: "PrivateDNSZones", + + @doc("Service identifier for Service Bus") + ServiceBus: "ServiceBus", + + @doc("Service identifier for Storage") + Storage: "Storage", + + string, +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("GovernedServiceItem Properties") +model GovernedServiceItem { + @doc("service id") + id: ServiceIdentifier; + + @doc("service name") + @visibility("read") + name?: string; + + @doc("governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).") + option?: "Allow" | "Deny" | "ExceptionOnly" | "NotApplicable" | string; + + @doc("initiative enforcement (Enabled or Disabled).") + enforcement?: "Enabled" | "Disabled" | string; + + @doc("policies set to auditOnly (True or False).") + auditOnly?: boolean; + + @doc("initiatives associated with this service") + @visibility("read") + initiatives?: string[]; +} + +@added(Microsoft.Mission.Versions.v2024_11_01_preview) +@doc("Approval Policy.") +union ApprovalPolicy { + string, + + @doc("Approval will be required for the specified action.") + Required: "Required", + + @doc("Approval will not be required for the specified action.") + NotRequired: "NotRequired", +} + +@added(Microsoft.Mission.Versions.v2024_11_01_preview) +@doc("ApprovalSettings Properties") +model ApprovalSettings { + @doc("Approval required for endpoint creation (Required or NotRequired).") + endpointCreation?: ApprovalPolicy; + + @doc("Approval required for endpoint update (Required or NotRequired).") + endpointUpdate?: ApprovalPolicy; + + @doc("Approval required for endpoint deletion (Required or NotRequired).") + endpointDeletion?: ApprovalPolicy; + + @doc("Approval required for enclave connection creation (Required or NotRequired).") + connectionCreation?: ApprovalPolicy; + + @doc("Approval required for enclave connection update (Required or NotRequired).") + connectionUpdate?: ApprovalPolicy; + + @doc("Behavior of enclave connection update workflow after endpoint update is approved (Automatic or Manual).") + connectionUpdateMode?: "Automatic" | "Manual" | string; + + @doc("Approval required for enclave connection deletion (Required or NotRequired).") + connectionDeletion?: ApprovalPolicy; + + @doc("Approval required for virtual enclave creation (Required or NotRequired).") + enclaveCreation?: ApprovalPolicy; + + @doc("Approval required for virtual enclave deletion (Required or NotRequired).") + enclaveDeletion?: ApprovalPolicy; + + @doc("Approval required for toggling maintenance mode (Required or NotRequired).") + maintenanceMode?: ApprovalPolicy; + + @doc("Approval required for deploying service catalog templates (Required or NotRequired).") + serviceCatalogDeployment?: ApprovalPolicy; +} + +@doc("Community Resource Properties") +model CommunityProperties { + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Community Description.") + description?: string; + + @doc("Address Space.") + addressSpace?: string; + + @doc("Dns Servers.") + dnsServers?: string[]; + + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("List of resource ids created by communities.") + resourceCollection?: string[]; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("List of virtual enclaves that a community contains.") + virtualEnclaveList?: EnclaveListItem[]; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Dictionary of virtual enclaves that a community contains.") + virtualEnclaveCollection?: Record; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Managed resource group configuration.") + managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("List of services governed by a community.") + governedServiceList?: GovernedServiceItem[]; + + @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_10_01_preview) + @doc("Community role assignments") + communityRoleAssignments?: RoleAssignmentItem[]; + + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @doc("Approval requirements for various actions on the community's resources.") + approvalSettings?: ApprovalSettings; +} diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp new file mode 100644 index 000000000000..1f342693ab92 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp @@ -0,0 +1,36 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Request body for calling post-action") +model ApprovalCallbackRequest { + @removed(Microsoft.Mission.Versions.v2024_11_01_preview) + @doc("Resource Id of the item being approved or rejected") + resourceId: string; + + @doc("Resource request action indicating action which needed to be performed upon calling approval-callback post action") + resourceRequestAction: "Create" | "Delete" | "Update" | "Reset" | string; + + @doc("Approval status indicating 'Approved' or 'Rejected'") + approvalStatus: "Approved" | "Rejected" | string; + + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @doc("Payload requested by client upon approval action") + approvalCallbackPayload?: string; +} + +@doc("Response body after handling of approvalCallbackRequest") +model ApprovalCallbackResponse { + @doc("Confirmation message indicating the result of the operation.") + message: string; +} diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp new file mode 100644 index 000000000000..b93251540076 --- /dev/null +++ b/specification/mission/Mission.Management/version.tsp @@ -0,0 +1,50 @@ +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-resource-manager"; + +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@versioned(Microsoft.Mission.Versions) +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Supported API versions for the Microsoft.Mission resource provider.") +enum Versions { + @doc("The 2023-02-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_02_01_preview: "2023-02-01-preview", + + @doc("The 2023-08-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_08_01_preview: "2023-08-01-preview", + + @doc("The 2023-11-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_11_01_preview: "2023-11-01-preview", + + @doc("The 2024-01-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2024_01_01_preview: "2024-01-01-preview", + + @doc("The 2024-06-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_06_01_preview: "2024-06-01-preview", + + @doc("The 2024-10-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_10_01_preview: "2024-10-01-preview", + + @doc("The 2024-11-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_11_01_preview: "2024-11-01-preview", +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..3b75cfa13d20 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_CreateOrUpdate.json @@ -0,0 +1,123 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Delete.json new file mode 100644 index 000000000000..0548b00dd0be --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Get.json new file mode 100644 index 000000000000..7f6802046826 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Get.json @@ -0,0 +1,54 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..2363d34b4659 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_ListByParent.json new file mode 100644 index 000000000000..630321ce8242 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_ListByParent.json @@ -0,0 +1,59 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Update.json new file mode 100644 index 000000000000..12bc1b9c620b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Update.json @@ -0,0 +1,85 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..71405756c1c5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "title": "CommunityEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..294721f35452 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..35525da9da3d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..a481c2474133 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..6ab0e2540638 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..25db6ed243f9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..f561d72d9e79 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_ApprovalCallback", + "title": "CommunityEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..d0c798f14de8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..6af06ff670ed --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,577 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "approvalSettings": { + "endpointCreation": "NotRequired", + "endpointUpdate": "Required", + "endpointDeletion": "NotRequired", + "connectionCreation": "Required", + "connectionUpdate": "Required", + "connectionUpdateMode": "Manual", + "connectionDeletion": "NotRequired", + "enclaveCreation": "NotRequired", + "enclaveDeletion": "NotRequired", + "maintenanceMode": "NotRequired", + "serviceCatalogDeployment": "NotRequired" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..47295abde527 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..5b9c2020c97c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json @@ -0,0 +1,218 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..f8cb19e9e4f4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,222 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..52f9e6563073 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,221 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..3f50a5b624bb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-11-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..d8ac00b04eb0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json @@ -0,0 +1,361 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..63fd67d015c5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..8954f2c43ad8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..39e950d99243 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..e038053f305c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..d2201b270011 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..99166e170255 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..fa6ff6986a59 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..d47f6694c9a7 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..a728647dfc90 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "title": "EnclaveEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..fc64900ddcc3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..f1a99653a16e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..459ad1c21041 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..293e453ce8e0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..c5a3d5578144 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..6fe02dbad243 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalCallback", + "title": "EnclaveEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..83868a31020c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..ea234f0b1819 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..9d44a8339371 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..87031a6db49b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..4e354c370b4c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..c9c267a5d84a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..651fe1309d72 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..8426317b007b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..b84630f98c24 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..00740b125212 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..95978b0eebd8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..d1772cc7b7ad --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..792e002e138f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..06f1547b53b8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..6a1e987578ef --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..76a4af7e3e41 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..a992032e70ae --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..76f8f77648e2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..d2ff78ea49d9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..16fd01396361 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..bc2c20797e62 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..e5a54daabf04 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..e185a683be09 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..9ac043958e92 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..35a986a9f69b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..ed08cca87c04 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..7f420de13a52 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,329 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..628a62de4302 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..6d78c8706a8e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,129 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..6c5ffa48b710 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,133 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..6e485fdc569b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalCallback.json new file mode 100644 index 000000000000..d9ae75ee04a9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_ApprovalCallback", + "title": "VirtualEnclave_ApprovalCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json new file mode 100644 index 000000000000..ed1ad69344cd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_ApprovalDeletionCallback", + "title": "VirtualEnclave_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..3eb2db8a7c69 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,225 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..362495a003fc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..89fdfe748753 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..d81d82c776d2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..472362b6a194 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..6a6d80560dfd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..6bf434684f3a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json new file mode 100644 index 000000000000..8d5d32bf6369 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -0,0 +1,7702 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2024-11-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + }, + { + "name": "Approval" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.Mission/approvals": { + "get": { + "operationId": "Approval_ListByParent", + "tags": [ + "Approval" + ], + "description": "List ApprovalResource resources by parent", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_ListByParent": { + "$ref": "./examples/Approvals_ListByParent.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { + "get": { + "operationId": "Approval_Get", + "tags": [ + "Approval" + ], + "description": "Get a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Get": { + "$ref": "./examples/Approvals_Get.json" + } + } + }, + "put": { + "operationId": "Approval_CreateOrUpdate", + "tags": [ + "Approval" + ], + "description": "Create a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApprovalResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "201": { + "description": "Resource 'ApprovalResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_CreateOrUpdate": { + "$ref": "./examples/Approvals_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Approval_Update", + "tags": [ + "Approval" + ], + "description": "Update a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Approval_Delete", + "tags": [ + "Approval" + ], + "description": "Delete a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { + "post": { + "operationId": "Approval_InitiatorCallback", + "tags": [ + "Approval" + ], + "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/InitiatorCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InitiatorCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_InitiatorCallback": { + "$ref": "./examples/Approvals_InitiatorCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", + "tags": [ + "Community" + ], + "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalCallback": { + "post": { + "operationId": "CommunityEndpoints_ApprovalCallback", + "tags": [ + "CommunityEndpoints" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ApprovalCallback": { + "$ref": "./examples/CommunityEndpoints_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalDeletionCallback": { + "post": { + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "tags": [ + "CommunityEndpoints" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/CommunityEndpoints_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalCallback": { + "post": { + "operationId": "VirtualEnclave_ApprovalCallback", + "tags": [ + "VirtualEnclave" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ApprovalCallback": { + "$ref": "./examples/VirtualEnclave_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalDeletionCallback": { + "post": { + "operationId": "VirtualEnclave_ApprovalDeletionCallback", + "tags": [ + "VirtualEnclave" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ApprovalDeletionCallback": { + "$ref": "./examples/VirtualEnclave_PostApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { + "post": { + "operationId": "EnclaveEndpoints_ApprovalCallback", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ApprovalCallback": { + "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ActionPerformed": { + "type": "string", + "description": "Specifies the action performed by the approver", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "ActionPerformed", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ActionPerformed Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ActionPerformed Type Rejected" + } + ] + } + }, + "ApprovalCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", + "enum": [ + "Create", + "Delete", + "Update", + "Reset" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload requested by client upon approval action" + } + }, + "required": [ + "resourceRequestAction", + "approvalStatus" + ] + }, + "ApprovalCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalDeletionCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", + "enum": [ + "Create", + "Delete", + "Update" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceRequestAction" + ] + }, + "ApprovalDeletionCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalDeletionCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalPolicy": { + "type": "string", + "description": "Approval Policy.", + "enum": [ + "Required", + "NotRequired" + ], + "x-ms-enum": { + "name": "ApprovalPolicy", + "modelAsString": true, + "values": [ + { + "name": "Required", + "value": "Required", + "description": "Approval will be required for the specified action." + }, + { + "name": "NotRequired", + "value": "NotRequired", + "description": "Approval will not be required for the specified action." + } + ] + } + }, + "ApprovalProperties": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "minimumApproversRequired": { + "type": "integer", + "format": "int64", + "description": "Minimum number of approvers required for the approval request" + } + }, + "required": [ + "requestMetadata" + ] + }, + "ApprovalPropertiesUpdate": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdate", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "minimumApproversRequired": { + "type": "integer", + "format": "int64", + "description": "Minimum number of approvers required for the approval request" + } + } + }, + "ApprovalResource": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalResourceListResult": { + "type": "object", + "description": "The response of a ApprovalResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApprovalResource items on this page", + "items": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalSettings": { + "type": "object", + "description": "ApprovalSettings Properties", + "properties": { + "endpointCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint creation (Required or NotRequired)." + }, + "endpointUpdate": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint update (Required or NotRequired)." + }, + "endpointDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint deletion (Required or NotRequired)." + }, + "connectionCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection creation (Required or NotRequired)." + }, + "connectionUpdate": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection update (Required or NotRequired)." + }, + "connectionUpdateMode": { + "type": "string", + "description": "Behavior of enclave connection update workflow after endpoint update is approved (Automatic or Manual).", + "enum": [ + "Automatic", + "Manual" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "connectionDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection deletion (Required or NotRequired)." + }, + "enclaveCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for virtual enclave creation (Required or NotRequired)." + }, + "enclaveDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for virtual enclave deletion (Required or NotRequired)." + }, + "maintenanceMode": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for toggling maintenance mode (Required or NotRequired)." + }, + "serviceCatalogDeployment": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for deploying service catalog templates (Required or NotRequired)." + } + } + }, + "ApprovalStatus": { + "type": "string", + "description": "Approval Status Enum", + "enum": [ + "Approved", + "Rejected", + "Pending", + "Deleted", + "Expired" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "ApprovalStatus Type Deleted" + }, + { + "name": "Expired", + "value": "Expired", + "description": "ApprovalStatus Type Expired" + } + ] + } + }, + "Approvers": { + "type": "object", + "description": "Approver Metadata for approvals request.", + "properties": { + "approverEntraId": { + "type": "string", + "description": "EntraId of the approver" + }, + "actionPerformed": { + "$ref": "#/definitions/ActionPerformed", + "description": "Action Performed by approver" + }, + "lastUpdatedAt": { + "type": "string", + "format": "date-time", + "description": "approval request last updated at" + } + }, + "required": [ + "approverEntraId", + "actionPerformed", + "lastUpdatedAt" + ] + }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "DiagnosticDestination": { + "type": "string", + "description": "Specifies the destination of where to store diagnostic logs.", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + } + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + }, + "logAnalyticsResourceIdCollection": { + "type": "array", + "description": "Log Analytics Resource Ids.", + "items": { + "$ref": "#/definitions/LogAnalyticsResourceId" + } + }, + "diagnosticDestination": { + "$ref": "#/definitions/DiagnosticDestination", + "description": "Diagnostic Destination." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointPropertiesUpdate": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "GovernedServiceItem": { + "type": "object", + "description": "GovernedServiceItem Properties", + "properties": { + "id": { + "$ref": "#/definitions/ServiceIdentifier", + "description": "service id" + }, + "name": { + "type": "string", + "description": "service name", + "readOnly": true + }, + "option": { + "type": "string", + "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "enum": [ + "Allow", + "Deny", + "ExceptionOnly", + "NotApplicable" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "enforcement": { + "type": "string", + "description": "initiative enforcement (Enabled or Disabled).", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "auditOnly": { + "type": "boolean", + "description": "policies set to auditOnly (True or False)." + }, + "initiatives": { + "type": "array", + "description": "initiatives associated with this service", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "id" + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InitiatorCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "InitiatorCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "MaintenanceModeConfiguration": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "mode" + ] + }, + "MaintenanceModeConfigurationUpdate": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "Principal": { + "type": "object", + "description": "Principal for maintenance mode or role assignments", + "properties": { + "id": { + "type": "string", + "description": "The object id associated with the principal" + }, + "type": { + "type": "string", + "description": "The type of the object id. We currently allow users, groups, and service principals", + "enum": [ + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "id", + "type" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "RequestMetadata": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + }, + "approvalCallbackRoute": { + "type": "string", + "description": "Route name for the approval callback" + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload to be sent upon any action on approval request" + } + }, + "required": [ + "resourceAction", + "approvalCallbackRoute" + ] + }, + "RequestMetadataUpdate": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + }, + "approvalCallbackRoute": { + "type": "string", + "description": "Route name for the approval callback" + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload to be sent upon any action on approval request" + } + } + }, + "RoleAssignmentItem": { + "type": "object", + "description": "Role assignment item that indicates which principals should be assigned this role definition", + "properties": { + "id": { + "type": "string", + "description": "Role definition identifier" + }, + "principals": { + "type": "array", + "description": "List of principal IDs to which to assign this role definition", + "items": { + "$ref": "#/definitions/Principal" + } + } + }, + "required": [ + "id" + ] + }, + "ServiceIdentifier": { + "type": "string", + "description": "Identifier for governed services.", + "enum": [ + "AKS", + "AppService", + "AzureFirewalls", + "ContainerRegistry", + "CosmosDB", + "DataConnectors", + "Insights", + "KeyVault", + "Logic", + "MicrosoftSQL", + "Monitoring", + "PostgreSQL", + "PrivateDNSZones", + "ServiceBus", + "Storage" + ], + "x-ms-enum": { + "name": "ServiceIdentifier", + "modelAsString": true, + "values": [ + { + "name": "AKS", + "value": "AKS", + "description": "Service identifier for AKS" + }, + { + "name": "AppService", + "value": "AppService", + "description": "Service identifier for App Service" + }, + { + "name": "AzureFirewalls", + "value": "AzureFirewalls", + "description": "Service identifier for Azure Firewalls" + }, + { + "name": "ContainerRegistry", + "value": "ContainerRegistry", + "description": "Service identifier for Container Registry" + }, + { + "name": "CosmosDB", + "value": "CosmosDB", + "description": "Service identifier for CosmosDB" + }, + { + "name": "DataConnectors", + "value": "DataConnectors", + "description": "Service identifier for Data Connectors" + }, + { + "name": "Insights", + "value": "Insights", + "description": "Service identifier for Insights" + }, + { + "name": "KeyVault", + "value": "KeyVault", + "description": "Service identifier for Key Vault" + }, + { + "name": "Logic", + "value": "Logic", + "description": "Service identifier for Logic" + }, + { + "name": "MicrosoftSql", + "value": "MicrosoftSQL", + "description": "Service identifier for Microsoft SQL" + }, + { + "name": "Monitoring", + "value": "Monitoring", + "description": "Service identifier for Monitoring" + }, + { + "name": "PostgreSql", + "value": "PostgreSQL", + "description": "Service identifier for PostgreSQL" + }, + { + "name": "PrivateDNSZones", + "value": "PrivateDNSZones", + "description": "Service identifier for Private DNS Zones" + }, + { + "name": "ServiceBus", + "value": "ServiceBus", + "description": "Service identifier for Service Bus" + }, + { + "name": "Storage", + "value": "Storage", + "description": "Service identifier for Storage" + } + ] + } + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "SubnetConfiguration": { + "type": "object", + "description": "Subnet Configuration", + "properties": { + "name": { + "type": "string", + "description": "Subnet name." + }, + "id": { + "type": "string", + "format": "arm-id", + "description": "Subnet ID.", + "readOnly": true + }, + "networkPrefixSize": { + "type": "integer", + "format": "int32", + "description": "Network prefix size." + }, + "subnetDelegation": { + "type": "string", + "description": "Subnet delegation." + }, + "addressPrefix": { + "type": "string", + "description": "Address prefix.", + "readOnly": true + }, + "networkSecurityGroupId": { + "type": "string", + "format": "arm-id", + "description": "Network security group ID.", + "readOnly": true + } + }, + "required": [ + "name", + "networkPrefixSize" + ] + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md new file mode 100644 index 000000000000..ac34a7d69d25 --- /dev/null +++ b/specification/mission/resource-manager/readme.md @@ -0,0 +1,162 @@ +# mission + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for mission. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the mission. + +```yaml +title: missionClient +openapi-type: arm +openapi-subtype: rpaas +tag: package-2024-11-01-preview +``` + +### Tag: package-2024-11-01-preview + +These settings apply only when `--tag=package-2024-11-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-11-01-preview' +input-file: + - Microsoft.Mission/preview/2024-11-01-preview/openapi.json +``` + +### Tag: package-2024-10-01-preview + +These settings apply only when `--tag=package-2024-10-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-10-01-preview' +input-file: + - Microsoft.Mission/preview/2024-10-01-preview/openapi.json +``` + +### Tag: package-2024-06-01-preview + +These settings apply only when `--tag=package-2024-06-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-06-01-preview' +input-file: + - Microsoft.Mission/preview/2024-06-01-preview/openapi.json +``` + +### Tag: package-2024-01-01-preview + +These settings apply only when `--tag=package-2024-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-01-01-preview' +input-file: + - Microsoft.Mission/preview/2024-01-01-preview/openapi.json +``` + +### Tag: package-2023-11-01-preview + +These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-11-01-preview' +input-file: + - Microsoft.Mission/preview/2023-11-01-preview/openapi.json +``` + +### Tag: package-2023-08-01-preview + +These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-08-01-preview' +input-file: + - Microsoft.Mission/preview/2023-08-01-preview/openapi.json +``` + +### Tag: package-2023-02-01-preview + +These settings apply only when `--tag=package-2023-02-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-02-01-preview' +input-file: + - Microsoft.Mission/preview/2023-02-01-preview/openapi.json +``` +--- + +### Tag: package-2022-12-07-preview + +These settings apply only when `--tag=package-2022-12-07-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-12-07-preview' +input-file: + - Microsoft.Mission/preview/2022-12-07-preview/openapi.json +``` +--- + +### Tag: package-2022-10-31-preview + +These settings apply only when `--tag=package-2022-10-31-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-10-31-preview' +input-file: + - Microsoft.Mission/preview/2022-10-31-preview/openapi.json +``` +--- + +### Tag: package-2022-08-02-preview + +These settings apply only when `--tag=package-2022-08-02-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-08-02-preview' +input-file: + - Microsoft.Mission/preview/2022-08-02-preview/openapi.json +``` +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +```yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python-track2 + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go-track2 + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-cli-extensions +``` +## Az + +See configuration in [readme.az.md](./readme.az.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) \ No newline at end of file From ce4296fff3dde82a40a852e6924cbab183e2adf8 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Tue, 10 Dec 2024 08:32:49 -0600 Subject: [PATCH 02/89] Added missing files --- .../Approvals_CreateOrUpdate.json | 72 + .../2024-06-01-preview/Approvals_Delete.json | 25 + .../2024-06-01-preview/Approvals_Get.json | 37 + .../Approvals_InitiatorCallback.json | 28 + .../Approvals_ListByParent.json | 42 + .../2024-06-01-preview/Approvals_Update.json | 51 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../CommunityEndpoints_Update.json | 69 + .../Community_CreateOrUpdate.json | 492 ++ .../2024-06-01-preview/Community_Delete.json | 25 + .../2024-06-01-preview/Community_Get.json | 194 + .../Community_ListByResourceGroup.json | 198 + .../Community_ListBySubscription.json | 197 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../2024-06-01-preview/Community_Update.json | 313 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../EnclaveEndpoints_Update.json | 67 + .../Endpoint_CreateOrUpdate.json | 92 + .../2024-06-01-preview/Endpoint_Delete.json | 26 + .../2024-06-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2024-06-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2024-06-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2024-06-01-preview/TransitHub_Delete.json | 26 + .../2024-06-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2024-06-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 197 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 85 + .../VirtualEnclave_ListByResourceGroup.json | 89 + .../VirtualEnclave_ListBySubscription.json | 88 + .../VirtualEnclave_Update.json | 137 + .../Workload_CreateOrUpdate.json | 71 + .../2024-06-01-preview/Workload_Delete.json | 26 + .../2024-06-01-preview/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../Workload_ListBySubscription.json | 41 + .../2024-06-01-preview/Workload_Update.json | 53 + .../Approvals_CreateOrUpdate.json | 117 + .../2024-10-01-preview/Approvals_Delete.json | 25 + .../2024-10-01-preview/Approvals_Get.json | 52 + .../Approvals_InitiatorCallback.json | 28 + .../Approvals_ListByParent.json | 57 + .../2024-10-01-preview/Approvals_Update.json | 81 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../CommunityEndpoints_Update.json | 69 + .../Community_CreateOrUpdate.json | 564 ++ .../2024-10-01-preview/Community_Delete.json | 25 + .../2024-10-01-preview/Community_Get.json | 218 + .../Community_ListByResourceGroup.json | 222 + .../Community_ListBySubscription.json | 221 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../2024-10-01-preview/Community_Update.json | 361 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../EnclaveEndpoints_Update.json | 67 + .../Endpoint_CreateOrUpdate.json | 92 + .../2024-10-01-preview/Endpoint_Delete.json | 26 + .../2024-10-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2024-10-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2024-10-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2024-10-01-preview/TransitHub_Delete.json | 26 + .../2024-10-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2024-10-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 329 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 129 + .../VirtualEnclave_ListByResourceGroup.json | 133 + .../VirtualEnclave_ListBySubscription.json | 132 + .../VirtualEnclave_Update.json | 225 + .../Workload_CreateOrUpdate.json | 71 + .../2024-10-01-preview/Workload_Delete.json | 26 + .../2024-10-01-preview/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../Workload_ListBySubscription.json | 41 + .../2024-10-01-preview/Workload_Update.json | 53 + .../mission/Mission.Management/main.tsp | 38 + .../resourcetypes/catalog/catalog.tsp | 76 + .../communityEndpoint/communityEndpoint.tsp | 126 + .../enclaveConnection/enclaveConnection.tsp | 70 + .../enclaveEndpoint/enclaveEndpoint.tsp | 91 + .../resourcetypes/endpoint/endpoint.tsp | 78 + .../externalConnection/externalConnection.tsp | 52 + .../internalConnection/internalConnection.tsp | 85 + .../postActions/approvaldeletioncallback.tsp | 22 + .../checkaddressspaceavailability.tsp | 30 + .../postActions/initiatorcallback.tsp | 24 + .../resourcetypes/shared/endpointrulebase.tsp | 14 + .../managedresourcegroupconfiguration.tsp | 11 + .../resourcetypes/shared/principal.tsp | 16 + .../shared/provisioningstate.tsp | 47 + .../resourcetypes/shared/resourceid.tsp | 96 + .../shared/roleassignmentitem.tsp | 16 + .../resourcetypes/transitHub/transitHub.tsp | 83 + .../virtualEnclave/virtualenclave.tsp | 186 + .../resourcetypes/workload/workload.tsp | 49 + .../mission/Mission.Management/tspconfig.yaml | 15 + .../examples/Approvals_CreateOrUpdate.json | 72 + .../examples/Approvals_Delete.json | 25 + .../examples/Approvals_Get.json | 37 + .../examples/Approvals_InitiatorCallback.json | 28 + .../examples/Approvals_ListByParent.json | 42 + .../examples/Approvals_Update.json | 51 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../examples/CommunityEndpoints_Update.json | 69 + .../examples/Community_CreateOrUpdate.json | 492 ++ .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 194 + .../Community_ListByResourceGroup.json | 198 + .../Community_ListBySubscription.json | 197 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../examples/Community_Update.json | 313 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../examples/EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../examples/EnclaveEndpoints_Update.json | 67 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 197 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 85 + .../VirtualEnclave_ListByResourceGroup.json | 89 + .../VirtualEnclave_ListBySubscription.json | 88 + .../examples/VirtualEnclave_Update.json | 137 + .../examples/Workload_CreateOrUpdate.json | 71 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../examples/Workload_ListBySubscription.json | 41 + .../examples/Workload_Update.json | 53 + .../preview/2024-06-01-preview/openapi.json | 6960 ++++++++++++++++ .../examples/Approvals_CreateOrUpdate.json | 117 + .../examples/Approvals_Delete.json | 25 + .../examples/Approvals_Get.json | 52 + .../examples/Approvals_InitiatorCallback.json | 28 + .../examples/Approvals_ListByParent.json | 57 + .../examples/Approvals_Update.json | 81 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../examples/CommunityEndpoints_Update.json | 69 + .../examples/Community_CreateOrUpdate.json | 564 ++ .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 218 + .../Community_ListByResourceGroup.json | 222 + .../Community_ListBySubscription.json | 221 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../examples/Community_Update.json | 361 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../examples/EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../examples/EnclaveEndpoints_Update.json | 67 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 329 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 129 + .../VirtualEnclave_ListByResourceGroup.json | 133 + .../VirtualEnclave_ListBySubscription.json | 132 + .../examples/VirtualEnclave_Update.json | 225 + .../examples/Workload_CreateOrUpdate.json | 71 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../examples/Workload_ListBySubscription.json | 41 + .../examples/Workload_Update.json | 53 + .../preview/2024-10-01-preview/openapi.json | 7113 +++++++++++++++++ .../mission/resource-manager/readme.az.md | 28 + .../mission/resource-manager/readme.cli.md | 1 + .../mission/resource-manager/readme.csharp.md | 15 + .../mission/resource-manager/readme.go.md | 11 + .../mission/resource-manager/readme.python.md | 18 + .../resource-manager/readme.typescript.md | 14 + 309 files changed, 36575 insertions(+) create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json create mode 100644 specification/mission/Mission.Management/main.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/postActions/approvaldeletioncallback.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/postActions/initiatorcallback.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/endpointrulebase.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/principal.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/provisioningstate.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/workload/workload.tsp create mode 100644 specification/mission/Mission.Management/tspconfig.yaml create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json create mode 100644 specification/mission/resource-manager/readme.az.md create mode 100644 specification/mission/resource-manager/readme.cli.md create mode 100644 specification/mission/resource-manager/readme.csharp.md create mode 100644 specification/mission/resource-manager/readme.go.md create mode 100644 specification/mission/resource-manager/readme.python.md create mode 100644 specification/mission/resource-manager/readme.typescript.md diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..1cac517c3506 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json @@ -0,0 +1,72 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json new file mode 100644 index 000000000000..611df2fd2015 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json new file mode 100644 index 000000000000..b82d8110850b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json @@ -0,0 +1,37 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..1842692a0cf3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json new file mode 100644 index 000000000000..ccc3fec7cd3c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json @@ -0,0 +1,42 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json new file mode 100644 index 000000000000..7afa25831ff1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json @@ -0,0 +1,51 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..e9e453a7e223 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..69004ced5d20 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..a21229f9fd1a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..0958612bc8af --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..a691f2e19299 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..4fb6deabc133 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..8482bd965c2e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,492 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json new file mode 100644 index 000000000000..6b197f36646f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json new file mode 100644 index 000000000000..018c8a26fb58 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json @@ -0,0 +1,194 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..56ad188c2c05 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,198 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..04eef7441ba6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json @@ -0,0 +1,197 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..084f1426588d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json new file mode 100644 index 000000000000..055952d03613 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -0,0 +1,313 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..278ef0d9a686 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..94258eed37c2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..00c0a30615b4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..3fa04ce12bf2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..6e181e4f0e9a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..baead581952a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..206bb94c0561 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..a2c6bde2e52a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..81a6c1647393 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..49b07e7bcf1c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..4bf0a2d69eb8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..ffcf98d6bdf3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1bf13598e8f4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..040f651d0dea --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..f41d7c93eff1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..1d8e3b476724 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..d1142156985e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..13160e1b1262 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..35304bd10dc8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..1ea96ea0e8d2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..042d1106a0e1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..e7067ba7a88f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..950b5a4d4461 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..81d4dfc9db14 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..9f5104950ba9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..f0f31a3cd7e3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..731348692bf9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..ebddfc1f5737 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..e895fe521b7f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..1e24e5e7ae76 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..087c12f341a2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..9eb6146a487f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json new file mode 100644 index 000000000000..72de8204210a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..39b7954164b3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..d258ea734eec --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..9bf51dd8fded --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..316af739cb68 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..23a168cb6545 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..2af1837aecf5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..c8a513bece31 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,197 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..064c12f5f292 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..740410f9e520 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,85 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..8564e46567f3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,89 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..409f400b5dbc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,88 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..078b9363b307 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,137 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..0a5a0d9aa633 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..9ce19f4440e1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json new file mode 100644 index 000000000000..4ec1e7854f23 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..1d4f9bc83d45 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..e3895932704e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json new file mode 100644 index 000000000000..5b2d97641474 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..af21bae61e74 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json @@ -0,0 +1,117 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json new file mode 100644 index 000000000000..598be1195ae0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json new file mode 100644 index 000000000000..70686559cae9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json @@ -0,0 +1,52 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..3f3288d9fc32 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json new file mode 100644 index 000000000000..27f896c6ff11 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json @@ -0,0 +1,57 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json new file mode 100644 index 000000000000..4b4bae7d6c31 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json @@ -0,0 +1,81 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..74ccac9ed0e0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..a914cfaa7b54 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..aadf367454c5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..d706fc1c592f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1aa6f1c38841 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..58511f501dfe --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..27a6391e135c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,564 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json new file mode 100644 index 000000000000..15a266c726e9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json new file mode 100644 index 000000000000..a77dbee34a1d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json @@ -0,0 +1,218 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..82d8fa80d062 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,222 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..ed69e3298ee0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json @@ -0,0 +1,221 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..9664ce231521 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-10-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json new file mode 100644 index 000000000000..02a466a3ad9b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json @@ -0,0 +1,361 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..620695d96801 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..408742addf05 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..f2c400575e0e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..d12d696e74bf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..20f6b6f90267 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..398baf2b1245 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..f91ff5393234 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..44e829068849 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..48d032ce058f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..81c56e193c3c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..a4f6bbfcac32 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..524bc8b6253b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..200c18b170d6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..f6a0ed219a01 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..266c8b7c0f9c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..81e88f82b374 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..c41834e46777 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..2820b913d6c8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..98ca3c717a55 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..adf24f3e00af --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..821882f3c021 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..b6d95b7d2e7f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..857d3133d7ed --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..c6566524f763 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..58cbc587f957 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..886b87ed4864 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..8f3e2753e2ca --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..1de204c66f1b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..a83d87ba75f6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..cade59094581 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..38858b6b1a89 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..196f540034d6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json new file mode 100644 index 000000000000..a1a732462fe7 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..cc3fb34fba62 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..942729f39024 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..7761238dd938 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..e5563a86383a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..0b9e66cde8dd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..8b55ad1ccd06 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..966b230e7714 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,329 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..22109d1c8257 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..4543c62c4ad6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,129 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..1577e5f356ad --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,133 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..5658dfa7f86d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..0ddc8bf21d8d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,225 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..6196986fcfa8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..6e06ea6e513c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json new file mode 100644 index 000000000000..c8d33a0ae87a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..150f46b1731c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..1a4b02ce550b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json new file mode 100644 index 000000000000..39055075b22b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/main.tsp b/specification/mission/Mission.Management/main.tsp new file mode 100644 index 000000000000..f9f5055e4f86 --- /dev/null +++ b/specification/mission/Mission.Management/main.tsp @@ -0,0 +1,38 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@typespec/openapi"; +import "@typespec/versioning"; +import "@azure-tools/typespec-autorest"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "./resourcetypes/approvals/approvals.tsp"; +import "./resourcetypes/community/community.tsp"; +import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; +import "./resourcetypes/workload/workload.tsp"; +import "./resourcetypes/catalog/catalog.tsp"; +import "./resourcetypes/endpoint/endpoint.tsp"; +import "./resourcetypes/internalConnection/internalConnection.tsp"; +import "./resourcetypes/externalConnection/externalConnection.tsp"; +import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; +import "./resourcetypes/transitHub/transitHub.tsp"; +import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; +import "./resourcetypes/communityEndpoint/communityEndpoint.tsp"; +import "./resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp"; +import "./version.tsp"; +import "./model.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Versioning; + +@armProviderNamespace("Microsoft.Mission") +@service({ + title: "Microsoft Mission", +}) +@versioned(Microsoft.Mission.Versions) +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp new file mode 100644 index 000000000000..bf8fd2902506 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp @@ -0,0 +1,76 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("List of storage types support by catalog") +union CatalogStorageType { + @doc("Blob Storage Catalog Type") + BlobCatalog: "BlobCatalog", + + string, +} + +@doc("Base type for catalog.") +model CatalogBase { + @doc("Catalog's storage type.") + catalogStorageType?: CatalogStorageType; +} + +@doc("Blob Catalog type.") +model BlobCatalog is CatalogBase { + @doc("Catalog Storage's URI.") + uri?: string; +} + +@doc("Catalog Types.") +union Catalog { + @doc("Blob Catalog") + blob: BlobCatalog, +} + +@doc("Package Properties") +model Package { + @doc("Package Id.") + id?: string; + + @doc("Package Name.") + name?: string; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "This resource type is deprecated" + @doc("Package metadata.") + metadata?: Record; +} + +@doc("Catalog properties") +model CatalogProperties { + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("Owning Resource of the Catalog.") + ownedBy?: string; + + @doc("Community Resource Id.") + communityResourceId?: string; + + @doc("Virtual Enclave Resource Id.") + enclaveResourceId?: string; + + @doc("Catalog Connection properties.") + catalog?: Catalog; + + @doc("List of packages for catalog.") + packageCollection?: Package[]; +} diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp new file mode 100644 index 000000000000..6ccb98e546e0 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -0,0 +1,126 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../shared/resourceid.tsp"; +import "../shared/endpointrulebase.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using OpenAPI; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Community Endpoint Protocol Enum") +union CommunityEndpointProtocol { + @doc("CommunityEndpointProtocol Type ANY") + ANY: "ANY", + + @doc("CommunityEndpointProtocol Type TCP") + TCP: "TCP", + + @doc("CommunityEndpointProtocol Type UDP") + UDP: "UDP", + + @doc("CommunityEndpointProtocol Type ICMP") + ICMP: "ICMP", + + @doc("CommunityEndpointProtocol Type ESP") + ESP: "ESP", + + @doc("CommunityEndpointProtocol Type AH") + AH: "AH", + + @doc("CommunityEndpointProtocol Type HTTPS") + HTTPS: "HTTPS", + + @doc("CommunityEndpointProtocol Type HTTP") + HTTP: "HTTP", + + string, +} + +@doc("Destination Type Enum") +union DestinationType { + @doc("DestinationType Type FQDN") + FQDN: "FQDN", + + @doc("DestinationType Type FQDNTag") + FQDNTag: "FQDNTag", + + @doc("DestinationType Type IPAddress") + IPAddress: "IPAddress", + + @doc("DestinationType Type PrivateNetwork") + PrivateNetwork: "PrivateNetwork", + + string, +} + +#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." +@removed(Microsoft.Mission.Versions.v2023_11_01_preview) +@doc("Base type for destination rules.") +model DestinationRule { + @doc("Destination Rule Name.") + name?: string; + + @doc("Destination Type.") + destinationType?: DestinationType; + + @doc("Destination must follow the format for FQDNs if it is selected as the destination type (no IP/CIDR or full web URLs).") + destination: string[]; + + @doc("Port. Can include multiple ports separated by commas or a range indicated by a hyphen.") + port?: string; + + @doc("Protocol. Options specified by Endpoint Protocol Enum.") + protocol?: CommunityEndpointProtocol[]; + + @doc("Transit Hub Resource Id.") + transitHubResourceId?: TransitHubResourceId; +} + +@doc("Base type for destination rules.") +model CommunityEndpointDestinationRule is EndpointRuleBase { + @doc("Destination Type.") + destinationType?: DestinationType; + + @doc("Protocols. Options specified by Endpoint Protocol Enum.") + protocols?: CommunityEndpointProtocol[]; + + @doc("Transit Hub Resource Id.") + transitHubResourceId?: TransitHubResourceId; +} + +@doc("Community Endpoint Resource properties") +model CommunityEndpointProperties { + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." + @added(Microsoft.Mission.Versions.v2023_11_01_preview) + @extension("x-ms-identifiers", []) + @doc("Community Endpoint Rule Collection.") + ruleCollection: CommunityEndpointDestinationRule[]; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_11_01_preview) + @extension("x-ms-identifiers", ["name"]) + @doc("Destination Rule Collection.") + destinationRuleCollection: DestinationRule[]; + + @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @doc("List of resource ids created by community endpoint.") + resourceCollection?: string[]; + + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; + + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("Whether approval is needed for the connection (True or False).") + approvalRequired?: boolean; +} diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp new file mode 100644 index 000000000000..bf1a258cba46 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp @@ -0,0 +1,70 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../shared/resourceid.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Specifies the state of the enclave connection.") +union EnclaveConnectionState { + @doc("EnclaveConnectionState Type Pending Approval") + PendingApproval: "PendingApproval", + + @doc("EnclaveConnectionState Type Pending Update") + PendingUpdate: "PendingUpdate", + + @doc("EnclaveConnectionState Type Approved") + Approved: "Approved", + + @doc("EnclaveConnectionState Type Active") + Active: "Active", + + @doc("EnclaveConnectionState Type Failed") + Failed: "Failed", + + @doc("EnclaveConnectionState Type Connected") + Connected: "Connected", + + @doc("EnclaveConnectionState Type Disconnected") + Disconnected: "Disconnected", + + string, +} + +@doc("Enclave Connection Resource properties") +model EnclaveConnectionProperties { + @doc("The state of the enclaveConnection.") + state?: EnclaveConnectionState; + + @doc("Community Resource Id.") + communityResourceId: CommunityResourceId; + + @doc("Source Resource Id.") + sourceResourceId: EnclaveConnectionSourceResourceId; + + @doc("Source CIDR.") + sourceCidr?: string; + + @doc("Source IP group Resource Id.") + ipGroup?: IPGroupResourceId; + + @doc("Destination Endpoint Resource Id.") + destinationEndpointId: DestinationEndpointResourceId; + + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("List of resource ids modified by enclave Connections.") + resourceCollection?: string[]; +} diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp new file mode 100644 index 000000000000..855c0ea386d9 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -0,0 +1,91 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../shared/resourceid.tsp"; +import "../shared/endpointrulebase.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using OpenAPI; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Enclave Endpoint Protocol Enum") +union EnclaveEndpointProtocol { + @doc("EndpointProtocol Type ANY") + ANY: "ANY", + + @doc("EndpointProtocol Type TCP") + TCP: "TCP", + + @doc("EndpointProtocol Type UDP") + UDP: "UDP", + + @doc("EndpointProtocol Type ICMP") + ICMP: "ICMP", + + @doc("EndpointProtocol Type ESP") + ESP: "ESP", + + @doc("EndpointProtocol Type AH") + AH: "AH", + + string, +} + +#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." +@removed(Microsoft.Mission.Versions.v2023_11_01_preview) +@doc("Enclave Endpoint Rule Properties") +model EnclaveEndpointRule { + @doc("Endpoint Rule Name.") + name?: string; + + @doc("IP Address. Can include multiple CIDR/IP Addresses separated by commas.") + address?: string; + + @doc("Port. Can include multiple ports separated by commas or a range indicated by a hyphen.") + port?: string; + + @doc("Protocol. Options specified by Endpoint Protocol Enum.") + protocol?: EnclaveEndpointProtocol; +} + +@doc("Enclave Endpoint Rule Properties") +model EnclaveEndpointDestinationRule is EndpointRuleBase { + @doc("Protocols. Options specified by Endpoint Protocol Enum.") + protocols?: EnclaveEndpointProtocol[]; +} + +@doc("Enclave Endpoint Resource properties") +model EnclaveEndpointProperties { + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." + @added(Microsoft.Mission.Versions.v2023_11_01_preview) + @extension("x-ms-identifiers", []) + @doc("Enclave Endpoint Rule Collection.") + ruleCollection: EnclaveEndpointDestinationRule[]; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_11_01_preview) + @extension("x-ms-identifiers", ["name"]) + @doc("Endpoint Rule Collection.") + endpointRuleCollection?: EnclaveEndpointRule[]; + + @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @doc("List of resource ids created by community endpoint.") + resourceCollection?: string[]; + + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; + + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("Whether approval is needed for the connection (True or False).") + approvalRequired?: boolean; +} diff --git a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp new file mode 100644 index 000000000000..b0441b92e83e --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp @@ -0,0 +1,78 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../shared/resourceid.tsp"; +import "../virtualEnclave/virtualenclave.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; +using OpenAPI; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Endpoint Protocol Enum") +union EndpointProtocol { + @doc("EndpointProtocol Type ANY") + ANY: "ANY", + + @doc("EndpointProtocol Type TCP") + TCP: "TCP", + + @doc("EndpointProtocol Type UDP") + UDP: "UDP", + + @doc("EndpointProtocol Type ICMP") + ICMP: "ICMP", + + @doc("EndpointProtocol Type ESP") + ESP: "ESP", + + @doc("EndpointProtocol Type AH") + AH: "AH", + + string, +} + +@doc("EndpointRule Properties") +model EndpointRule { + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Endpoint Rule Id.") + id?: string; + + @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Endpoint Rule Name.") + name?: string; + + @doc("IP Address. Can include multiple CIDR/IP Addresses separated by commas.") + address?: string; + + @doc("Port. Can include multiple ports separated by commas or a range indicated by a hyphen.") + port?: string; + + @doc("Protocol. Options specified by Endpoint Protocol Enum.") + protocol?: EndpointProtocol; +} + +@doc("Endpoint Resource properties") +model EndpointProperties { + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Endpoint Description.") + description?: string; + + @extension("x-ms-identifiers", ["name"]) + @doc("Endpoint Rule Collection.") + endpointRuleCollection?: EndpointRule[]; + + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; +} diff --git a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp new file mode 100644 index 000000000000..35ab65020b23 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp @@ -0,0 +1,52 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../shared/resourceid.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Specifies the state of the externalConnection.") +union ExternalConnectionState { + @doc("ExternalConnectionState Type Pending") + Pending: "Pending", + + @doc("ExternalConnectionState Type Approved") + Approved: "Approved", + + @doc("ExternalConnectionState Type Active") + Active: "Active", + + string, +} + +@doc("Describes the properties of an External Connection.") +model ExternalConnectionProperties { + @doc("The status of the last operation.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("The state of the externalConnection.") + state?: ExternalConnectionState; + + @doc("Community Resource Id.") + communityResourceId: CommunityResourceId; + + @doc("The enclaves' resource IDs.") + enclaveIds: VirtualEnclaveResourceId[]; + + @doc("The external CIDR IP addresses.") + externalCidrs: string[]; + + @doc("List of resource ids modified by externalConnections.") + resourceCollection?: string[]; +} diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp new file mode 100644 index 000000000000..7b68e89a408e --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -0,0 +1,85 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../shared/resourceid.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Specifies the different types of network connections.") +union InternalConnectionType { + @doc("InternalConnectionType Type PrivateLink") + PrivateLink: "PrivateLink", + + @doc("InternalConnectionType Type NetworkSecurityGroup.") + NetworkSecurityGroup: "NetworkSecurityGroup", + + string, +} + +@doc("Specifies the state of the internalConnection.") +union InternalConnectionState { + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("InternalConnectionState Type Pending") + Pending: "Pending", + + @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("InternalConnectionState Type Pending Approval") + PendingApproval: "PendingApproval", + + @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("InternalConnectionState Type Pending Update") + PendingUpdate: "PendingUpdate", + + @doc("InternalConnectionState Type Approved") + Approved: "Approved", + + @doc("InternalConnectionState Type Active") + Active: "Active", + + @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("InternalConnectionState Type Failed") + Failed: "Failed", + + string, +} + +@doc("Describes the properties of an Internal Connection.") +model InternalConnectionProperties { + @doc("The status of the last operation.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup") + connectionType: InternalConnectionType; + + @doc("The state of the internalConnection.") + state?: InternalConnectionState; + + @doc("Community Resource Id.") + communityResourceId: CommunityResourceId; + + @doc("The destination enclave's resource ID.") + destinationEnclaveId: VirtualEnclaveResourceId; + + @doc("The destination endpoint's resource ID.") + destinationEndpointId: EndpointResourceId; + + @doc("The source enclave's resource ID.") + sourceEnclaveId: VirtualEnclaveResourceId; + + @doc("The source CIDR IP addresses.") + sourceCidrs: string[]; + + @doc("List of resource ids modified by internalConnections.") + resourceCollection?: string[]; +} diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/approvaldeletioncallback.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/approvaldeletioncallback.tsp new file mode 100644 index 000000000000..9a3aebd42735 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/postActions/approvaldeletioncallback.tsp @@ -0,0 +1,22 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Request body for calling post-action") +model ApprovalDeletionCallbackRequest { + @doc("Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action") + resourceRequestAction: "Create" | "Delete" | "Update" | string; +} + +@doc("Response body after handling of approvalDeletionCallbackRequest") +model ApprovalDeletionCallbackResponse { + @doc("Confirmation message indicating the result of the operation.") + message: string; +} diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp new file mode 100644 index 000000000000..41d9a27944e4 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp @@ -0,0 +1,30 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../virtualEnclave/virtualenclave.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Request to the action call to check address space availability.") +model CheckAddressSpaceAvailabilityRequest { + @doc("Resource Id of the Community") + communityResourceId: string; + + @doc("Information about the enclave virtual network") + enclaveVirtualNetwork: EnclaveVirtualNetwork; +} + +@doc("Response of availability of the requested address space.") +model CheckAddressSpaceAvailabilityResponse { + @doc("Boolean representing whether the address space is available.") + value: boolean; +} diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/initiatorcallback.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/initiatorcallback.tsp new file mode 100644 index 000000000000..cba1143f0e9c --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/postActions/initiatorcallback.tsp @@ -0,0 +1,24 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +// Define a model for the approval initator callback request +@doc("Request body for calling post-action") +model InitiatorCallbackRequest { + @doc("Approval status indicating 'Approved' or 'Rejected'") + approvalStatus: "Approved" | "Rejected" | string; +} + +// Define a model for the approval initator callback response +@doc("Response body after handling of approvalCallbackRequest") +model InitiatorCallbackResponse { + @doc("Confirmation message indicating the result of the operation.") + message: string; +} diff --git a/specification/mission/Mission.Management/resourcetypes/shared/endpointrulebase.tsp b/specification/mission/Mission.Management/resourcetypes/shared/endpointrulebase.tsp new file mode 100644 index 000000000000..d9bc010412da --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/endpointrulebase.tsp @@ -0,0 +1,14 @@ +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Base Endpoint Rule Properties") +model EndpointRuleBase { + @doc("Endpoint Rule Name.") + name?: string; + + @doc("Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas.") + destination?: string; + + @doc("Port. Can include multiple ports separated by commas or a range indicated by a hyphen.") + port?: string; +} diff --git a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp new file mode 100644 index 000000000000..9fde813fe3b0 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp @@ -0,0 +1,11 @@ +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("ManagedResourceGroup related properties") +model ManagedResourceGroupConfiguration { + @doc("Name of managed resource group") + name?: string; + + @doc("Managed Resource Group location") + location?: string; +} diff --git a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp new file mode 100644 index 000000000000..f9e9ed9db590 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp @@ -0,0 +1,16 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Principal for maintenance mode or role assignments") +model Principal { + @doc("The object id associated with the principal") + id: string; + + @doc("The type of the object id. We currently allow users, groups, and service principals") + type: "User" | "Group" | "ServicePrincipal" | string; +} diff --git a/specification/mission/Mission.Management/resourcetypes/shared/provisioningstate.tsp b/specification/mission/Mission.Management/resourcetypes/shared/provisioningstate.tsp new file mode 100644 index 000000000000..d9f561a12bba --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/provisioningstate.tsp @@ -0,0 +1,47 @@ +import "@typespec/rest"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@lroStatus +@doc("The provisioning status of the resource.") +union ProvisioningState { + string, + Azure.ResourceManager.ResourceProvisioningState, + + @doc("Provisioning State Type Accepted") + Accepted: "Accepted", + + @doc("Provisioning State Type Created") + Created: "Created", + + @doc("Provisioning State Type Creating") + Creating: "Creating", + + @doc("Provisioning State Type Deleted") + Deleted: "Deleted", + + @doc("Provisioning State Type Deleting") + Deleting: "Deleting", + + @doc("Provisioning State Type NotSpecified") + NotSpecified: "NotSpecified", + + @doc("Provisioning State Type Ready") + Ready: "Ready", + + @doc("Provisioning State Type Running") + Running: "Running", + + @doc("Provisioning State Type Updating") + Updating: "Updating", + + string, +} diff --git a/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp b/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp new file mode 100644 index 000000000000..77ba5c0ba102 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp @@ -0,0 +1,96 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +scalar VirtualEnclaveResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Mission/virtualEnclaves", + } + ]>; + +scalar NsgResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Network/networkSecurityGroups", + } + ]>; + +scalar CommunityResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Mission/communities", + } + ]>; + +scalar KeyVaultResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.KeyVault/vaults", + } + ]>; + +scalar LogAnalyticsResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.OperationalInsights/workspaces", + } + ]>; + +scalar StorageAccountResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Storage/storageAccounts", + } + ]>; + +scalar EndpointResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Mission/virtualEnclaves/endpoints", + } + ]>; + +scalar EnclaveConnectionSourceResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Mission/virtualEnclaves", + }, + { + type: "Microsoft.Mission/communities/transitHubs", + } + ]>; + +scalar DestinationEndpointResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Mission/virtualEnclaves/enclaveEndpoints", + }, + { + type: "Microsoft.Mission/communities/communityEndpoints", + } + ]>; + +scalar TransitHubResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Mission/communities/transitHubs", + } + ]>; + +scalar IPGroupResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Network/IpGroups", + } + ]>; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp new file mode 100644 index 000000000000..ca51e04673bc --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp @@ -0,0 +1,16 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Role assignment item that indicates which principals should be assigned this role definition") +model RoleAssignmentItem { + @doc("Role definition identifier") + id: string; + + @doc("List of principal IDs to which to assign this role definition") + principals?: Principal[]; +} diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp new file mode 100644 index 000000000000..c29e4f68b4f3 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -0,0 +1,83 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Specifies the state of the transitHub.") +union TransitHubState { + @doc("TransitHubState Type PendingApproval") + PendingApproval: "PendingApproval", + + @doc("TransitHubState Type Approved") + Approved: "Approved", + + @doc("TransitHubState Type PendingUpdate") + PendingUpdate: "PendingUpdate", + + @doc("TransitHubState Type Active") + Active: "Active", + + @doc("TransitHubState Type Failed") + Failed: "Failed", + + string, +} + +@doc("Specifies the type of the transitOption.") +union TransitOptionType { + @doc("TransitOptionType ExpressRoute") + ExpressRoute: "ExpressRoute", + + @doc("TransitOptionType Gateway") + Gateway: "Gateway", + + @doc("TransitOptionType Peering") + Peering: "Peering", + + string, +} + +@doc("TransitOptionParams Properties") +model TransitOptionParams { + @doc("Transit Option Params scaleUnits.") + scaleUnits?: int64; + + @doc("Transit Option Params remoteVirtualNetworkId.") + remoteVirtualNetworkId?: string; +} + +@doc("TransitOption Properties") +model TransitOption { + @doc("Transit Option Type.") + type?: TransitOptionType; + + @doc("Transit Option Params") + params?: TransitOptionParams; +} + +@doc("Describes the properties of an Transit Hub.") +model TransitHubProperties { + @doc("The status of the last operation.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("The state of the transitHub.") + state?: TransitHubState; + + @doc("The TransitOption of the transitHub.") + transitOption?: TransitOption; + + @doc("List of resource ids modified by transitHubs.") + resourceCollection?: string[]; +} diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp new file mode 100644 index 000000000000..08a7fd2daa3d --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -0,0 +1,186 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../community/community.tsp"; +import "../shared/resourceid.tsp"; +import "../shared/managedresourcegroupconfiguration.tsp"; +import "../shared/principal.tsp"; +import "../shared/roleassignmentitem.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Specifies the destination of where to store diagnostic logs.") +union DiagnosticDestination { + @doc("DiagnosticDestination Type CommunityOnly") + CommunityOnly: "CommunityOnly", + + @doc("DiagnosticDestination Type EnclaveOnly") + EnclaveOnly: "EnclaveOnly", + + @doc("DiagnosticDestination Type Both") + Both: "Both", + + string, +} + +@doc("Subnet Configuration") +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +model SubnetConfiguration { + @doc("Subnet name.") + name: string; + + @doc("Subnet ID.") + @visibility("read") + id?: Azure.Core.armResourceIdentifier; + + @doc("Network prefix size.") + networkPrefixSize: int32; + + @doc("Subnet delegation.") + subnetDelegation?: string; + + @doc("Address prefix.") + @visibility("read") + addressPrefix?: string; + + @doc("Network security group ID.") + @visibility("read") + networkSecurityGroupId?: Azure.Core.armResourceIdentifier; +} + +@doc("Enclave Virtual Network Properties") +model EnclaveVirtualNetwork { + @doc("Network Name.") + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + name?: string; + + @doc("Network Size.") + networkSize: string; + + @doc("Custom CIDR Range.") + customCidrRange?: string; + + @doc("Subnet Configurations.") + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + subnetConfigurations?: SubnetConfiguration[]; + + @doc("Allow Subnet Communication.") + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + allowSubnetCommunication?: boolean; + + @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @doc("Connect to Azure Services (True or False).") + connectToAzureServices?: boolean; +} + +@doc("Virtual Enclave Default Settings") +model EnclaveDefaultSettings { + @doc("Key Vault Resource Id.") + keyVaultResourceId?: KeyVaultResourceId; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2024_01_01_preview) + @doc("Log Analytics Resource Id.") + logAnalyticsResourceId?: LogAnalyticsResourceId; + + @doc("Storage Account Resource Id.") + storageAccountResourceId?: StorageAccountResourceId; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." + @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @doc("Log Analytics Resource Ids.") + logAnalyticsResourceIdCollection?: LogAnalyticsResourceId[]; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." + @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @doc("Diagnostic Destination.") + diagnosticDestination?: DiagnosticDestination; +} + +@doc("Enclave Address Spaces") +model EnclaveAddressSpaces { + @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("Enclave Address Space") + enclaveAddressSpace?: string; + + @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("Managed Address Space") + managedAddressSpace?: string; +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Maintenance Mode") +model MaintenanceModeConfiguration { + @doc("Current mode of Maintenance Mode Configuration") + mode: "On" | "CanNotDelete" | "Off" | string; + + @doc("The user, group or service principal object affected by Maintenance Mode") + principals?: Principal[]; + + @doc("Justification for entering or exiting Maintenance Mode") + justification?: "Networking" | "Governance" | "Off" | string; +} + +@doc("Virtual Enclave Resource properties") +model VirtualEnclaveProperties { + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Virtual Enclave Description.") + description?: string; + + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; + + @doc("Virtual Network.") + enclaveVirtualNetwork: EnclaveVirtualNetwork; + + @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @visibility("read") + @doc("Enclave Address Spaces") + enclaveAddressSpaces?: EnclaveAddressSpaces; + + @doc("Community Resource Id.") + communityResourceId: CommunityResourceId; + + @doc("Default Settings") + enclaveDefaultSettings?: EnclaveDefaultSettings; + + @doc("List of resource ids created by Virtual Enclave.") + resourceCollection?: string[]; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Managed resource group configuration.") + managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("Maintenance Mode configuration.") + maintenanceModeConfiguration?: MaintenanceModeConfiguration; + + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("Deploy Bastion service (True or False).") + bastionEnabled?: boolean; + + @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_10_01_preview) + @doc("Enclave role assignments") + enclaveRoleAssignments?: RoleAssignmentItem[]; + + @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_10_01_preview) + @doc("Workload role assignments") + workloadRoleAssignments?: RoleAssignmentItem[]; +} diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp new file mode 100644 index 000000000000..72d5ea173747 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -0,0 +1,49 @@ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +import "../shared/provisioningstate.tsp"; +import "../shared/resourceid.tsp"; +import "../virtualEnclave/virtualenclave.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.Core; +using Azure.ResourceManager; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Workload Resource properties") +model WorkloadProperties { + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Workload Description.") + description?: string; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @doc("Virtual Enclave Resource Id.") + enclaveResourceId?: VirtualEnclaveResourceId; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @removed(Microsoft.Mission.Versions.v2023_11_01_preview) + @doc("Managed Resource Groups.") + managedResourceGroups?: string[]; + + @doc("Provisioning State.") + @visibility("read") + provisioningState?: ProvisioningState; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @added(Microsoft.Mission.Versions.v2023_11_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("Managed resource group configuration.") + managedResourceGroupConfiguration: ManagedResourceGroupConfiguration; + + #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @doc("List of resource group ids.") + resourceGroupCollection?: string[]; +} diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml new file mode 100644 index 000000000000..ff6d13725768 --- /dev/null +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -0,0 +1,15 @@ +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + azure-resource-provider-folder: "./resource-manager" + # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag + arm-resource-flattening: true + emitter-output-dir: "{project-root}/../" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" + arm-types-dir: "{project-root}/../../common-types/resource-management" + omit-unreachable-types: true + use-read-only-status-schema: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..1cac517c3506 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json @@ -0,0 +1,72 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json new file mode 100644 index 000000000000..611df2fd2015 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json new file mode 100644 index 000000000000..b82d8110850b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json @@ -0,0 +1,37 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..1842692a0cf3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json new file mode 100644 index 000000000000..ccc3fec7cd3c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json @@ -0,0 +1,42 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json new file mode 100644 index 000000000000..7afa25831ff1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json @@ -0,0 +1,51 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..e9e453a7e223 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..69004ced5d20 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..a21229f9fd1a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..0958612bc8af --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..a691f2e19299 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..4fb6deabc133 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..8482bd965c2e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,492 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..6b197f36646f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..018c8a26fb58 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json @@ -0,0 +1,194 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..56ad188c2c05 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,198 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..04eef7441ba6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,197 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..084f1426588d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..055952d03613 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -0,0 +1,313 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..278ef0d9a686 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..94258eed37c2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..00c0a30615b4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..3fa04ce12bf2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..6e181e4f0e9a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..baead581952a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..206bb94c0561 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..a2c6bde2e52a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..81a6c1647393 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..49b07e7bcf1c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..4bf0a2d69eb8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..ffcf98d6bdf3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1bf13598e8f4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..040f651d0dea --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..f41d7c93eff1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..1d8e3b476724 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..d1142156985e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..13160e1b1262 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..35304bd10dc8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..1ea96ea0e8d2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..042d1106a0e1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..e7067ba7a88f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..950b5a4d4461 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..81d4dfc9db14 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..9f5104950ba9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..f0f31a3cd7e3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..731348692bf9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..ebddfc1f5737 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..e895fe521b7f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..1e24e5e7ae76 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..087c12f341a2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..9eb6146a487f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..72de8204210a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..39b7954164b3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..d258ea734eec --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..9bf51dd8fded --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..316af739cb68 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..23a168cb6545 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..2af1837aecf5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..c8a513bece31 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,197 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..064c12f5f292 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..740410f9e520 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,85 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..8564e46567f3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,89 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..409f400b5dbc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,88 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..078b9363b307 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,137 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..0a5a0d9aa633 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..9ce19f4440e1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..4ec1e7854f23 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..1d4f9bc83d45 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..e3895932704e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..5b2d97641474 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json new file mode 100644 index 000000000000..c2507d5c5674 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -0,0 +1,6960 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2024-06-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + }, + { + "name": "Approval" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.Mission/approvals": { + "get": { + "operationId": "Approval_ListByParent", + "tags": [ + "Approval" + ], + "description": "List ApprovalResource resources by parent", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_ListByParent": { + "$ref": "./examples/Approvals_ListByParent.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { + "get": { + "operationId": "Approval_Get", + "tags": [ + "Approval" + ], + "description": "Get a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Get": { + "$ref": "./examples/Approvals_Get.json" + } + } + }, + "put": { + "operationId": "Approval_CreateOrUpdate", + "tags": [ + "Approval" + ], + "description": "Create a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApprovalResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "201": { + "description": "Resource 'ApprovalResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_CreateOrUpdate": { + "$ref": "./examples/Approvals_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Approval_Update", + "tags": [ + "Approval" + ], + "description": "Update a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Approval_Delete", + "tags": [ + "Approval" + ], + "description": "Delete a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { + "post": { + "operationId": "Approval_InitiatorCallback", + "tags": [ + "Approval" + ], + "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/InitiatorCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InitiatorCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_InitiatorCallback": { + "$ref": "./examples/Approvals_InitiatorCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", + "tags": [ + "Community" + ], + "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ApprovalCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id of the item being approved or rejected" + }, + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", + "enum": [ + "Create", + "Delete", + "Update", + "Reset" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceId", + "resourceRequestAction", + "approvalStatus" + ] + }, + "ApprovalCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalDeletionCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", + "enum": [ + "Create", + "Delete", + "Update" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceRequestAction" + ] + }, + "ApprovalDeletionCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalDeletionCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalProperties": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." + } + }, + "required": [ + "requestMetadata" + ] + }, + "ApprovalPropertiesUpdate": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdate", + "description": "Request metadata for the approval request." + } + } + }, + "ApprovalResource": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalResourceListResult": { + "type": "object", + "description": "The response of a ApprovalResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApprovalResource items on this page", + "items": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalStatus": { + "type": "string", + "description": "Approval Status Enum", + "enum": [ + "Approved", + "Rejected", + "Pending" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + } + ] + } + }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "DiagnosticDestination": { + "type": "string", + "description": "Specifies the destination of where to store diagnostic logs.", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + } + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + }, + "logAnalyticsResourceIdCollection": { + "type": "array", + "description": "Log Analytics Resource Ids.", + "items": { + "$ref": "#/definitions/LogAnalyticsResourceId" + } + }, + "diagnosticDestination": { + "$ref": "#/definitions/DiagnosticDestination", + "description": "Diagnostic Destination." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointPropertiesUpdate": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "GovernedServiceItem": { + "type": "object", + "description": "GovernedServiceItem Properties", + "properties": { + "id": { + "$ref": "#/definitions/ServiceIdentifier", + "description": "service id" + }, + "name": { + "type": "string", + "description": "service name", + "readOnly": true + }, + "option": { + "type": "string", + "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "enum": [ + "Allow", + "Deny", + "ExceptionOnly", + "NotApplicable" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "enforcement": { + "type": "string", + "description": "initiative enforcement (Enabled or Disabled).", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "auditOnly": { + "type": "boolean", + "description": "policies set to auditOnly (True or False)." + }, + "initiatives": { + "type": "array", + "description": "initiatives associated with this service", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "id" + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InitiatorCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "InitiatorCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "MaintenanceModeConfiguration": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "mode" + ] + }, + "MaintenanceModeConfigurationUpdate": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "Principal": { + "type": "object", + "description": "Principal for maintenance mode or role assignments", + "properties": { + "id": { + "type": "string", + "description": "The object id associated with the principal" + }, + "type": { + "type": "string", + "description": "The type of the object id. We currently allow users, groups, and service principals", + "enum": [ + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "id", + "type" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "RequestMetadata": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + }, + "required": [ + "resourceAction" + ] + }, + "RequestMetadataUpdate": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + } + }, + "ServiceIdentifier": { + "type": "string", + "description": "Identifier for governed services.", + "enum": [ + "AKS", + "AppService", + "AzureFirewalls", + "ContainerRegistry", + "CosmosDB", + "DataConnectors", + "Insights", + "KeyVault", + "Logic", + "MicrosoftSQL", + "Monitoring", + "PostgreSQL", + "PrivateDNSZones", + "ServiceBus", + "Storage" + ], + "x-ms-enum": { + "name": "ServiceIdentifier", + "modelAsString": true, + "values": [ + { + "name": "AKS", + "value": "AKS", + "description": "Service identifier for AKS" + }, + { + "name": "AppService", + "value": "AppService", + "description": "Service identifier for App Service" + }, + { + "name": "AzureFirewalls", + "value": "AzureFirewalls", + "description": "Service identifier for Azure Firewalls" + }, + { + "name": "ContainerRegistry", + "value": "ContainerRegistry", + "description": "Service identifier for Container Registry" + }, + { + "name": "CosmosDB", + "value": "CosmosDB", + "description": "Service identifier for CosmosDB" + }, + { + "name": "DataConnectors", + "value": "DataConnectors", + "description": "Service identifier for Data Connectors" + }, + { + "name": "Insights", + "value": "Insights", + "description": "Service identifier for Insights" + }, + { + "name": "KeyVault", + "value": "KeyVault", + "description": "Service identifier for Key Vault" + }, + { + "name": "Logic", + "value": "Logic", + "description": "Service identifier for Logic" + }, + { + "name": "MicrosoftSql", + "value": "MicrosoftSQL", + "description": "Service identifier for Microsoft SQL" + }, + { + "name": "Monitoring", + "value": "Monitoring", + "description": "Service identifier for Monitoring" + }, + { + "name": "PostgreSql", + "value": "PostgreSQL", + "description": "Service identifier for PostgreSQL" + }, + { + "name": "PrivateDNSZones", + "value": "PrivateDNSZones", + "description": "Service identifier for Private DNS Zones" + }, + { + "name": "ServiceBus", + "value": "ServiceBus", + "description": "Service identifier for Service Bus" + }, + { + "name": "Storage", + "value": "Storage", + "description": "Service identifier for Storage" + } + ] + } + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "SubnetConfiguration": { + "type": "object", + "description": "Subnet Configuration", + "properties": { + "name": { + "type": "string", + "description": "Subnet name." + }, + "id": { + "type": "string", + "format": "arm-id", + "description": "Subnet ID.", + "readOnly": true + }, + "networkPrefixSize": { + "type": "integer", + "format": "int32", + "description": "Network prefix size." + }, + "subnetDelegation": { + "type": "string", + "description": "Subnet delegation." + }, + "addressPrefix": { + "type": "string", + "description": "Address prefix.", + "readOnly": true + }, + "networkSecurityGroupId": { + "type": "string", + "format": "arm-id", + "description": "Network security group ID.", + "readOnly": true + } + }, + "required": [ + "name", + "networkPrefixSize" + ] + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..af21bae61e74 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json @@ -0,0 +1,117 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json new file mode 100644 index 000000000000..598be1195ae0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json new file mode 100644 index 000000000000..70686559cae9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json @@ -0,0 +1,52 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..3f3288d9fc32 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json new file mode 100644 index 000000000000..27f896c6ff11 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json @@ -0,0 +1,57 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json new file mode 100644 index 000000000000..4b4bae7d6c31 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json @@ -0,0 +1,81 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..74ccac9ed0e0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..a914cfaa7b54 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..aadf367454c5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..d706fc1c592f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1aa6f1c38841 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..58511f501dfe --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..27a6391e135c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,564 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..15a266c726e9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..a77dbee34a1d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json @@ -0,0 +1,218 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..82d8fa80d062 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,222 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..ed69e3298ee0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,221 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..9664ce231521 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-10-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..02a466a3ad9b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json @@ -0,0 +1,361 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..620695d96801 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..408742addf05 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..f2c400575e0e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..d12d696e74bf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..20f6b6f90267 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..398baf2b1245 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..f91ff5393234 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..44e829068849 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..48d032ce058f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..81c56e193c3c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..a4f6bbfcac32 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..524bc8b6253b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..200c18b170d6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..f6a0ed219a01 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..266c8b7c0f9c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..81e88f82b374 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..c41834e46777 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..2820b913d6c8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..98ca3c717a55 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..adf24f3e00af --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..821882f3c021 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..b6d95b7d2e7f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..857d3133d7ed --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..c6566524f763 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..58cbc587f957 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..886b87ed4864 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..8f3e2753e2ca --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..1de204c66f1b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..a83d87ba75f6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..cade59094581 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..38858b6b1a89 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..196f540034d6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..a1a732462fe7 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..cc3fb34fba62 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..942729f39024 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..7761238dd938 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..e5563a86383a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..0b9e66cde8dd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..8b55ad1ccd06 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..966b230e7714 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,329 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..22109d1c8257 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..4543c62c4ad6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,129 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..1577e5f356ad --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,133 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..5658dfa7f86d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..0ddc8bf21d8d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,225 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..6196986fcfa8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..6e06ea6e513c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..c8d33a0ae87a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..150f46b1731c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..1a4b02ce550b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..39055075b22b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json new file mode 100644 index 000000000000..9d2ccc086f42 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -0,0 +1,7113 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2024-10-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + }, + { + "name": "Approval" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.Mission/approvals": { + "get": { + "operationId": "Approval_ListByParent", + "tags": [ + "Approval" + ], + "description": "List ApprovalResource resources by parent", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_ListByParent": { + "$ref": "./examples/Approvals_ListByParent.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { + "get": { + "operationId": "Approval_Get", + "tags": [ + "Approval" + ], + "description": "Get a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Get": { + "$ref": "./examples/Approvals_Get.json" + } + } + }, + "put": { + "operationId": "Approval_CreateOrUpdate", + "tags": [ + "Approval" + ], + "description": "Create a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApprovalResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "201": { + "description": "Resource 'ApprovalResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_CreateOrUpdate": { + "$ref": "./examples/Approvals_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Approval_Update", + "tags": [ + "Approval" + ], + "description": "Update a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Approval_Delete", + "tags": [ + "Approval" + ], + "description": "Delete a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { + "post": { + "operationId": "Approval_InitiatorCallback", + "tags": [ + "Approval" + ], + "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/InitiatorCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InitiatorCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_InitiatorCallback": { + "$ref": "./examples/Approvals_InitiatorCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", + "tags": [ + "Community" + ], + "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ActionPerformed": { + "type": "string", + "description": "Specifies the action performed by the approver", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "ActionPerformed", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ActionPerformed Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ActionPerformed Type Rejected" + } + ] + } + }, + "ApprovalCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id of the item being approved or rejected" + }, + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", + "enum": [ + "Create", + "Delete", + "Update", + "Reset" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceId", + "resourceRequestAction", + "approvalStatus" + ] + }, + "ApprovalCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalDeletionCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", + "enum": [ + "Create", + "Delete", + "Update" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceRequestAction" + ] + }, + "ApprovalDeletionCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalDeletionCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalProperties": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "minimumApproversRequired": { + "type": "integer", + "format": "int64", + "description": "Minimum number of approvers required for the approval request" + } + }, + "required": [ + "requestMetadata" + ] + }, + "ApprovalPropertiesUpdate": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdate", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "minimumApproversRequired": { + "type": "integer", + "format": "int64", + "description": "Minimum number of approvers required for the approval request" + } + } + }, + "ApprovalResource": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalResourceListResult": { + "type": "object", + "description": "The response of a ApprovalResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApprovalResource items on this page", + "items": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalStatus": { + "type": "string", + "description": "Approval Status Enum", + "enum": [ + "Approved", + "Rejected", + "Pending" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + } + ] + } + }, + "Approvers": { + "type": "object", + "description": "Approver Metadata for approvals request.", + "properties": { + "approverEntraId": { + "type": "string", + "description": "EntraId of the approver" + }, + "actionPerformed": { + "$ref": "#/definitions/ActionPerformed", + "description": "Action Performed by approver" + }, + "lastUpdatedAt": { + "type": "string", + "format": "date-time", + "description": "approval request last updated at" + } + }, + "required": [ + "approverEntraId", + "actionPerformed", + "lastUpdatedAt" + ] + }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "DiagnosticDestination": { + "type": "string", + "description": "Specifies the destination of where to store diagnostic logs.", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + } + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + }, + "logAnalyticsResourceIdCollection": { + "type": "array", + "description": "Log Analytics Resource Ids.", + "items": { + "$ref": "#/definitions/LogAnalyticsResourceId" + } + }, + "diagnosticDestination": { + "$ref": "#/definitions/DiagnosticDestination", + "description": "Diagnostic Destination." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointPropertiesUpdate": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "GovernedServiceItem": { + "type": "object", + "description": "GovernedServiceItem Properties", + "properties": { + "id": { + "$ref": "#/definitions/ServiceIdentifier", + "description": "service id" + }, + "name": { + "type": "string", + "description": "service name", + "readOnly": true + }, + "option": { + "type": "string", + "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "enum": [ + "Allow", + "Deny", + "ExceptionOnly", + "NotApplicable" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "enforcement": { + "type": "string", + "description": "initiative enforcement (Enabled or Disabled).", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "auditOnly": { + "type": "boolean", + "description": "policies set to auditOnly (True or False)." + }, + "initiatives": { + "type": "array", + "description": "initiatives associated with this service", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "id" + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InitiatorCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "InitiatorCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "MaintenanceModeConfiguration": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "mode" + ] + }, + "MaintenanceModeConfigurationUpdate": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "Principal": { + "type": "object", + "description": "Principal for maintenance mode or role assignments", + "properties": { + "id": { + "type": "string", + "description": "The object id associated with the principal" + }, + "type": { + "type": "string", + "description": "The type of the object id. We currently allow users, groups, and service principals", + "enum": [ + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "id", + "type" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "RequestMetadata": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + }, + "required": [ + "resourceAction" + ] + }, + "RequestMetadataUpdate": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + } + }, + "RoleAssignmentItem": { + "type": "object", + "description": "Role assignment item that indicates which principals should be assigned this role definition", + "properties": { + "id": { + "type": "string", + "description": "Role definition identifier" + }, + "principals": { + "type": "array", + "description": "List of principal IDs to which to assign this role definition", + "items": { + "$ref": "#/definitions/Principal" + } + } + }, + "required": [ + "id" + ] + }, + "ServiceIdentifier": { + "type": "string", + "description": "Identifier for governed services.", + "enum": [ + "AKS", + "AppService", + "AzureFirewalls", + "ContainerRegistry", + "CosmosDB", + "DataConnectors", + "Insights", + "KeyVault", + "Logic", + "MicrosoftSQL", + "Monitoring", + "PostgreSQL", + "PrivateDNSZones", + "ServiceBus", + "Storage" + ], + "x-ms-enum": { + "name": "ServiceIdentifier", + "modelAsString": true, + "values": [ + { + "name": "AKS", + "value": "AKS", + "description": "Service identifier for AKS" + }, + { + "name": "AppService", + "value": "AppService", + "description": "Service identifier for App Service" + }, + { + "name": "AzureFirewalls", + "value": "AzureFirewalls", + "description": "Service identifier for Azure Firewalls" + }, + { + "name": "ContainerRegistry", + "value": "ContainerRegistry", + "description": "Service identifier for Container Registry" + }, + { + "name": "CosmosDB", + "value": "CosmosDB", + "description": "Service identifier for CosmosDB" + }, + { + "name": "DataConnectors", + "value": "DataConnectors", + "description": "Service identifier for Data Connectors" + }, + { + "name": "Insights", + "value": "Insights", + "description": "Service identifier for Insights" + }, + { + "name": "KeyVault", + "value": "KeyVault", + "description": "Service identifier for Key Vault" + }, + { + "name": "Logic", + "value": "Logic", + "description": "Service identifier for Logic" + }, + { + "name": "MicrosoftSql", + "value": "MicrosoftSQL", + "description": "Service identifier for Microsoft SQL" + }, + { + "name": "Monitoring", + "value": "Monitoring", + "description": "Service identifier for Monitoring" + }, + { + "name": "PostgreSql", + "value": "PostgreSQL", + "description": "Service identifier for PostgreSQL" + }, + { + "name": "PrivateDNSZones", + "value": "PrivateDNSZones", + "description": "Service identifier for Private DNS Zones" + }, + { + "name": "ServiceBus", + "value": "ServiceBus", + "description": "Service identifier for Service Bus" + }, + { + "name": "Storage", + "value": "Storage", + "description": "Service identifier for Storage" + } + ] + } + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "SubnetConfiguration": { + "type": "object", + "description": "Subnet Configuration", + "properties": { + "name": { + "type": "string", + "description": "Subnet name." + }, + "id": { + "type": "string", + "format": "arm-id", + "description": "Subnet ID.", + "readOnly": true + }, + "networkPrefixSize": { + "type": "integer", + "format": "int32", + "description": "Network prefix size." + }, + "subnetDelegation": { + "type": "string", + "description": "Subnet delegation." + }, + "addressPrefix": { + "type": "string", + "description": "Address prefix.", + "readOnly": true + }, + "networkSecurityGroupId": { + "type": "string", + "format": "arm-id", + "description": "Network security group ID.", + "readOnly": true + } + }, + "required": [ + "name", + "networkPrefixSize" + ] + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/specification/mission/resource-manager/readme.az.md b/specification/mission/resource-manager/readme.az.md new file mode 100644 index 000000000000..55ce2d907c35 --- /dev/null +++ b/specification/mission/resource-manager/readme.az.md @@ -0,0 +1,28 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. + +``` yaml $(az) && $(target-mode) != 'core' +az: + extensions: mission + namespace: azure.mgmt.mission + package-name: azure-mgmt-mission +az-output-folder: $(azure-cli-extension-folder)/src/mission +python-sdk-output-folder: "$(az-output-folder)/azext_mission/vendored_sdks/mission" +# add additional configuration here specific for Azure CLI +# refer to the faq.md for more details +``` + + + +This is for command modules that already in azure cli main repo. +``` yaml $(az) && $(target-mode) == 'core' +az: + extensions: mission + namespace: azure.mgmt.mission + package-name: azure-mgmt-mission +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/mission +python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/mission" +``` \ No newline at end of file diff --git a/specification/mission/resource-manager/readme.cli.md b/specification/mission/resource-manager/readme.cli.md new file mode 100644 index 000000000000..c6cf6ad37ea4 --- /dev/null +++ b/specification/mission/resource-manager/readme.cli.md @@ -0,0 +1 @@ +## CLI Common Settings for all the command line tools \ No newline at end of file diff --git a/specification/mission/resource-manager/readme.csharp.md b/specification/mission/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..f8860f65378e --- /dev/null +++ b/specification/mission/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.Mission + output-folder: $(csharp-sdks-folder)/mission/management/Microsoft.Mission/GeneratedProtocol +``` diff --git a/specification/mission/resource-manager/readme.go.md b/specification/mission/resource-manager/readme.go.md new file mode 100644 index 000000000000..33c3f3ca4132 --- /dev/null +++ b/specification/mission/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/mission/armmission +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/mission/resource-manager/readme.python.md b/specification/mission/resource-manager/readme.python.md new file mode 100644 index 000000000000..d838cd3fdcff --- /dev/null +++ b/specification/mission/resource-manager/readme.python.md @@ -0,0 +1,18 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-mission +namespace: azure.mgmt.mission +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/mission/azure-mgmt-mission/azure/mgmt/mission +``` diff --git a/specification/mission/resource-manager/readme.typescript.md b/specification/mission/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..d12b48fd3cdf --- /dev/null +++ b/specification/mission/resource-manager/readme.typescript.md @@ -0,0 +1,14 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-mission" + output-folder: "$(typescript-sdks-folder)/sdk/mission/arm-mission" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +``` From 75f95494bc72cb90c592b43828b39ffe96c927d1 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 27 Jan 2025 08:58:17 -0600 Subject: [PATCH 03/89] Add only version 2024-01-01 preview --- .../Approvals_CreateOrUpdate.json | 72 - .../2024-06-01-preview/Approvals_Delete.json | 25 - .../2024-06-01-preview/Approvals_Get.json | 37 - .../Approvals_InitiatorCallback.json | 28 - .../Approvals_ListByParent.json | 42 - .../2024-06-01-preview/Approvals_Update.json | 51 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../CommunityEndpoints_Delete.json | 26 - .../CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../CommunityEndpoints_Update.json | 69 - .../Community_CreateOrUpdate.json | 492 -- .../2024-06-01-preview/Community_Delete.json | 25 - .../2024-06-01-preview/Community_Get.json | 194 - .../Community_ListByResourceGroup.json | 198 - .../Community_ListBySubscription.json | 197 - ...ity_PostCheckAddressSpaceAvailability.json | 33 - .../2024-06-01-preview/Community_Update.json | 313 - ...veConnection_ApprovalDeletionCallback.json | 27 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../EnclaveConnection_Delete.json | 25 - .../EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - ...nclaveConnection_PostApprovalCallback.json | 29 - .../EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../EnclaveEndpoints_Delete.json | 26 - .../EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../EnclaveEndpoints_Update.json | 67 - .../Endpoint_CreateOrUpdate.json | 92 - .../2024-06-01-preview/Endpoint_Delete.json | 26 - .../2024-06-01-preview/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../Endpoint_ListBySubscription.json | 46 - .../2024-06-01-preview/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../ExternalConnections_Delete.json | 25 - .../ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../InternalConnections_Delete.json | 25 - .../InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../InternalConnections_Update.json | 70 - .../2024-06-01-preview/Operations_List.json | 28 - .../TransitHub_CreateOrUpdate.json | 98 - .../2024-06-01-preview/TransitHub_Delete.json | 26 - .../2024-06-01-preview/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../2024-06-01-preview/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 197 - .../VirtualEnclave_Delete.json | 25 - .../VirtualEnclave_Get.json | 85 - .../VirtualEnclave_ListByResourceGroup.json | 89 - .../VirtualEnclave_ListBySubscription.json | 88 - .../VirtualEnclave_Update.json | 137 - .../Workload_CreateOrUpdate.json | 71 - .../2024-06-01-preview/Workload_Delete.json | 26 - .../2024-06-01-preview/Workload_Get.json | 38 - .../Workload_ListByEnclaveResource.json | 42 - .../Workload_ListBySubscription.json | 41 - .../2024-06-01-preview/Workload_Update.json | 53 - .../Approvals_CreateOrUpdate.json | 117 - .../2024-10-01-preview/Approvals_Delete.json | 25 - .../2024-10-01-preview/Approvals_Get.json | 52 - .../Approvals_InitiatorCallback.json | 28 - .../Approvals_ListByParent.json | 57 - .../2024-10-01-preview/Approvals_Update.json | 81 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../CommunityEndpoints_Delete.json | 26 - .../CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../CommunityEndpoints_Update.json | 69 - .../Community_CreateOrUpdate.json | 564 -- .../2024-10-01-preview/Community_Delete.json | 25 - .../2024-10-01-preview/Community_Get.json | 218 - .../Community_ListByResourceGroup.json | 222 - .../Community_ListBySubscription.json | 221 - ...ity_PostCheckAddressSpaceAvailability.json | 33 - .../2024-10-01-preview/Community_Update.json | 361 - ...veConnection_ApprovalDeletionCallback.json | 27 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../EnclaveConnection_Delete.json | 25 - .../EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - ...nclaveConnection_PostApprovalCallback.json | 29 - .../EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../EnclaveEndpoints_Delete.json | 26 - .../EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../EnclaveEndpoints_Update.json | 67 - .../Endpoint_CreateOrUpdate.json | 92 - .../2024-10-01-preview/Endpoint_Delete.json | 26 - .../2024-10-01-preview/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../Endpoint_ListBySubscription.json | 46 - .../2024-10-01-preview/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../ExternalConnections_Delete.json | 25 - .../ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../InternalConnections_Delete.json | 25 - .../InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../InternalConnections_Update.json | 70 - .../2024-10-01-preview/Operations_List.json | 28 - .../TransitHub_CreateOrUpdate.json | 98 - .../2024-10-01-preview/TransitHub_Delete.json | 26 - .../2024-10-01-preview/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../2024-10-01-preview/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 329 - .../VirtualEnclave_Delete.json | 25 - .../VirtualEnclave_Get.json | 129 - .../VirtualEnclave_ListByResourceGroup.json | 133 - .../VirtualEnclave_ListBySubscription.json | 132 - .../VirtualEnclave_Update.json | 225 - .../Workload_CreateOrUpdate.json | 71 - .../2024-10-01-preview/Workload_Delete.json | 26 - .../2024-10-01-preview/Workload_Get.json | 38 - .../Workload_ListByEnclaveResource.json | 42 - .../Workload_ListBySubscription.json | 41 - .../2024-10-01-preview/Workload_Update.json | 53 - .../Community_CreateOrUpdate.json | 34 +- .../2024-11-01-preview/Community_Get.json | 12 +- .../Community_ListByResourceGroup.json | 12 +- .../Community_ListBySubscription.json | 12 +- .../resourcetypes/community/community.tsp | 4 + specification/mission/cspell.yaml | 17 + .../examples/Approvals_CreateOrUpdate.json | 72 - .../examples/Approvals_Delete.json | 25 - .../examples/Approvals_Get.json | 37 - .../examples/Approvals_InitiatorCallback.json | 28 - .../examples/Approvals_ListByParent.json | 42 - .../examples/Approvals_Update.json | 51 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../examples/CommunityEndpoints_Delete.json | 26 - .../examples/CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../examples/CommunityEndpoints_Update.json | 69 - .../examples/Community_CreateOrUpdate.json | 492 -- .../examples/Community_Delete.json | 25 - .../examples/Community_Get.json | 194 - .../Community_ListByResourceGroup.json | 198 - .../Community_ListBySubscription.json | 197 - ...ity_PostCheckAddressSpaceAvailability.json | 33 - .../examples/Community_Update.json | 313 - ...veConnection_ApprovalDeletionCallback.json | 27 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../examples/EnclaveConnection_Delete.json | 25 - .../examples/EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - ...nclaveConnection_PostApprovalCallback.json | 29 - .../examples/EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../examples/EnclaveEndpoints_Delete.json | 26 - .../examples/EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../examples/EnclaveEndpoints_Update.json | 67 - .../examples/Endpoint_CreateOrUpdate.json | 92 - .../examples/Endpoint_Delete.json | 26 - .../examples/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../examples/Endpoint_ListBySubscription.json | 46 - .../examples/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../examples/ExternalConnections_Delete.json | 25 - .../examples/ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../examples/ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../examples/InternalConnections_Delete.json | 25 - .../examples/InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../examples/InternalConnections_Update.json | 70 - .../examples/Operations_List.json | 28 - .../examples/TransitHub_CreateOrUpdate.json | 98 - .../examples/TransitHub_Delete.json | 26 - .../examples/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../examples/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 197 - .../examples/VirtualEnclave_Delete.json | 25 - .../examples/VirtualEnclave_Get.json | 85 - .../VirtualEnclave_ListByResourceGroup.json | 89 - .../VirtualEnclave_ListBySubscription.json | 88 - .../examples/VirtualEnclave_Update.json | 137 - .../examples/Workload_CreateOrUpdate.json | 71 - .../examples/Workload_Delete.json | 26 - .../examples/Workload_Get.json | 38 - .../Workload_ListByEnclaveResource.json | 42 - .../examples/Workload_ListBySubscription.json | 41 - .../examples/Workload_Update.json | 53 - .../preview/2024-06-01-preview/openapi.json | 6960 ---------------- .../examples/Approvals_CreateOrUpdate.json | 117 - .../examples/Approvals_Delete.json | 25 - .../examples/Approvals_Get.json | 52 - .../examples/Approvals_InitiatorCallback.json | 28 - .../examples/Approvals_ListByParent.json | 57 - .../examples/Approvals_Update.json | 81 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../examples/CommunityEndpoints_Delete.json | 26 - .../examples/CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../examples/CommunityEndpoints_Update.json | 69 - .../examples/Community_CreateOrUpdate.json | 564 -- .../examples/Community_Delete.json | 25 - .../examples/Community_Get.json | 218 - .../Community_ListByResourceGroup.json | 222 - .../Community_ListBySubscription.json | 221 - ...ity_PostCheckAddressSpaceAvailability.json | 33 - .../examples/Community_Update.json | 361 - ...veConnection_ApprovalDeletionCallback.json | 27 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../examples/EnclaveConnection_Delete.json | 25 - .../examples/EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - ...nclaveConnection_PostApprovalCallback.json | 29 - .../examples/EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../examples/EnclaveEndpoints_Delete.json | 26 - .../examples/EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../examples/EnclaveEndpoints_Update.json | 67 - .../examples/Endpoint_CreateOrUpdate.json | 92 - .../examples/Endpoint_Delete.json | 26 - .../examples/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../examples/Endpoint_ListBySubscription.json | 46 - .../examples/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../examples/ExternalConnections_Delete.json | 25 - .../examples/ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../examples/ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../examples/InternalConnections_Delete.json | 25 - .../examples/InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../examples/InternalConnections_Update.json | 70 - .../examples/Operations_List.json | 28 - .../examples/TransitHub_CreateOrUpdate.json | 98 - .../examples/TransitHub_Delete.json | 26 - .../examples/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../examples/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 329 - .../examples/VirtualEnclave_Delete.json | 25 - .../examples/VirtualEnclave_Get.json | 129 - .../VirtualEnclave_ListByResourceGroup.json | 133 - .../VirtualEnclave_ListBySubscription.json | 132 - .../examples/VirtualEnclave_Update.json | 225 - .../examples/Workload_CreateOrUpdate.json | 71 - .../examples/Workload_Delete.json | 26 - .../examples/Workload_Get.json | 38 - .../Workload_ListByEnclaveResource.json | 42 - .../examples/Workload_ListBySubscription.json | 41 - .../examples/Workload_Update.json | 53 - .../preview/2024-10-01-preview/openapi.json | 7113 ----------------- .../examples/Community_CreateOrUpdate.json | 34 +- .../examples/Community_Get.json | 12 +- .../Community_ListByResourceGroup.json | 12 +- .../Community_ListBySubscription.json | 12 +- .../preview/2024-11-01-preview/openapi.json | 56 +- 293 files changed, 206 insertions(+), 35274 deletions(-) delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json create mode 100644 specification/mission/cspell.yaml delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json deleted file mode 100644 index 1cac517c3506..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "title": "Approval_CreateOrUpdate", - "operationId": "Approval_CreateOrUpdate", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resource": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json deleted file mode 100644 index 611df2fd2015..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Approval_Delete", - "operationId": "Approval_Delete", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json deleted file mode 100644 index b82d8110850b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "title": "Approval_Get", - "operationId": "Approval_Get", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json deleted file mode 100644 index 1842692a0cf3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "Approval_InitiatorCallback", - "title": "Approval_InitiatorCallback", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "body": { - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval initiator callback handled successfully" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json deleted file mode 100644 index ccc3fec7cd3c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Approval_ListByParent", - "operationId": "Approval_ListByParent", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json deleted file mode 100644 index 7afa25831ff1..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "Approval_Update", - "operationId": "Approval_Update", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "properties": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index e9e453a7e223..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json deleted file mode 100644 index 69004ced5d20..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json deleted file mode 100644 index a21229f9fd1a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index 0958612bc8af..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index a691f2e19299..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json deleted file mode 100644 index 4fb6deabc133..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json deleted file mode 100644 index 8482bd965c2e..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json +++ /dev/null @@ -1,492 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json deleted file mode 100644 index 6b197f36646f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json deleted file mode 100644 index 018c8a26fb58..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json deleted file mode 100644 index 56ad188c2c05..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json deleted file mode 100644 index 04eef7441ba6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 084f1426588d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "operationId": "Community_CheckAddressSpaceAvailability", - "title": "Community_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - } - }, - "api-version": "2024-06-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json deleted file mode 100644 index 055952d03613..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json +++ /dev/null @@ -1,313 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json deleted file mode 100644 index 278ef0d9a686..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "title": "EnclaveConnection_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 94258eed37c2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json deleted file mode 100644 index 00c0a30615b4..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json deleted file mode 100644 index 3fa04ce12bf2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 6e181e4f0e9a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index baead581952a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json deleted file mode 100644 index 206bb94c0561..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalCallback", - "title": "EnclaveConnection_ApprovalCallback", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json deleted file mode 100644 index a2c6bde2e52a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 81a6c1647393..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json deleted file mode 100644 index 49b07e7bcf1c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json deleted file mode 100644 index 4bf0a2d69eb8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index ffcf98d6bdf3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 1bf13598e8f4..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json deleted file mode 100644 index 040f651d0dea..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index f41d7c93eff1..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json deleted file mode 100644 index 1d8e3b476724..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json deleted file mode 100644 index d1142156985e..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 13160e1b1262..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index 35304bd10dc8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json deleted file mode 100644 index 1ea96ea0e8d2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 042d1106a0e1..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index e7067ba7a88f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json deleted file mode 100644 index 950b5a4d4461..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 81d4dfc9db14..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 9f5104950ba9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json deleted file mode 100644 index f0f31a3cd7e3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 731348692bf9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json deleted file mode 100644 index ebddfc1f5737..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json deleted file mode 100644 index e895fe521b7f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index 1e24e5e7ae76..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index 087c12f341a2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json deleted file mode 100644 index 9eb6146a487f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json deleted file mode 100644 index 72de8204210a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json deleted file mode 100644 index 39b7954164b3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json deleted file mode 100644 index d258ea734eec..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json deleted file mode 100644 index 9bf51dd8fded..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json deleted file mode 100644 index 316af739cb68..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithub", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json deleted file mode 100644 index 23a168cb6545..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json deleted file mode 100644 index 2af1837aecf5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index c8a513bece31..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json deleted file mode 100644 index 064c12f5f292..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json deleted file mode 100644 index 740410f9e520..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 8564e46567f3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 409f400b5dbc..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json deleted file mode 100644 index 078b9363b307..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json deleted file mode 100644 index 0a5a0d9aa633..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json deleted file mode 100644 index 9ce19f4440e1..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json deleted file mode 100644 index 4ec1e7854f23..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json deleted file mode 100644 index 1d4f9bc83d45..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json deleted file mode 100644 index e3895932704e..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json deleted file mode 100644 index 5b2d97641474..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "resourceGroupCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json deleted file mode 100644 index af21bae61e74..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "title": "Approval_CreateOrUpdate", - "operationId": "Approval_CreateOrUpdate", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resource": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json deleted file mode 100644 index 598be1195ae0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Approval_Delete", - "operationId": "Approval_Delete", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json deleted file mode 100644 index 70686559cae9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "title": "Approval_Get", - "operationId": "Approval_Get", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json deleted file mode 100644 index 3f3288d9fc32..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "Approval_InitiatorCallback", - "title": "Approval_InitiatorCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "body": { - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval initiator callback handled successfully" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json deleted file mode 100644 index 27f896c6ff11..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "title": "Approval_ListByParent", - "operationId": "Approval_ListByParent", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json deleted file mode 100644 index 4b4bae7d6c31..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "title": "Approval_Update", - "operationId": "Approval_Update", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "properties": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index 74ccac9ed0e0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json deleted file mode 100644 index a914cfaa7b54..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json deleted file mode 100644 index aadf367454c5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index d706fc1c592f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 1aa6f1c38841..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json deleted file mode 100644 index 58511f501dfe..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json deleted file mode 100644 index 27a6391e135c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json +++ /dev/null @@ -1,564 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json deleted file mode 100644 index 15a266c726e9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json deleted file mode 100644 index a77dbee34a1d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json deleted file mode 100644 index 82d8fa80d062..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json deleted file mode 100644 index ed69e3298ee0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 9664ce231521..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "operationId": "Community_CheckAddressSpaceAvailability", - "title": "Community_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - } - }, - "api-version": "2024-10-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json deleted file mode 100644 index 02a466a3ad9b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json +++ /dev/null @@ -1,361 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json deleted file mode 100644 index 620695d96801..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "title": "EnclaveConnection_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 408742addf05..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json deleted file mode 100644 index f2c400575e0e..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json deleted file mode 100644 index d12d696e74bf..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 20f6b6f90267..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 398baf2b1245..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json deleted file mode 100644 index f91ff5393234..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalCallback", - "title": "EnclaveConnection_ApprovalCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json deleted file mode 100644 index 44e829068849..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 48d032ce058f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json deleted file mode 100644 index 81c56e193c3c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json deleted file mode 100644 index a4f6bbfcac32..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 524bc8b6253b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 200c18b170d6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json deleted file mode 100644 index f6a0ed219a01..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 266c8b7c0f9c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json deleted file mode 100644 index 81e88f82b374..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json deleted file mode 100644 index c41834e46777..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 2820b913d6c8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index 98ca3c717a55..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json deleted file mode 100644 index adf24f3e00af..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 821882f3c021..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index b6d95b7d2e7f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json deleted file mode 100644 index 857d3133d7ed..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index c6566524f763..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 58cbc587f957..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json deleted file mode 100644 index 886b87ed4864..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 8f3e2753e2ca..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json deleted file mode 100644 index 1de204c66f1b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json deleted file mode 100644 index a83d87ba75f6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index cade59094581..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index 38858b6b1a89..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json deleted file mode 100644 index 196f540034d6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json deleted file mode 100644 index a1a732462fe7..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json deleted file mode 100644 index cc3fb34fba62..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json deleted file mode 100644 index 942729f39024..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json deleted file mode 100644 index 7761238dd938..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json deleted file mode 100644 index e5563a86383a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithub", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json deleted file mode 100644 index 0b9e66cde8dd..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json deleted file mode 100644 index 8b55ad1ccd06..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 966b230e7714..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,329 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json deleted file mode 100644 index 22109d1c8257..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json deleted file mode 100644 index 4543c62c4ad6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 1577e5f356ad..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 5658dfa7f86d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json deleted file mode 100644 index 0ddc8bf21d8d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json deleted file mode 100644 index 6196986fcfa8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json deleted file mode 100644 index 6e06ea6e513c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json deleted file mode 100644 index c8d33a0ae87a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json deleted file mode 100644 index 150f46b1731c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json deleted file mode 100644 index 1a4b02ce550b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json deleted file mode 100644 index 39055075b22b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "resourceGroupCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json index 6af06ff670ed..033dd5398a1c 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json @@ -149,6 +149,16 @@ "enclaveDeletion": "NotRequired", "maintenanceMode": "NotRequired", "serviceCatalogDeployment": "NotRequired" + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" } }, "tags": { @@ -345,7 +355,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" @@ -554,7 +574,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json index 5b9c2020c97c..426b9646910a 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json @@ -195,7 +195,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json index f8cb19e9e4f4..52af74bfc100 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json @@ -196,7 +196,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json index 52f9e6563073..d1a725eef584 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json @@ -195,7 +195,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 71da0b7de405..7cf8e557210c 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -211,4 +211,8 @@ model CommunityProperties { @added(Microsoft.Mission.Versions.v2024_11_01_preview) @doc("Approval requirements for various actions on the community's resources.") approvalSettings?: ApprovalSettings; + + @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @doc("Maintenance Mode configuration.") + maintenanceModeConfiguration?: MaintenanceModeConfiguration; } diff --git a/specification/mission/cspell.yaml b/specification/mission/cspell.yaml new file mode 100644 index 000000000000..884a5279e75e --- /dev/null +++ b/specification/mission/cspell.yaml @@ -0,0 +1,17 @@ +# This file configures spell checking. Items in "words" were initially populated +# with words that might be spelling errors. Review these words and take +# appropriate action. For more information, see: https://aka.ms/ci-fix#spell-check + +# Spell checking is not case sensitive +# Keep word lists in alphabetical order so the file is easier to manage +import: + - ../../cspell.yaml +words: + - initator + - resourceid +overrides: + - filename: >- + **/specification/mission/Mission.Management/resourcetypes/community/community.tsp + words: + - roleassignmentitem + diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json deleted file mode 100644 index 1cac517c3506..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "title": "Approval_CreateOrUpdate", - "operationId": "Approval_CreateOrUpdate", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resource": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json deleted file mode 100644 index 611df2fd2015..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Approval_Delete", - "operationId": "Approval_Delete", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json deleted file mode 100644 index b82d8110850b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "title": "Approval_Get", - "operationId": "Approval_Get", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json deleted file mode 100644 index 1842692a0cf3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "Approval_InitiatorCallback", - "title": "Approval_InitiatorCallback", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "body": { - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval initiator callback handled successfully" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json deleted file mode 100644 index ccc3fec7cd3c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Approval_ListByParent", - "operationId": "Approval_ListByParent", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json deleted file mode 100644 index 7afa25831ff1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "Approval_Update", - "operationId": "Approval_Update", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-06-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "properties": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - } - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index e9e453a7e223..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json deleted file mode 100644 index 69004ced5d20..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json deleted file mode 100644 index a21229f9fd1a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index 0958612bc8af..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index a691f2e19299..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json deleted file mode 100644 index 4fb6deabc133..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json deleted file mode 100644 index 8482bd965c2e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json +++ /dev/null @@ -1,492 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json deleted file mode 100644 index 6b197f36646f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json deleted file mode 100644 index 018c8a26fb58..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json deleted file mode 100644 index 56ad188c2c05..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json +++ /dev/null @@ -1,198 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json deleted file mode 100644 index 04eef7441ba6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 084f1426588d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "operationId": "Community_CheckAddressSpaceAvailability", - "title": "Community_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - } - }, - "api-version": "2024-06-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json deleted file mode 100644 index 055952d03613..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json +++ /dev/null @@ -1,313 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json deleted file mode 100644 index 278ef0d9a686..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "title": "EnclaveConnection_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 94258eed37c2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json deleted file mode 100644 index 00c0a30615b4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json deleted file mode 100644 index 3fa04ce12bf2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 6e181e4f0e9a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index baead581952a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json deleted file mode 100644 index 206bb94c0561..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalCallback", - "title": "EnclaveConnection_ApprovalCallback", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json deleted file mode 100644 index a2c6bde2e52a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 81a6c1647393..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json deleted file mode 100644 index 49b07e7bcf1c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json deleted file mode 100644 index 4bf0a2d69eb8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index ffcf98d6bdf3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 1bf13598e8f4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json deleted file mode 100644 index 040f651d0dea..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index f41d7c93eff1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 1d8e3b476724..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index d1142156985e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 13160e1b1262..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index 35304bd10dc8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index 1ea96ea0e8d2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 042d1106a0e1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index e7067ba7a88f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index 950b5a4d4461..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 81d4dfc9db14..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 9f5104950ba9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index f0f31a3cd7e3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 731348692bf9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index ebddfc1f5737..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index e895fe521b7f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index 1e24e5e7ae76..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index 087c12f341a2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index 9eb6146a487f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json deleted file mode 100644 index 72de8204210a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-06-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json deleted file mode 100644 index 39b7954164b3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json deleted file mode 100644 index d258ea734eec..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json deleted file mode 100644 index 9bf51dd8fded..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json deleted file mode 100644 index 316af739cb68..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithub", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json deleted file mode 100644 index 23a168cb6545..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json deleted file mode 100644 index 2af1837aecf5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index c8a513bece31..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,197 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json deleted file mode 100644 index 064c12f5f292..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json deleted file mode 100644 index 740410f9e520..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 8564e46567f3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 409f400b5dbc..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json deleted file mode 100644 index 078b9363b307..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json deleted file mode 100644 index 0a5a0d9aa633..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json deleted file mode 100644 index 9ce19f4440e1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json deleted file mode 100644 index 4ec1e7854f23..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json deleted file mode 100644 index 1d4f9bc83d45..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json deleted file mode 100644 index e3895932704e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json deleted file mode 100644 index 5b2d97641474..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "resourceGroupCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json deleted file mode 100644 index c2507d5c5674..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ /dev/null @@ -1,6960 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2024-06-01-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Workload" - }, - { - "name": "Endpoint" - }, - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "InternalConnections" - }, - { - "name": "TransitHub" - }, - { - "name": "EnclaveConnection" - }, - { - "name": "EnclaveEndpoints" - }, - { - "name": "CommunityEndpoints" - }, - { - "name": "ExternalConnections" - }, - { - "name": "Approval" - } - ], - "paths": { - "/{resourceUri}/providers/Microsoft.Mission/approvals": { - "get": { - "operationId": "Approval_ListByParent", - "tags": [ - "Approval" - ], - "description": "List ApprovalResource resources by parent", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_ListByParent": { - "$ref": "./examples/Approvals_ListByParent.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { - "get": { - "operationId": "Approval_Get", - "tags": [ - "Approval" - ], - "description": "Get a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Get": { - "$ref": "./examples/Approvals_Get.json" - } - } - }, - "put": { - "operationId": "Approval_CreateOrUpdate", - "tags": [ - "Approval" - ], - "description": "Create a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ApprovalResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "201": { - "description": "Resource 'ApprovalResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/ApprovalResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_CreateOrUpdate": { - "$ref": "./examples/Approvals_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Approval_Update", - "tags": [ - "Approval" - ], - "description": "Update a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Update": { - "$ref": "./examples/Approvals_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Approval_Delete", - "tags": [ - "Approval" - ], - "description": "Delete a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Delete": { - "$ref": "./examples/Approvals_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { - "post": { - "operationId": "Approval_InitiatorCallback", - "tags": [ - "Approval" - ], - "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/InitiatorCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InitiatorCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_InitiatorCallback": { - "$ref": "./examples/Approvals_InitiatorCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.Mission/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListBySubscription", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListBySubscription": { - "$ref": "./examples/Community_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListBySubscription", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListBySubscription": { - "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListBySubscription", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListBySubscription": { - "$ref": "./examples/TransitHub_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListBySubscription", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListBySubscription": { - "$ref": "./examples/EnclaveConnection_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListBySubscription", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription": { - "$ref": "./examples/VirtualEnclave_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListBySubscription", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListBySubscription": { - "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListBySubscription", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListBySubscription": { - "$ref": "./examples/Workload_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListByResourceGroup", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListByResourceGroup": { - "$ref": "./examples/Community_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "operationId": "Community_Get", - "tags": [ - "Community" - ], - "description": "Get a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get": { - "$ref": "./examples/Community_Get.json" - } - } - }, - "put": { - "operationId": "Community_CreateOrUpdate", - "tags": [ - "Community" - ], - "description": "Create a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "201": { - "description": "Resource 'CommunityResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CreateOrUpdate": { - "$ref": "./examples/Community_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Community_Update", - "tags": [ - "Community" - ], - "description": "Update a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", - "tags": [ - "Community" - ], - "description": "Delete a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "Community_CheckAddressSpaceAvailability", - "tags": [ - "Community" - ], - "description": "Checks that the IP Address Space to be allocated for this Community is available.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CheckAddressSpaceAvailability": { - "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListByCommunityResource", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListByCommunityResource": { - "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { - "get": { - "operationId": "CommunityEndpoints_Get", - "tags": [ - "CommunityEndpoints" - ], - "description": "Get a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Get": { - "$ref": "./examples/CommunityEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "CommunityEndpoints_CreateOrUpdate", - "tags": [ - "CommunityEndpoints" - ], - "description": "Create a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "201": { - "description": "Resource 'CommunityEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_CreateOrUpdate": { - "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CommunityEndpoints_Update", - "tags": [ - "CommunityEndpoints" - ], - "description": "Update a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", - "tags": [ - "CommunityEndpoints" - ], - "description": "Delete a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListByCommunityResource", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListByCommunityResource": { - "$ref": "./examples/TransitHub_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { - "get": { - "operationId": "TransitHub_Get", - "tags": [ - "TransitHub" - ], - "description": "Get a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Get": { - "$ref": "./examples/TransitHub_Get.json" - } - } - }, - "put": { - "operationId": "TransitHub_CreateOrUpdate", - "tags": [ - "TransitHub" - ], - "description": "Create a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'TransitHubResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "201": { - "description": "Resource 'TransitHubResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_CreateOrUpdate": { - "$ref": "./examples/TransitHub_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "TransitHub_Update", - "tags": [ - "TransitHub" - ], - "description": "Update a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", - "tags": [ - "TransitHub" - ], - "description": "Delete a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListByResourceGroup", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListByResourceGroup": { - "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { - "get": { - "operationId": "EnclaveConnection_Get", - "tags": [ - "EnclaveConnection" - ], - "description": "Get a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Get": { - "$ref": "./examples/EnclaveConnection_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveConnection_CreateOrUpdate", - "tags": [ - "EnclaveConnection" - ], - "description": "Create a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveConnectionResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "201": { - "description": "Resource 'EnclaveConnectionResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_CreateOrUpdate": { - "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveConnection_Update", - "tags": [ - "EnclaveConnection" - ], - "description": "Update a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", - "tags": [ - "EnclaveConnection" - ], - "description": "Delete a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalCallback", - "tags": [ - "EnclaveConnection" - ], - "description": "Callback that triggers on approval state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ApprovalCallback": { - "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "tags": [ - "EnclaveConnection" - ], - "description": "Callback that triggers on approval deletion state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListByResourceGroup", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { - "get": { - "operationId": "ExternalConnections_Get", - "tags": [ - "ExternalConnections" - ], - "description": "Get a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "ExternalConnections_CreateOrUpdate", - "tags": [ - "ExternalConnections" - ], - "description": "Create a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ExternalConnections_Update", - "tags": [ - "ExternalConnections" - ], - "description": "Update a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", - "tags": [ - "ExternalConnections" - ], - "description": "Delete a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", - "tags": [ - "InternalConnections" - ], - "description": "Get a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Delete a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { - "$ref": "./examples/Workload_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { - "get": { - "operationId": "Workload_Get", - "tags": [ - "Workload" - ], - "description": "Get a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Get": { - "$ref": "./examples/Workload_Get.json" - } - } - }, - "put": { - "operationId": "Workload_CreateOrUpdate", - "tags": [ - "Workload" - ], - "description": "Create a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'WorkloadResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "201": { - "description": "Resource 'WorkloadResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_CreateOrUpdate": { - "$ref": "./examples/Workload_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Workload_Update", - "tags": [ - "Workload" - ], - "description": "Update a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", - "tags": [ - "Workload" - ], - "description": "Delete a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "ApprovalCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "resourceId": { - "type": "string", - "description": "Resource Id of the item being approved or rejected" - }, - "resourceRequestAction": { - "type": "string", - "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", - "enum": [ - "Create", - "Delete", - "Update", - "Reset" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "resourceId", - "resourceRequestAction", - "approvalStatus" - ] - }, - "ApprovalCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "ApprovalDeletionCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "resourceRequestAction": { - "type": "string", - "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", - "enum": [ - "Create", - "Delete", - "Update" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "resourceRequestAction" - ] - }, - "ApprovalDeletionCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalDeletionCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "ApprovalProperties": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadata", - "description": "Request metadata for the approval request." - } - }, - "required": [ - "requestMetadata" - ] - }, - "ApprovalPropertiesUpdate": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadataUpdate", - "description": "Request metadata for the approval request." - } - } - }, - "ApprovalResource": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ApprovalResourceListResult": { - "type": "object", - "description": "The response of a ApprovalResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ApprovalResource items on this page", - "items": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ApprovalStatus": { - "type": "string", - "description": "Approval Status Enum", - "enum": [ - "Approved", - "Rejected", - "Pending" - ], - "x-ms-enum": { - "name": "ApprovalStatus", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved", - "description": "ApprovalStatus Type Approved" - }, - { - "name": "Rejected", - "value": "Rejected", - "description": "ApprovalStatus Type Rejected" - }, - { - "name": "Pending", - "value": "Pending", - "description": "ApprovalStatus Type Pending" - } - ] - } - }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, - "CheckAddressSpaceAvailabilityRequest": { - "type": "object", - "description": "Request to the action call to check address space availability.", - "properties": { - "communityResourceId": { - "type": "string", - "description": "Resource Id of the Community" - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Information about the enclave virtual network" - } - }, - "required": [ - "communityResourceId", - "enclaveVirtualNetwork" - ] - }, - "CheckAddressSpaceAvailabilityResponse": { - "type": "object", - "description": "Response of availability of the requested address space.", - "properties": { - "value": { - "type": "boolean", - "description": "Boolean representing whether the address space is available." - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointDestinationRule": { - "type": "object", - "description": "Base type for destination rules.", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "destinationType": { - "$ref": "#/definitions/DestinationType", - "description": "Destination Type." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/CommunityEndpointProtocol" - } - }, - "transitHubResourceId": { - "$ref": "#/definitions/TransitHubResourceId", - "description": "Transit Hub Resource Id." - } - } - }, - "CommunityEndpointProperties": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - }, - "required": [ - "ruleCollection" - ] - }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "CommunityEndpointProtocol": { - "type": "string", - "description": "Community Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH", - "HTTPS", - "HTTP" - ], - "x-ms-enum": { - "name": "CommunityEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "CommunityEndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "CommunityEndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "CommunityEndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "CommunityEndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "CommunityEndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "CommunityEndpointProtocol Type AH" - }, - { - "name": "HTTPS", - "value": "HTTPS", - "description": "CommunityEndpointProtocol Type HTTPS" - }, - { - "name": "HTTP", - "value": "HTTP", - "description": "CommunityEndpointProtocol Type HTTP" - } - ] - } - }, - "CommunityEndpointResource": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityEndpointResourceListResult": { - "type": "object", - "description": "The response of a CommunityEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityEndpointResource items on this page", - "items": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CommunityProperties": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", - "items": { - "$ref": "#/definitions/CommunityResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "DestinationEndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" - }, - { - "type": "Microsoft.Mission/communities/communityEndpoints" - } - ] - } - }, - "DestinationType": { - "type": "string", - "description": "Destination Type Enum", - "enum": [ - "FQDN", - "FQDNTag", - "IPAddress", - "PrivateNetwork" - ], - "x-ms-enum": { - "name": "DestinationType", - "modelAsString": true, - "values": [ - { - "name": "FQDN", - "value": "FQDN", - "description": "DestinationType Type FQDN" - }, - { - "name": "FQDNTag", - "value": "FQDNTag", - "description": "DestinationType Type FQDNTag" - }, - { - "name": "IPAddress", - "value": "IPAddress", - "description": "DestinationType Type IPAddress" - }, - { - "name": "PrivateNetwork", - "value": "PrivateNetwork", - "description": "DestinationType Type PrivateNetwork" - } - ] - } - }, - "DiagnosticDestination": { - "type": "string", - "description": "Specifies the destination of where to store diagnostic logs.", - "enum": [ - "CommunityOnly", - "EnclaveOnly", - "Both" - ], - "x-ms-enum": { - "name": "DiagnosticDestination", - "modelAsString": true, - "values": [ - { - "name": "CommunityOnly", - "value": "CommunityOnly", - "description": "DiagnosticDestination Type CommunityOnly" - }, - { - "name": "EnclaveOnly", - "value": "EnclaveOnly", - "description": "DiagnosticDestination Type EnclaveOnly" - }, - { - "name": "Both", - "value": "Both", - "description": "DiagnosticDestination Type Both" - } - ] - } - }, - "EnclaveAddressSpaces": { - "type": "object", - "description": "Enclave Address Spaces", - "properties": { - "enclaveAddressSpace": { - "type": "string", - "description": "Enclave Address Space" - }, - "managedAddressSpace": { - "type": "string", - "description": "Managed Address Space" - } - } - }, - "EnclaveConnectionProperties": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] - }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionResource": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveConnectionResourceListResult": { - "type": "object", - "description": "The response of a EnclaveConnectionResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveConnectionResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveConnectionSourceResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - }, - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "EnclaveConnectionState": { - "type": "string", - "description": "Specifies the state of the enclave connection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed", - "Connected", - "Disconnected" - ], - "x-ms-enum": { - "name": "EnclaveConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "EnclaveConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "EnclaveConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "EnclaveConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "EnclaveConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "EnclaveConnectionState Type Failed" - }, - { - "name": "Connected", - "value": "Connected", - "description": "EnclaveConnectionState Type Connected" - }, - { - "name": "Disconnected", - "value": "Disconnected", - "description": "EnclaveConnectionState Type Disconnected" - } - ] - } - }, - "EnclaveDefaultSettings": { - "type": "object", - "description": "Virtual Enclave Default Settings", - "properties": { - "keyVaultResourceId": { - "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." - }, - "storageAccountResourceId": { - "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." - }, - "logAnalyticsResourceIdCollection": { - "type": "array", - "description": "Log Analytics Resource Ids.", - "items": { - "$ref": "#/definitions/LogAnalyticsResourceId" - } - }, - "diagnosticDestination": { - "$ref": "#/definitions/DiagnosticDestination", - "description": "Diagnostic Destination." - } - } - }, - "EnclaveEndpointDestinationRule": { - "type": "object", - "description": "Enclave Endpoint Rule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/EnclaveEndpointProtocol" - } - } - } - }, - "EnclaveEndpointProperties": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - }, - "required": [ - "ruleCollection" - ] - }, - "EnclaveEndpointPropertiesUpdate": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "EnclaveEndpointProtocol": { - "type": "string", - "description": "Enclave Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EnclaveEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EnclaveEndpointResource": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveEndpointResourceListResult": { - "type": "object", - "description": "The response of a EnclaveEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveEndpointResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveResource": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveResourceListResult": { - "type": "object", - "description": "The response of a EnclaveResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveVirtualNetwork": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - }, - "required": [ - "networkSize" - ] - }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] - }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] - } - }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "GovernedServiceItem": { - "type": "object", - "description": "GovernedServiceItem Properties", - "properties": { - "id": { - "$ref": "#/definitions/ServiceIdentifier", - "description": "service id" - }, - "name": { - "type": "string", - "description": "service name", - "readOnly": true - }, - "option": { - "type": "string", - "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", - "enum": [ - "Allow", - "Deny", - "ExceptionOnly", - "NotApplicable" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "enforcement": { - "type": "string", - "description": "initiative enforcement (Enabled or Disabled).", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "auditOnly": { - "type": "boolean", - "description": "policies set to auditOnly (True or False)." - }, - "initiatives": { - "type": "array", - "description": "initiatives associated with this service", - "items": { - "type": "string" - }, - "readOnly": true - } - }, - "required": [ - "id" - ] - }, - "IPGroupResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/IpGroups" - } - ] - } - }, - "InitiatorCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "approvalStatus" - ] - }, - "InitiatorCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] - }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "KeyVaultResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "LogAnalyticsResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - }, - "MaintenanceModeConfiguration": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "mode" - ] - }, - "MaintenanceModeConfigurationUpdate": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - } - }, - "ManagedResourceGroupConfiguration": { - "type": "object", - "description": "ManagedResourceGroup related properties", - "properties": { - "name": { - "type": "string", - "description": "Name of managed resource group" - }, - "location": { - "type": "string", - "description": "Managed Resource Group location" - } - } - }, - "Principal": { - "type": "object", - "description": "Principal for maintenance mode or role assignments", - "properties": { - "id": { - "type": "string", - "description": "The object id associated with the principal" - }, - "type": { - "type": "string", - "description": "The type of the object id. We currently allow users, groups, and service principals", - "enum": [ - "User", - "Group", - "ServicePrincipal" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "id", - "type" - ] - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning status of the resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted", - "Created", - "Creating", - "Deleted", - "Deleting", - "NotSpecified", - "Ready", - "Running", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Accepted", - "value": "Accepted", - "description": "Provisioning State Type Accepted" - }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Provisioning State Type Creating" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Provisioning State Type Deleting" - }, - { - "name": "NotSpecified", - "value": "NotSpecified", - "description": "Provisioning State Type NotSpecified" - }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, - { - "name": "Running", - "value": "Running", - "description": "Provisioning State Type Running" - }, - { - "name": "Updating", - "value": "Updating", - "description": "Provisioning State Type Updating" - } - ] - }, - "readOnly": true - }, - "RequestMetadata": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - } - }, - "required": [ - "resourceAction" - ] - }, - "RequestMetadataUpdate": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - } - } - }, - "ServiceIdentifier": { - "type": "string", - "description": "Identifier for governed services.", - "enum": [ - "AKS", - "AppService", - "AzureFirewalls", - "ContainerRegistry", - "CosmosDB", - "DataConnectors", - "Insights", - "KeyVault", - "Logic", - "MicrosoftSQL", - "Monitoring", - "PostgreSQL", - "PrivateDNSZones", - "ServiceBus", - "Storage" - ], - "x-ms-enum": { - "name": "ServiceIdentifier", - "modelAsString": true, - "values": [ - { - "name": "AKS", - "value": "AKS", - "description": "Service identifier for AKS" - }, - { - "name": "AppService", - "value": "AppService", - "description": "Service identifier for App Service" - }, - { - "name": "AzureFirewalls", - "value": "AzureFirewalls", - "description": "Service identifier for Azure Firewalls" - }, - { - "name": "ContainerRegistry", - "value": "ContainerRegistry", - "description": "Service identifier for Container Registry" - }, - { - "name": "CosmosDB", - "value": "CosmosDB", - "description": "Service identifier for CosmosDB" - }, - { - "name": "DataConnectors", - "value": "DataConnectors", - "description": "Service identifier for Data Connectors" - }, - { - "name": "Insights", - "value": "Insights", - "description": "Service identifier for Insights" - }, - { - "name": "KeyVault", - "value": "KeyVault", - "description": "Service identifier for Key Vault" - }, - { - "name": "Logic", - "value": "Logic", - "description": "Service identifier for Logic" - }, - { - "name": "MicrosoftSql", - "value": "MicrosoftSQL", - "description": "Service identifier for Microsoft SQL" - }, - { - "name": "Monitoring", - "value": "Monitoring", - "description": "Service identifier for Monitoring" - }, - { - "name": "PostgreSql", - "value": "PostgreSQL", - "description": "Service identifier for PostgreSQL" - }, - { - "name": "PrivateDNSZones", - "value": "PrivateDNSZones", - "description": "Service identifier for Private DNS Zones" - }, - { - "name": "ServiceBus", - "value": "ServiceBus", - "description": "Service identifier for Service Bus" - }, - { - "name": "Storage", - "value": "Storage", - "description": "Service identifier for Storage" - } - ] - } - }, - "StorageAccountResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - } - }, - "SubnetConfiguration": { - "type": "object", - "description": "Subnet Configuration", - "properties": { - "name": { - "type": "string", - "description": "Subnet name." - }, - "id": { - "type": "string", - "format": "arm-id", - "description": "Subnet ID.", - "readOnly": true - }, - "networkPrefixSize": { - "type": "integer", - "format": "int32", - "description": "Network prefix size." - }, - "subnetDelegation": { - "type": "string", - "description": "Subnet delegation." - }, - "addressPrefix": { - "type": "string", - "description": "Address prefix.", - "readOnly": true - }, - "networkSecurityGroupId": { - "type": "string", - "format": "arm-id", - "description": "Network security group ID.", - "readOnly": true - } - }, - "required": [ - "name", - "networkPrefixSize" - ] - }, - "TransitHubProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubResource": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "TransitHubResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "TransitHubResourceListResult": { - "type": "object", - "description": "The response of a TransitHubResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The TransitHubResource items on this page", - "items": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "TransitHubState": { - "type": "string", - "description": "Specifies the state of the transitHub.", - "enum": [ - "PendingApproval", - "Approved", - "PendingUpdate", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "TransitHubState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "TransitHubState Type PendingApproval" - }, - { - "name": "Approved", - "value": "Approved", - "description": "TransitHubState Type Approved" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "TransitHubState Type PendingUpdate" - }, - { - "name": "Active", - "value": "Active", - "description": "TransitHubState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "TransitHubState Type Failed" - } - ] - } - }, - "TransitOption": { - "type": "object", - "description": "TransitOption Properties", - "properties": { - "type": { - "$ref": "#/definitions/TransitOptionType", - "description": "Transit Option Type." - }, - "params": { - "$ref": "#/definitions/TransitOptionParams", - "description": "Transit Option Params" - } - } - }, - "TransitOptionParams": { - "type": "object", - "description": "TransitOptionParams Properties", - "properties": { - "scaleUnits": { - "type": "integer", - "format": "int64", - "description": "Transit Option Params scaleUnits." - }, - "remoteVirtualNetworkId": { - "type": "string", - "description": "Transit Option Params remoteVirtualNetworkId." - } - } - }, - "TransitOptionType": { - "type": "string", - "description": "Specifies the type of the transitOption.", - "enum": [ - "ExpressRoute", - "Gateway", - "Peering" - ], - "x-ms-enum": { - "name": "TransitOptionType", - "modelAsString": true, - "values": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute", - "description": "TransitOptionType ExpressRoute" - }, - { - "name": "Gateway", - "value": "Gateway", - "description": "TransitOptionType Gateway" - }, - { - "name": "Peering", - "value": "Peering", - "description": "TransitOptionType Peering" - } - ] - } - }, - "VirtualEnclaveProperties": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] - }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - } - } - }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, - "WorkloadProperties": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkloadResource": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "WorkloadResourceListResult": { - "type": "object", - "description": "The response of a WorkloadResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadResource items on this page", - "items": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - } - }, - "parameters": { - "Azure.ResourceManager.ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json deleted file mode 100644 index af21bae61e74..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "title": "Approval_CreateOrUpdate", - "operationId": "Approval_CreateOrUpdate", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resource": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json deleted file mode 100644 index 598be1195ae0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Approval_Delete", - "operationId": "Approval_Delete", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json deleted file mode 100644 index 70686559cae9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "title": "Approval_Get", - "operationId": "Approval_Get", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json deleted file mode 100644 index 3f3288d9fc32..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "Approval_InitiatorCallback", - "title": "Approval_InitiatorCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "body": { - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval initiator callback handled successfully" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json deleted file mode 100644 index 27f896c6ff11..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "title": "Approval_ListByParent", - "operationId": "Approval_ListByParent", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json deleted file mode 100644 index 4b4bae7d6c31..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "title": "Approval_Update", - "operationId": "Approval_Update", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "properties": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index 74ccac9ed0e0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json deleted file mode 100644 index a914cfaa7b54..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json deleted file mode 100644 index aadf367454c5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index d706fc1c592f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 1aa6f1c38841..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json deleted file mode 100644 index 58511f501dfe..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json deleted file mode 100644 index 27a6391e135c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json +++ /dev/null @@ -1,564 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json deleted file mode 100644 index 15a266c726e9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json deleted file mode 100644 index a77dbee34a1d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json deleted file mode 100644 index 82d8fa80d062..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json deleted file mode 100644 index ed69e3298ee0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 9664ce231521..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "operationId": "Community_CheckAddressSpaceAvailability", - "title": "Community_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - } - }, - "api-version": "2024-10-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json deleted file mode 100644 index 02a466a3ad9b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json +++ /dev/null @@ -1,361 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json deleted file mode 100644 index 620695d96801..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "title": "EnclaveConnection_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 408742addf05..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json deleted file mode 100644 index f2c400575e0e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json deleted file mode 100644 index d12d696e74bf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 20f6b6f90267..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 398baf2b1245..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json deleted file mode 100644 index f91ff5393234..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalCallback", - "title": "EnclaveConnection_ApprovalCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json deleted file mode 100644 index 44e829068849..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 48d032ce058f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json deleted file mode 100644 index 81c56e193c3c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json deleted file mode 100644 index a4f6bbfcac32..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 524bc8b6253b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 200c18b170d6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json deleted file mode 100644 index f6a0ed219a01..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 266c8b7c0f9c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 81e88f82b374..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index c41834e46777..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 2820b913d6c8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index 98ca3c717a55..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index adf24f3e00af..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 821882f3c021..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index b6d95b7d2e7f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index 857d3133d7ed..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index c6566524f763..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 58cbc587f957..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index 886b87ed4864..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 8f3e2753e2ca..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index 1de204c66f1b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index a83d87ba75f6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index cade59094581..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index 38858b6b1a89..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index 196f540034d6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json deleted file mode 100644 index a1a732462fe7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json deleted file mode 100644 index cc3fb34fba62..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json deleted file mode 100644 index 942729f39024..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json deleted file mode 100644 index 7761238dd938..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json deleted file mode 100644 index e5563a86383a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithub", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json deleted file mode 100644 index 0b9e66cde8dd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json deleted file mode 100644 index 8b55ad1ccd06..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 966b230e7714..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,329 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json deleted file mode 100644 index 22109d1c8257..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json deleted file mode 100644 index 4543c62c4ad6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 1577e5f356ad..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 5658dfa7f86d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json deleted file mode 100644 index 0ddc8bf21d8d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json deleted file mode 100644 index 6196986fcfa8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json deleted file mode 100644 index 6e06ea6e513c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json deleted file mode 100644 index c8d33a0ae87a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json deleted file mode 100644 index 150f46b1731c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json deleted file mode 100644 index 1a4b02ce550b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json deleted file mode 100644 index 39055075b22b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "resourceGroupCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json deleted file mode 100644 index 9d2ccc086f42..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ /dev/null @@ -1,7113 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2024-10-01-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Workload" - }, - { - "name": "Endpoint" - }, - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "InternalConnections" - }, - { - "name": "TransitHub" - }, - { - "name": "EnclaveConnection" - }, - { - "name": "EnclaveEndpoints" - }, - { - "name": "CommunityEndpoints" - }, - { - "name": "ExternalConnections" - }, - { - "name": "Approval" - } - ], - "paths": { - "/{resourceUri}/providers/Microsoft.Mission/approvals": { - "get": { - "operationId": "Approval_ListByParent", - "tags": [ - "Approval" - ], - "description": "List ApprovalResource resources by parent", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_ListByParent": { - "$ref": "./examples/Approvals_ListByParent.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { - "get": { - "operationId": "Approval_Get", - "tags": [ - "Approval" - ], - "description": "Get a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Get": { - "$ref": "./examples/Approvals_Get.json" - } - } - }, - "put": { - "operationId": "Approval_CreateOrUpdate", - "tags": [ - "Approval" - ], - "description": "Create a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ApprovalResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "201": { - "description": "Resource 'ApprovalResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/ApprovalResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_CreateOrUpdate": { - "$ref": "./examples/Approvals_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Approval_Update", - "tags": [ - "Approval" - ], - "description": "Update a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Update": { - "$ref": "./examples/Approvals_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Approval_Delete", - "tags": [ - "Approval" - ], - "description": "Delete a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Delete": { - "$ref": "./examples/Approvals_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { - "post": { - "operationId": "Approval_InitiatorCallback", - "tags": [ - "Approval" - ], - "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/InitiatorCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InitiatorCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_InitiatorCallback": { - "$ref": "./examples/Approvals_InitiatorCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.Mission/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListBySubscription", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListBySubscription": { - "$ref": "./examples/Community_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListBySubscription", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListBySubscription": { - "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListBySubscription", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListBySubscription": { - "$ref": "./examples/TransitHub_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListBySubscription", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListBySubscription": { - "$ref": "./examples/EnclaveConnection_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListBySubscription", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription": { - "$ref": "./examples/VirtualEnclave_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListBySubscription", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListBySubscription": { - "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListBySubscription", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListBySubscription": { - "$ref": "./examples/Workload_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListByResourceGroup", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListByResourceGroup": { - "$ref": "./examples/Community_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "operationId": "Community_Get", - "tags": [ - "Community" - ], - "description": "Get a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get": { - "$ref": "./examples/Community_Get.json" - } - } - }, - "put": { - "operationId": "Community_CreateOrUpdate", - "tags": [ - "Community" - ], - "description": "Create a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "201": { - "description": "Resource 'CommunityResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CreateOrUpdate": { - "$ref": "./examples/Community_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Community_Update", - "tags": [ - "Community" - ], - "description": "Update a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", - "tags": [ - "Community" - ], - "description": "Delete a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "Community_CheckAddressSpaceAvailability", - "tags": [ - "Community" - ], - "description": "Checks that the IP Address Space to be allocated for this Community is available.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CheckAddressSpaceAvailability": { - "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListByCommunityResource", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListByCommunityResource": { - "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { - "get": { - "operationId": "CommunityEndpoints_Get", - "tags": [ - "CommunityEndpoints" - ], - "description": "Get a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Get": { - "$ref": "./examples/CommunityEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "CommunityEndpoints_CreateOrUpdate", - "tags": [ - "CommunityEndpoints" - ], - "description": "Create a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "201": { - "description": "Resource 'CommunityEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_CreateOrUpdate": { - "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CommunityEndpoints_Update", - "tags": [ - "CommunityEndpoints" - ], - "description": "Update a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", - "tags": [ - "CommunityEndpoints" - ], - "description": "Delete a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListByCommunityResource", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListByCommunityResource": { - "$ref": "./examples/TransitHub_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { - "get": { - "operationId": "TransitHub_Get", - "tags": [ - "TransitHub" - ], - "description": "Get a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Get": { - "$ref": "./examples/TransitHub_Get.json" - } - } - }, - "put": { - "operationId": "TransitHub_CreateOrUpdate", - "tags": [ - "TransitHub" - ], - "description": "Create a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'TransitHubResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "201": { - "description": "Resource 'TransitHubResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_CreateOrUpdate": { - "$ref": "./examples/TransitHub_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "TransitHub_Update", - "tags": [ - "TransitHub" - ], - "description": "Update a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", - "tags": [ - "TransitHub" - ], - "description": "Delete a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListByResourceGroup", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListByResourceGroup": { - "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { - "get": { - "operationId": "EnclaveConnection_Get", - "tags": [ - "EnclaveConnection" - ], - "description": "Get a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Get": { - "$ref": "./examples/EnclaveConnection_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveConnection_CreateOrUpdate", - "tags": [ - "EnclaveConnection" - ], - "description": "Create a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveConnectionResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "201": { - "description": "Resource 'EnclaveConnectionResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_CreateOrUpdate": { - "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveConnection_Update", - "tags": [ - "EnclaveConnection" - ], - "description": "Update a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", - "tags": [ - "EnclaveConnection" - ], - "description": "Delete a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalCallback", - "tags": [ - "EnclaveConnection" - ], - "description": "Callback that triggers on approval state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ApprovalCallback": { - "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "tags": [ - "EnclaveConnection" - ], - "description": "Callback that triggers on approval deletion state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListByResourceGroup", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { - "get": { - "operationId": "ExternalConnections_Get", - "tags": [ - "ExternalConnections" - ], - "description": "Get a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "ExternalConnections_CreateOrUpdate", - "tags": [ - "ExternalConnections" - ], - "description": "Create a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ExternalConnections_Update", - "tags": [ - "ExternalConnections" - ], - "description": "Update a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", - "tags": [ - "ExternalConnections" - ], - "description": "Delete a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", - "tags": [ - "InternalConnections" - ], - "description": "Get a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Delete a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { - "$ref": "./examples/Workload_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { - "get": { - "operationId": "Workload_Get", - "tags": [ - "Workload" - ], - "description": "Get a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Get": { - "$ref": "./examples/Workload_Get.json" - } - } - }, - "put": { - "operationId": "Workload_CreateOrUpdate", - "tags": [ - "Workload" - ], - "description": "Create a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'WorkloadResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "201": { - "description": "Resource 'WorkloadResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_CreateOrUpdate": { - "$ref": "./examples/Workload_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Workload_Update", - "tags": [ - "Workload" - ], - "description": "Update a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", - "tags": [ - "Workload" - ], - "description": "Delete a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "ActionPerformed": { - "type": "string", - "description": "Specifies the action performed by the approver", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "ActionPerformed", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved", - "description": "ActionPerformed Type Approved" - }, - { - "name": "Rejected", - "value": "Rejected", - "description": "ActionPerformed Type Rejected" - } - ] - } - }, - "ApprovalCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "resourceId": { - "type": "string", - "description": "Resource Id of the item being approved or rejected" - }, - "resourceRequestAction": { - "type": "string", - "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", - "enum": [ - "Create", - "Delete", - "Update", - "Reset" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "resourceId", - "resourceRequestAction", - "approvalStatus" - ] - }, - "ApprovalCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "ApprovalDeletionCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "resourceRequestAction": { - "type": "string", - "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", - "enum": [ - "Create", - "Delete", - "Update" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "resourceRequestAction" - ] - }, - "ApprovalDeletionCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalDeletionCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "ApprovalProperties": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadata", - "description": "Request metadata for the approval request." - }, - "approvers": { - "type": "array", - "description": "List of approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "mandatoryApprovers": { - "type": "array", - "description": "List of mandatory approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "minimumApproversRequired": { - "type": "integer", - "format": "int64", - "description": "Minimum number of approvers required for the approval request" - } - }, - "required": [ - "requestMetadata" - ] - }, - "ApprovalPropertiesUpdate": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadataUpdate", - "description": "Request metadata for the approval request." - }, - "approvers": { - "type": "array", - "description": "List of approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "mandatoryApprovers": { - "type": "array", - "description": "List of mandatory approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "minimumApproversRequired": { - "type": "integer", - "format": "int64", - "description": "Minimum number of approvers required for the approval request" - } - } - }, - "ApprovalResource": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ApprovalResourceListResult": { - "type": "object", - "description": "The response of a ApprovalResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ApprovalResource items on this page", - "items": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, - "ApprovalStatus": { - "type": "string", - "description": "Approval Status Enum", - "enum": [ - "Approved", - "Rejected", - "Pending" - ], - "x-ms-enum": { - "name": "ApprovalStatus", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved", - "description": "ApprovalStatus Type Approved" - }, - { - "name": "Rejected", - "value": "Rejected", - "description": "ApprovalStatus Type Rejected" - }, - { - "name": "Pending", - "value": "Pending", - "description": "ApprovalStatus Type Pending" - } - ] - } - }, - "Approvers": { - "type": "object", - "description": "Approver Metadata for approvals request.", - "properties": { - "approverEntraId": { - "type": "string", - "description": "EntraId of the approver" - }, - "actionPerformed": { - "$ref": "#/definitions/ActionPerformed", - "description": "Action Performed by approver" - }, - "lastUpdatedAt": { - "type": "string", - "format": "date-time", - "description": "approval request last updated at" - } - }, - "required": [ - "approverEntraId", - "actionPerformed", - "lastUpdatedAt" - ] - }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, - "CheckAddressSpaceAvailabilityRequest": { - "type": "object", - "description": "Request to the action call to check address space availability.", - "properties": { - "communityResourceId": { - "type": "string", - "description": "Resource Id of the Community" - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Information about the enclave virtual network" - } - }, - "required": [ - "communityResourceId", - "enclaveVirtualNetwork" - ] - }, - "CheckAddressSpaceAvailabilityResponse": { - "type": "object", - "description": "Response of availability of the requested address space.", - "properties": { - "value": { - "type": "boolean", - "description": "Boolean representing whether the address space is available." - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointDestinationRule": { - "type": "object", - "description": "Base type for destination rules.", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "destinationType": { - "$ref": "#/definitions/DestinationType", - "description": "Destination Type." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/CommunityEndpointProtocol" - } - }, - "transitHubResourceId": { - "$ref": "#/definitions/TransitHubResourceId", - "description": "Transit Hub Resource Id." - } - } - }, - "CommunityEndpointProperties": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - }, - "required": [ - "ruleCollection" - ] - }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "CommunityEndpointProtocol": { - "type": "string", - "description": "Community Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH", - "HTTPS", - "HTTP" - ], - "x-ms-enum": { - "name": "CommunityEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "CommunityEndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "CommunityEndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "CommunityEndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "CommunityEndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "CommunityEndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "CommunityEndpointProtocol Type AH" - }, - { - "name": "HTTPS", - "value": "HTTPS", - "description": "CommunityEndpointProtocol Type HTTPS" - }, - { - "name": "HTTP", - "value": "HTTP", - "description": "CommunityEndpointProtocol Type HTTP" - } - ] - } - }, - "CommunityEndpointResource": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityEndpointResourceListResult": { - "type": "object", - "description": "The response of a CommunityEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityEndpointResource items on this page", - "items": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CommunityProperties": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", - "items": { - "$ref": "#/definitions/CommunityResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "DestinationEndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" - }, - { - "type": "Microsoft.Mission/communities/communityEndpoints" - } - ] - } - }, - "DestinationType": { - "type": "string", - "description": "Destination Type Enum", - "enum": [ - "FQDN", - "FQDNTag", - "IPAddress", - "PrivateNetwork" - ], - "x-ms-enum": { - "name": "DestinationType", - "modelAsString": true, - "values": [ - { - "name": "FQDN", - "value": "FQDN", - "description": "DestinationType Type FQDN" - }, - { - "name": "FQDNTag", - "value": "FQDNTag", - "description": "DestinationType Type FQDNTag" - }, - { - "name": "IPAddress", - "value": "IPAddress", - "description": "DestinationType Type IPAddress" - }, - { - "name": "PrivateNetwork", - "value": "PrivateNetwork", - "description": "DestinationType Type PrivateNetwork" - } - ] - } - }, - "DiagnosticDestination": { - "type": "string", - "description": "Specifies the destination of where to store diagnostic logs.", - "enum": [ - "CommunityOnly", - "EnclaveOnly", - "Both" - ], - "x-ms-enum": { - "name": "DiagnosticDestination", - "modelAsString": true, - "values": [ - { - "name": "CommunityOnly", - "value": "CommunityOnly", - "description": "DiagnosticDestination Type CommunityOnly" - }, - { - "name": "EnclaveOnly", - "value": "EnclaveOnly", - "description": "DiagnosticDestination Type EnclaveOnly" - }, - { - "name": "Both", - "value": "Both", - "description": "DiagnosticDestination Type Both" - } - ] - } - }, - "EnclaveAddressSpaces": { - "type": "object", - "description": "Enclave Address Spaces", - "properties": { - "enclaveAddressSpace": { - "type": "string", - "description": "Enclave Address Space" - }, - "managedAddressSpace": { - "type": "string", - "description": "Managed Address Space" - } - } - }, - "EnclaveConnectionProperties": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] - }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionResource": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveConnectionResourceListResult": { - "type": "object", - "description": "The response of a EnclaveConnectionResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveConnectionResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveConnectionSourceResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - }, - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "EnclaveConnectionState": { - "type": "string", - "description": "Specifies the state of the enclave connection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed", - "Connected", - "Disconnected" - ], - "x-ms-enum": { - "name": "EnclaveConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "EnclaveConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "EnclaveConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "EnclaveConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "EnclaveConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "EnclaveConnectionState Type Failed" - }, - { - "name": "Connected", - "value": "Connected", - "description": "EnclaveConnectionState Type Connected" - }, - { - "name": "Disconnected", - "value": "Disconnected", - "description": "EnclaveConnectionState Type Disconnected" - } - ] - } - }, - "EnclaveDefaultSettings": { - "type": "object", - "description": "Virtual Enclave Default Settings", - "properties": { - "keyVaultResourceId": { - "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." - }, - "storageAccountResourceId": { - "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." - }, - "logAnalyticsResourceIdCollection": { - "type": "array", - "description": "Log Analytics Resource Ids.", - "items": { - "$ref": "#/definitions/LogAnalyticsResourceId" - } - }, - "diagnosticDestination": { - "$ref": "#/definitions/DiagnosticDestination", - "description": "Diagnostic Destination." - } - } - }, - "EnclaveEndpointDestinationRule": { - "type": "object", - "description": "Enclave Endpoint Rule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/EnclaveEndpointProtocol" - } - } - } - }, - "EnclaveEndpointProperties": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - }, - "required": [ - "ruleCollection" - ] - }, - "EnclaveEndpointPropertiesUpdate": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "EnclaveEndpointProtocol": { - "type": "string", - "description": "Enclave Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EnclaveEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EnclaveEndpointResource": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveEndpointResourceListResult": { - "type": "object", - "description": "The response of a EnclaveEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveEndpointResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveResource": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveResourceListResult": { - "type": "object", - "description": "The response of a EnclaveResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveVirtualNetwork": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - }, - "required": [ - "networkSize" - ] - }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] - }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] - } - }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "GovernedServiceItem": { - "type": "object", - "description": "GovernedServiceItem Properties", - "properties": { - "id": { - "$ref": "#/definitions/ServiceIdentifier", - "description": "service id" - }, - "name": { - "type": "string", - "description": "service name", - "readOnly": true - }, - "option": { - "type": "string", - "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", - "enum": [ - "Allow", - "Deny", - "ExceptionOnly", - "NotApplicable" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "enforcement": { - "type": "string", - "description": "initiative enforcement (Enabled or Disabled).", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "auditOnly": { - "type": "boolean", - "description": "policies set to auditOnly (True or False)." - }, - "initiatives": { - "type": "array", - "description": "initiatives associated with this service", - "items": { - "type": "string" - }, - "readOnly": true - } - }, - "required": [ - "id" - ] - }, - "IPGroupResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/IpGroups" - } - ] - } - }, - "InitiatorCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "approvalStatus" - ] - }, - "InitiatorCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] - }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "KeyVaultResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "LogAnalyticsResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - }, - "MaintenanceModeConfiguration": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "mode" - ] - }, - "MaintenanceModeConfigurationUpdate": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - } - }, - "ManagedResourceGroupConfiguration": { - "type": "object", - "description": "ManagedResourceGroup related properties", - "properties": { - "name": { - "type": "string", - "description": "Name of managed resource group" - }, - "location": { - "type": "string", - "description": "Managed Resource Group location" - } - } - }, - "Principal": { - "type": "object", - "description": "Principal for maintenance mode or role assignments", - "properties": { - "id": { - "type": "string", - "description": "The object id associated with the principal" - }, - "type": { - "type": "string", - "description": "The type of the object id. We currently allow users, groups, and service principals", - "enum": [ - "User", - "Group", - "ServicePrincipal" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "id", - "type" - ] - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning status of the resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted", - "Created", - "Creating", - "Deleted", - "Deleting", - "NotSpecified", - "Ready", - "Running", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Accepted", - "value": "Accepted", - "description": "Provisioning State Type Accepted" - }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Provisioning State Type Creating" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Provisioning State Type Deleting" - }, - { - "name": "NotSpecified", - "value": "NotSpecified", - "description": "Provisioning State Type NotSpecified" - }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, - { - "name": "Running", - "value": "Running", - "description": "Provisioning State Type Running" - }, - { - "name": "Updating", - "value": "Updating", - "description": "Provisioning State Type Updating" - } - ] - }, - "readOnly": true - }, - "RequestMetadata": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - } - }, - "required": [ - "resourceAction" - ] - }, - "RequestMetadataUpdate": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - } - } - }, - "RoleAssignmentItem": { - "type": "object", - "description": "Role assignment item that indicates which principals should be assigned this role definition", - "properties": { - "id": { - "type": "string", - "description": "Role definition identifier" - }, - "principals": { - "type": "array", - "description": "List of principal IDs to which to assign this role definition", - "items": { - "$ref": "#/definitions/Principal" - } - } - }, - "required": [ - "id" - ] - }, - "ServiceIdentifier": { - "type": "string", - "description": "Identifier for governed services.", - "enum": [ - "AKS", - "AppService", - "AzureFirewalls", - "ContainerRegistry", - "CosmosDB", - "DataConnectors", - "Insights", - "KeyVault", - "Logic", - "MicrosoftSQL", - "Monitoring", - "PostgreSQL", - "PrivateDNSZones", - "ServiceBus", - "Storage" - ], - "x-ms-enum": { - "name": "ServiceIdentifier", - "modelAsString": true, - "values": [ - { - "name": "AKS", - "value": "AKS", - "description": "Service identifier for AKS" - }, - { - "name": "AppService", - "value": "AppService", - "description": "Service identifier for App Service" - }, - { - "name": "AzureFirewalls", - "value": "AzureFirewalls", - "description": "Service identifier for Azure Firewalls" - }, - { - "name": "ContainerRegistry", - "value": "ContainerRegistry", - "description": "Service identifier for Container Registry" - }, - { - "name": "CosmosDB", - "value": "CosmosDB", - "description": "Service identifier for CosmosDB" - }, - { - "name": "DataConnectors", - "value": "DataConnectors", - "description": "Service identifier for Data Connectors" - }, - { - "name": "Insights", - "value": "Insights", - "description": "Service identifier for Insights" - }, - { - "name": "KeyVault", - "value": "KeyVault", - "description": "Service identifier for Key Vault" - }, - { - "name": "Logic", - "value": "Logic", - "description": "Service identifier for Logic" - }, - { - "name": "MicrosoftSql", - "value": "MicrosoftSQL", - "description": "Service identifier for Microsoft SQL" - }, - { - "name": "Monitoring", - "value": "Monitoring", - "description": "Service identifier for Monitoring" - }, - { - "name": "PostgreSql", - "value": "PostgreSQL", - "description": "Service identifier for PostgreSQL" - }, - { - "name": "PrivateDNSZones", - "value": "PrivateDNSZones", - "description": "Service identifier for Private DNS Zones" - }, - { - "name": "ServiceBus", - "value": "ServiceBus", - "description": "Service identifier for Service Bus" - }, - { - "name": "Storage", - "value": "Storage", - "description": "Service identifier for Storage" - } - ] - } - }, - "StorageAccountResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - } - }, - "SubnetConfiguration": { - "type": "object", - "description": "Subnet Configuration", - "properties": { - "name": { - "type": "string", - "description": "Subnet name." - }, - "id": { - "type": "string", - "format": "arm-id", - "description": "Subnet ID.", - "readOnly": true - }, - "networkPrefixSize": { - "type": "integer", - "format": "int32", - "description": "Network prefix size." - }, - "subnetDelegation": { - "type": "string", - "description": "Subnet delegation." - }, - "addressPrefix": { - "type": "string", - "description": "Address prefix.", - "readOnly": true - }, - "networkSecurityGroupId": { - "type": "string", - "format": "arm-id", - "description": "Network security group ID.", - "readOnly": true - } - }, - "required": [ - "name", - "networkPrefixSize" - ] - }, - "TransitHubProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubResource": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "TransitHubResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "TransitHubResourceListResult": { - "type": "object", - "description": "The response of a TransitHubResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The TransitHubResource items on this page", - "items": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "TransitHubState": { - "type": "string", - "description": "Specifies the state of the transitHub.", - "enum": [ - "PendingApproval", - "Approved", - "PendingUpdate", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "TransitHubState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "TransitHubState Type PendingApproval" - }, - { - "name": "Approved", - "value": "Approved", - "description": "TransitHubState Type Approved" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "TransitHubState Type PendingUpdate" - }, - { - "name": "Active", - "value": "Active", - "description": "TransitHubState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "TransitHubState Type Failed" - } - ] - } - }, - "TransitOption": { - "type": "object", - "description": "TransitOption Properties", - "properties": { - "type": { - "$ref": "#/definitions/TransitOptionType", - "description": "Transit Option Type." - }, - "params": { - "$ref": "#/definitions/TransitOptionParams", - "description": "Transit Option Params" - } - } - }, - "TransitOptionParams": { - "type": "object", - "description": "TransitOptionParams Properties", - "properties": { - "scaleUnits": { - "type": "integer", - "format": "int64", - "description": "Transit Option Params scaleUnits." - }, - "remoteVirtualNetworkId": { - "type": "string", - "description": "Transit Option Params remoteVirtualNetworkId." - } - } - }, - "TransitOptionType": { - "type": "string", - "description": "Specifies the type of the transitOption.", - "enum": [ - "ExpressRoute", - "Gateway", - "Peering" - ], - "x-ms-enum": { - "name": "TransitOptionType", - "modelAsString": true, - "values": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute", - "description": "TransitOptionType ExpressRoute" - }, - { - "name": "Gateway", - "value": "Gateway", - "description": "TransitOptionType Gateway" - }, - { - "name": "Peering", - "value": "Peering", - "description": "TransitOptionType Peering" - } - ] - } - }, - "VirtualEnclaveProperties": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] - }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, - "WorkloadProperties": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkloadResource": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" - } - ] - }, - "WorkloadResourceListResult": { - "type": "object", - "description": "The response of a WorkloadResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadResource items on this page", - "items": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - } - }, - "parameters": { - "Azure.ResourceManager.ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json index 6af06ff670ed..033dd5398a1c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json @@ -149,6 +149,16 @@ "enclaveDeletion": "NotRequired", "maintenanceMode": "NotRequired", "serviceCatalogDeployment": "NotRequired" + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" } }, "tags": { @@ -345,7 +355,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" @@ -554,7 +574,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json index 5b9c2020c97c..426b9646910a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json @@ -195,7 +195,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json index f8cb19e9e4f4..52af74bfc100 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json @@ -196,7 +196,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json index 52f9e6563073..d1a725eef584 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json @@ -195,7 +195,17 @@ } ] } - ] + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } }, "tags": { "sampletag": "samplevalue" diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 8d5d32bf6369..420ce7c3b19f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -5494,6 +5494,60 @@ "approvalSettings": { "$ref": "#/definitions/ApprovalSettings", "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + } + } + }, + "CommunityPropertiesUpdate": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", + "description": "Maintenance Mode configuration." } } }, @@ -5555,7 +5609,7 @@ "description": "Community Model Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties", + "$ref": "#/definitions/CommunityPropertiesUpdate", "description": "The resource-specific properties for this resource.", "x-ms-client-flatten": true }, From 3035e2bb72023a69408e82acd56cfc04ab8de3b2 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 27 Jan 2025 11:03:04 -0600 Subject: [PATCH 04/89] Remove old versions --- .../mission/Mission.Management/version.tsp | 32 ------- .../mission/resource-manager/readme.md | 85 ------------------- 2 files changed, 117 deletions(-) diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index b93251540076..60dd75d86a41 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -10,38 +10,6 @@ namespace Microsoft.Mission; @doc("Supported API versions for the Microsoft.Mission resource provider.") enum Versions { - @doc("The 2023-02-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_02_01_preview: "2023-02-01-preview", - - @doc("The 2023-08-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_08_01_preview: "2023-08-01-preview", - - @doc("The 2023-11-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_11_01_preview: "2023-11-01-preview", - - @doc("The 2024-01-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2024_01_01_preview: "2024-01-01-preview", - - @doc("The 2024-06-01-preview version.") - @armCommonTypesVersion("v5") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) - v2024_06_01_preview: "2024-06-01-preview", - - @doc("The 2024-10-01-preview version.") - @armCommonTypesVersion("v5") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) - v2024_10_01_preview: "2024-10-01-preview", - @doc("The 2024-11-01-preview version.") @armCommonTypesVersion("v5") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index ac34a7d69d25..e9bde16287d9 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -40,91 +40,6 @@ input-file: - Microsoft.Mission/preview/2024-11-01-preview/openapi.json ``` -### Tag: package-2024-10-01-preview - -These settings apply only when `--tag=package-2024-10-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2024-10-01-preview' -input-file: - - Microsoft.Mission/preview/2024-10-01-preview/openapi.json -``` - -### Tag: package-2024-06-01-preview - -These settings apply only when `--tag=package-2024-06-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2024-06-01-preview' -input-file: - - Microsoft.Mission/preview/2024-06-01-preview/openapi.json -``` - -### Tag: package-2024-01-01-preview - -These settings apply only when `--tag=package-2024-01-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2024-01-01-preview' -input-file: - - Microsoft.Mission/preview/2024-01-01-preview/openapi.json -``` - -### Tag: package-2023-11-01-preview - -These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-11-01-preview' -input-file: - - Microsoft.Mission/preview/2023-11-01-preview/openapi.json -``` - -### Tag: package-2023-08-01-preview - -These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-08-01-preview' -input-file: - - Microsoft.Mission/preview/2023-08-01-preview/openapi.json -``` - -### Tag: package-2023-02-01-preview - -These settings apply only when `--tag=package-2023-02-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-02-01-preview' -input-file: - - Microsoft.Mission/preview/2023-02-01-preview/openapi.json -``` ---- - -### Tag: package-2022-12-07-preview - -These settings apply only when `--tag=package-2022-12-07-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-12-07-preview' -input-file: - - Microsoft.Mission/preview/2022-12-07-preview/openapi.json -``` ---- - -### Tag: package-2022-10-31-preview - -These settings apply only when `--tag=package-2022-10-31-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-10-31-preview' -input-file: - - Microsoft.Mission/preview/2022-10-31-preview/openapi.json -``` ---- - -### Tag: package-2022-08-02-preview - -These settings apply only when `--tag=package-2022-08-02-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-08-02-preview' -input-file: - - Microsoft.Mission/preview/2022-08-02-preview/openapi.json -``` ---- - # Code Generation ## Swagger to SDK From 4df3cc551b5cacef7df995ecba4e2b636535afbc Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 27 Jan 2025 11:15:37 -0600 Subject: [PATCH 05/89] add back the old versions --- .../mission/Mission.Management/version.tsp | 32 +++++++ .../mission/resource-manager/readme.md | 85 +++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index 60dd75d86a41..b93251540076 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -10,6 +10,38 @@ namespace Microsoft.Mission; @doc("Supported API versions for the Microsoft.Mission resource provider.") enum Versions { + @doc("The 2023-02-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_02_01_preview: "2023-02-01-preview", + + @doc("The 2023-08-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_08_01_preview: "2023-08-01-preview", + + @doc("The 2023-11-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_11_01_preview: "2023-11-01-preview", + + @doc("The 2024-01-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2024_01_01_preview: "2024-01-01-preview", + + @doc("The 2024-06-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_06_01_preview: "2024-06-01-preview", + + @doc("The 2024-10-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_10_01_preview: "2024-10-01-preview", + @doc("The 2024-11-01-preview version.") @armCommonTypesVersion("v5") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index e9bde16287d9..ac34a7d69d25 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -40,6 +40,91 @@ input-file: - Microsoft.Mission/preview/2024-11-01-preview/openapi.json ``` +### Tag: package-2024-10-01-preview + +These settings apply only when `--tag=package-2024-10-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-10-01-preview' +input-file: + - Microsoft.Mission/preview/2024-10-01-preview/openapi.json +``` + +### Tag: package-2024-06-01-preview + +These settings apply only when `--tag=package-2024-06-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-06-01-preview' +input-file: + - Microsoft.Mission/preview/2024-06-01-preview/openapi.json +``` + +### Tag: package-2024-01-01-preview + +These settings apply only when `--tag=package-2024-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-01-01-preview' +input-file: + - Microsoft.Mission/preview/2024-01-01-preview/openapi.json +``` + +### Tag: package-2023-11-01-preview + +These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-11-01-preview' +input-file: + - Microsoft.Mission/preview/2023-11-01-preview/openapi.json +``` + +### Tag: package-2023-08-01-preview + +These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-08-01-preview' +input-file: + - Microsoft.Mission/preview/2023-08-01-preview/openapi.json +``` + +### Tag: package-2023-02-01-preview + +These settings apply only when `--tag=package-2023-02-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-02-01-preview' +input-file: + - Microsoft.Mission/preview/2023-02-01-preview/openapi.json +``` +--- + +### Tag: package-2022-12-07-preview + +These settings apply only when `--tag=package-2022-12-07-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-12-07-preview' +input-file: + - Microsoft.Mission/preview/2022-12-07-preview/openapi.json +``` +--- + +### Tag: package-2022-10-31-preview + +These settings apply only when `--tag=package-2022-10-31-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-10-31-preview' +input-file: + - Microsoft.Mission/preview/2022-10-31-preview/openapi.json +``` +--- + +### Tag: package-2022-08-02-preview + +These settings apply only when `--tag=package-2022-08-02-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-08-02-preview' +input-file: + - Microsoft.Mission/preview/2022-08-02-preview/openapi.json +``` +--- + # Code Generation ## Swagger to SDK From 1c3f8dbf83eb44f4133ac5381b5916aed1366b21 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 27 Jan 2025 14:34:33 -0600 Subject: [PATCH 06/89] Removing old versions --- .../mission/Mission.Management/version.tsp | 32 ------- .../mission/resource-manager/readme.md | 85 ------------------- 2 files changed, 117 deletions(-) diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index b93251540076..60dd75d86a41 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -10,38 +10,6 @@ namespace Microsoft.Mission; @doc("Supported API versions for the Microsoft.Mission resource provider.") enum Versions { - @doc("The 2023-02-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_02_01_preview: "2023-02-01-preview", - - @doc("The 2023-08-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_08_01_preview: "2023-08-01-preview", - - @doc("The 2023-11-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_11_01_preview: "2023-11-01-preview", - - @doc("The 2024-01-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2024_01_01_preview: "2024-01-01-preview", - - @doc("The 2024-06-01-preview version.") - @armCommonTypesVersion("v5") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) - v2024_06_01_preview: "2024-06-01-preview", - - @doc("The 2024-10-01-preview version.") - @armCommonTypesVersion("v5") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) - v2024_10_01_preview: "2024-10-01-preview", - @doc("The 2024-11-01-preview version.") @armCommonTypesVersion("v5") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index ac34a7d69d25..e9bde16287d9 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -40,91 +40,6 @@ input-file: - Microsoft.Mission/preview/2024-11-01-preview/openapi.json ``` -### Tag: package-2024-10-01-preview - -These settings apply only when `--tag=package-2024-10-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2024-10-01-preview' -input-file: - - Microsoft.Mission/preview/2024-10-01-preview/openapi.json -``` - -### Tag: package-2024-06-01-preview - -These settings apply only when `--tag=package-2024-06-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2024-06-01-preview' -input-file: - - Microsoft.Mission/preview/2024-06-01-preview/openapi.json -``` - -### Tag: package-2024-01-01-preview - -These settings apply only when `--tag=package-2024-01-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2024-01-01-preview' -input-file: - - Microsoft.Mission/preview/2024-01-01-preview/openapi.json -``` - -### Tag: package-2023-11-01-preview - -These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-11-01-preview' -input-file: - - Microsoft.Mission/preview/2023-11-01-preview/openapi.json -``` - -### Tag: package-2023-08-01-preview - -These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-08-01-preview' -input-file: - - Microsoft.Mission/preview/2023-08-01-preview/openapi.json -``` - -### Tag: package-2023-02-01-preview - -These settings apply only when `--tag=package-2023-02-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-02-01-preview' -input-file: - - Microsoft.Mission/preview/2023-02-01-preview/openapi.json -``` ---- - -### Tag: package-2022-12-07-preview - -These settings apply only when `--tag=package-2022-12-07-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-12-07-preview' -input-file: - - Microsoft.Mission/preview/2022-12-07-preview/openapi.json -``` ---- - -### Tag: package-2022-10-31-preview - -These settings apply only when `--tag=package-2022-10-31-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-10-31-preview' -input-file: - - Microsoft.Mission/preview/2022-10-31-preview/openapi.json -``` ---- - -### Tag: package-2022-08-02-preview - -These settings apply only when `--tag=package-2022-08-02-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-08-02-preview' -input-file: - - Microsoft.Mission/preview/2022-08-02-preview/openapi.json -``` ---- - # Code Generation ## Swagger to SDK From 9dd5da0e4e032a8777c219bd01af92feb8170341 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Tue, 28 Jan 2025 08:27:54 -0600 Subject: [PATCH 07/89] Added older version of the API --- .../Catalog_CreateOrUpdate.json | 106 + .../2023-02-01-preview/Catalog_Delete.json | 19 + .../2023-02-01-preview/Catalog_Get.json | 50 + .../Catalog_ListByResourceGroup.json | 54 + .../Catalog_ListBySubscription.json | 53 + .../2023-02-01-preview/Catalog_Update.json | 78 + .../Community_CreateOrUpdate.json | 143 + .../2023-02-01-preview/Community_Delete.json | 19 + .../2023-02-01-preview/Community_Get.json | 60 + .../Community_ListByResourceGroup.json | 64 + .../Community_ListBySubscription.json | 63 + .../2023-02-01-preview/Community_Update.json | 96 + .../Endpoint_CreateOrUpdate.json | 95 + .../2023-02-01-preview/Endpoint_Delete.json | 20 + .../2023-02-01-preview/Endpoint_Get.json | 44 + .../Endpoint_ListByEnclaveResource.json | 48 + .../Endpoint_ListBySubscription.json | 47 + .../2023-02-01-preview/Endpoint_Update.json | 65 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 19 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 19 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2023-02-01-preview/Operations_List.json | 28 + .../VirtualEnclave_CreateOrUpdate.json | 103 + .../VirtualEnclave_Delete.json | 19 + .../VirtualEnclave_Get.json | 48 + .../VirtualEnclave_ListByResourceGroup.json | 52 + .../VirtualEnclave_ListBySubscription.json | 51 + .../VirtualEnclave_Update.json | 74 + .../Workload_CreateOrUpdate.json | 83 + .../2023-02-01-preview/Workload_Delete.json | 20 + .../2023-02-01-preview/Workload_Get.json | 40 + .../Workload_ListByEnclaveResource.json | 44 + .../Workload_ListBySubscription.json | 43 + .../2023-02-01-preview/Workload_Update.json | 57 + .../Catalog_CreateOrUpdate.json | 106 + .../2023-08-01-preview/Catalog_Delete.json | 25 + .../2023-08-01-preview/Catalog_Get.json | 50 + .../Catalog_ListByResourceGroup.json | 54 + .../Catalog_ListBySubscription.json | 53 + .../2023-08-01-preview/Catalog_Update.json | 78 + .../CommunityEndpoints_CreateOrUpdate.json | 107 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 48 + ...nityEndpoints_ListByCommunityResource.json | 53 + ...CommunityEndpoints_ListBySubscription.json | 52 + .../CommunityEndpoints_Update.json | 73 + .../Community_CreateOrUpdate.json | 88 + .../2023-08-01-preview/Community_Delete.json | 25 + .../2023-08-01-preview/Community_Get.json | 41 + .../Community_ListByResourceGroup.json | 45 + .../Community_ListBySubscription.json | 44 + .../2023-08-01-preview/Community_Update.json | 60 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + .../EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 92 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 43 + ...nclaveEndpoints_ListByEnclaveResource.json | 47 + .../EnclaveEndpoints_ListBySubscription.json | 46 + .../EnclaveEndpoints_Update.json | 63 + .../Endpoint_CreateOrUpdate.json | 92 + .../2023-08-01-preview/Endpoint_Delete.json | 26 + .../2023-08-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2023-08-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2023-08-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2023-08-01-preview/TransitHub_Delete.json | 26 + .../2023-08-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2023-08-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 100 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 47 + .../VirtualEnclave_ListByResourceGroup.json | 51 + .../VirtualEnclave_ListBySubscription.json | 50 + ...ave_PostCheckAddressSpaceAvailability.json | 24 + .../VirtualEnclave_Update.json | 72 + .../Workload_CreateOrUpdate.json | 77 + .../2023-08-01-preview/Workload_Delete.json | 26 + .../2023-08-01-preview/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../Workload_ListBySubscription.json | 41 + .../2023-08-01-preview/Workload_Update.json | 53 + .../Catalog_CreateOrUpdate.json | 106 + .../2023-11-01-preview/Catalog_Delete.json | 25 + .../2023-11-01-preview/Catalog_Get.json | 50 + .../Catalog_ListByResourceGroup.json | 54 + .../Catalog_ListBySubscription.json | 53 + .../2023-11-01-preview/Catalog_Update.json | 78 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../CommunityEndpoints_Update.json | 69 + .../Community_CreateOrUpdate.json | 88 + .../2023-11-01-preview/Community_Delete.json | 25 + .../2023-11-01-preview/Community_Get.json | 41 + .../Community_ListByResourceGroup.json | 45 + .../Community_ListBySubscription.json | 44 + .../2023-11-01-preview/Community_Update.json | 60 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + .../EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../EnclaveEndpoints_Update.json | 67 + .../Endpoint_CreateOrUpdate.json | 92 + .../2023-11-01-preview/Endpoint_Delete.json | 26 + .../2023-11-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2023-11-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2023-11-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2023-11-01-preview/TransitHub_Delete.json | 26 + .../2023-11-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2023-11-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 100 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 47 + .../VirtualEnclave_ListByResourceGroup.json | 51 + .../VirtualEnclave_ListBySubscription.json | 50 + ...ave_PostCheckAddressSpaceAvailability.json | 24 + .../VirtualEnclave_Update.json | 72 + .../Workload_CreateOrUpdate.json | 80 + .../2023-11-01-preview/Workload_Delete.json | 26 + .../2023-11-01-preview/Workload_Get.json | 39 + .../Workload_ListByEnclaveResource.json | 43 + .../Workload_ListBySubscription.json | 42 + .../2023-11-01-preview/Workload_Update.json | 55 + .../Catalog_CreateOrUpdate.json | 106 + .../2024-01-01-preview/Catalog_Delete.json | 25 + .../2024-01-01-preview/Catalog_Get.json | 50 + .../Catalog_ListByResourceGroup.json | 54 + .../Catalog_ListBySubscription.json | 53 + .../2024-01-01-preview/Catalog_Update.json | 78 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../CommunityEndpoints_Update.json | 69 + .../Community_CreateOrUpdate.json | 88 + .../2024-01-01-preview/Community_Delete.json | 25 + .../2024-01-01-preview/Community_Get.json | 41 + .../Community_ListByResourceGroup.json | 45 + .../Community_ListBySubscription.json | 44 + .../2024-01-01-preview/Community_Update.json | 60 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + .../EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../EnclaveEndpoints_Update.json | 67 + .../Endpoint_CreateOrUpdate.json | 92 + .../2024-01-01-preview/Endpoint_Delete.json | 26 + .../2024-01-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2024-01-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2024-01-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2024-01-01-preview/TransitHub_Delete.json | 26 + .../2024-01-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2024-01-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 112 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 51 + .../VirtualEnclave_ListByResourceGroup.json | 55 + .../VirtualEnclave_ListBySubscription.json | 54 + ...ave_PostCheckAddressSpaceAvailability.json | 24 + .../VirtualEnclave_Update.json | 80 + .../Workload_CreateOrUpdate.json | 80 + .../2024-01-01-preview/Workload_Delete.json | 26 + .../2024-01-01-preview/Workload_Get.json | 39 + .../Workload_ListByEnclaveResource.json | 43 + .../Workload_ListBySubscription.json | 42 + .../2024-01-01-preview/Workload_Update.json | 55 + .../Approvals_CreateOrUpdate.json | 72 + .../2024-06-01-preview/Approvals_Delete.json | 25 + .../2024-06-01-preview/Approvals_Get.json | 37 + .../Approvals_InitiatorCallback.json | 28 + .../Approvals_ListByParent.json | 42 + .../2024-06-01-preview/Approvals_Update.json | 51 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../CommunityEndpoints_Update.json | 69 + .../Community_CreateOrUpdate.json | 492 ++ .../2024-06-01-preview/Community_Delete.json | 25 + .../2024-06-01-preview/Community_Get.json | 194 + .../Community_ListByResourceGroup.json | 198 + .../Community_ListBySubscription.json | 197 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../2024-06-01-preview/Community_Update.json | 313 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../EnclaveEndpoints_Update.json | 67 + .../Endpoint_CreateOrUpdate.json | 92 + .../2024-06-01-preview/Endpoint_Delete.json | 26 + .../2024-06-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2024-06-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2024-06-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2024-06-01-preview/TransitHub_Delete.json | 26 + .../2024-06-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2024-06-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 197 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 85 + .../VirtualEnclave_ListByResourceGroup.json | 89 + .../VirtualEnclave_ListBySubscription.json | 88 + .../VirtualEnclave_Update.json | 137 + .../Workload_CreateOrUpdate.json | 71 + .../2024-06-01-preview/Workload_Delete.json | 26 + .../2024-06-01-preview/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../Workload_ListBySubscription.json | 41 + .../2024-06-01-preview/Workload_Update.json | 53 + .../Approvals_CreateOrUpdate.json | 117 + .../2024-10-01-preview/Approvals_Delete.json | 25 + .../2024-10-01-preview/Approvals_Get.json | 52 + .../Approvals_InitiatorCallback.json | 28 + .../Approvals_ListByParent.json | 57 + .../2024-10-01-preview/Approvals_Update.json | 81 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../CommunityEndpoints_Update.json | 69 + .../Community_CreateOrUpdate.json | 564 ++ .../2024-10-01-preview/Community_Delete.json | 25 + .../2024-10-01-preview/Community_Get.json | 218 + .../Community_ListByResourceGroup.json | 222 + .../Community_ListBySubscription.json | 221 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../2024-10-01-preview/Community_Update.json | 361 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../EnclaveEndpoints_Update.json | 67 + .../Endpoint_CreateOrUpdate.json | 92 + .../2024-10-01-preview/Endpoint_Delete.json | 26 + .../2024-10-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2024-10-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2024-10-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2024-10-01-preview/TransitHub_Delete.json | 26 + .../2024-10-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2024-10-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 329 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 129 + .../VirtualEnclave_ListByResourceGroup.json | 133 + .../VirtualEnclave_ListBySubscription.json | 132 + .../VirtualEnclave_Update.json | 225 + .../Workload_CreateOrUpdate.json | 71 + .../2024-10-01-preview/Workload_Delete.json | 26 + .../2024-10-01-preview/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../Workload_ListBySubscription.json | 41 + .../2024-10-01-preview/Workload_Update.json | 53 + .../mission/Mission.Management/version.tsp | 1 + .../Operations_List_MaximumSet_Gen.json | 26 + .../Operations_List_MinimumSet_Gen.json | 10 + ...Enclave_CreateOrUpdate_MaximumSet_Gen.json | 135 + ...Enclave_CreateOrUpdate_MinimumSet_Gen.json | 31 + .../VirtualEnclave_Delete_MaximumSet_Gen.json | 17 + .../VirtualEnclave_Delete_MinimumSet_Gen.json | 17 + .../VirtualEnclave_Get_MaximumSet_Gen.json | 55 + .../VirtualEnclave_Get_MinimumSet_Gen.json | 17 + ...ve_ListByResourceGroup_MaximumSet_Gen.json | 59 + ...ve_ListByResourceGroup_MinimumSet_Gen.json | 20 + ...ave_ListBySubscription_MaximumSet_Gen.json | 58 + ...ave_ListBySubscription_MinimumSet_Gen.json | 19 + .../VirtualEnclave_Update_MaximumSet_Gen.json | 85 + .../VirtualEnclave_Update_MinimumSet_Gen.json | 17 + .../preview/2022-08-02-preview/openapi.json | 624 ++ ...mmunity_CreateOrUpdate_MaximumSet_Gen.json | 81 + ...mmunity_CreateOrUpdate_MinimumSet_Gen.json | 31 + .../Community_Delete_MaximumSet_Gen.json | 17 + .../Community_Delete_MinimumSet_Gen.json | 17 + .../Community_Get_MaximumSet_Gen.json | 37 + .../Community_Get_MinimumSet_Gen.json | 17 + ...ty_ListByResourceGroup_MaximumSet_Gen.json | 41 + ...ty_ListByResourceGroup_MinimumSet_Gen.json | 20 + ...ity_ListBySubscription_MaximumSet_Gen.json | 40 + ...ity_ListBySubscription_MinimumSet_Gen.json | 19 + .../Community_Update_MaximumSet_Gen.json | 49 + .../Community_Update_MinimumSet_Gen.json | 18 + .../Operations_List_MaximumSet_Gen.json | 26 + .../Operations_List_MinimumSet_Gen.json | 10 + ...Enclave_CreateOrUpdate_MaximumSet_Gen.json | 136 + ...Enclave_CreateOrUpdate_MinimumSet_Gen.json | 32 + .../VirtualEnclave_Delete_MaximumSet_Gen.json | 18 + .../VirtualEnclave_Delete_MinimumSet_Gen.json | 18 + .../VirtualEnclave_Get_MaximumSet_Gen.json | 56 + .../VirtualEnclave_Get_MinimumSet_Gen.json | 18 + ...istByCommunityResource_MaximumSet_Gen.json | 60 + ...istByCommunityResource_MinimumSet_Gen.json | 21 + ...ave_ListBySubscription_MaximumSet_Gen.json | 59 + ...ave_ListBySubscription_MinimumSet_Gen.json | 20 + .../VirtualEnclave_Update_MaximumSet_Gen.json | 86 + .../VirtualEnclave_Update_MinimumSet_Gen.json | 19 + .../preview/2022-10-31-preview/openapi.json | 1072 +++ ...mmunity_CreateOrUpdate_MaximumSet_Gen.json | 83 + ...mmunity_CreateOrUpdate_MinimumSet_Gen.json | 33 + .../Community_Delete_MaximumSet_Gen.json | 19 + .../Community_Delete_MinimumSet_Gen.json | 19 + .../Community_Get_MaximumSet_Gen.json | 39 + .../Community_Get_MinimumSet_Gen.json | 19 + ...ty_ListByResourceGroup_MaximumSet_Gen.json | 43 + ...ty_ListByResourceGroup_MinimumSet_Gen.json | 22 + ...ity_ListBySubscription_MaximumSet_Gen.json | 42 + ...ity_ListBySubscription_MinimumSet_Gen.json | 21 + .../Community_Update_MaximumSet_Gen.json | 51 + .../Community_Update_MinimumSet_Gen.json | 19 + .../Operations_List_MaximumSet_Gen.json | 28 + .../Operations_List_MinimumSet_Gen.json | 12 + ...Enclave_CreateOrUpdate_MaximumSet_Gen.json | 183 + ...Enclave_CreateOrUpdate_MinimumSet_Gen.json | 39 + .../VirtualEnclave_Delete_MaximumSet_Gen.json | 19 + .../VirtualEnclave_Delete_MinimumSet_Gen.json | 19 + .../VirtualEnclave_Get_MaximumSet_Gen.json | 76 + .../VirtualEnclave_Get_MinimumSet_Gen.json | 21 + ...ve_ListByResourceGroup_MaximumSet_Gen.json | 80 + ...ve_ListByResourceGroup_MinimumSet_Gen.json | 24 + ...ave_ListBySubscription_MaximumSet_Gen.json | 79 + ...ave_ListBySubscription_MinimumSet_Gen.json | 23 + .../VirtualEnclave_Update_MaximumSet_Gen.json | 100 + .../VirtualEnclave_Update_MinimumSet_Gen.json | 21 + .../preview/2022-12-07-preview/openapi.json | 1041 +++ .../examples/Catalog_CreateOrUpdate.json | 106 + .../examples/Catalog_Delete.json | 19 + .../examples/Catalog_Get.json | 50 + .../examples/Catalog_ListByResourceGroup.json | 54 + .../examples/Catalog_ListBySubscription.json | 53 + .../examples/Catalog_Update.json | 78 + .../examples/Community_CreateOrUpdate.json | 143 + .../examples/Community_Delete.json | 19 + .../examples/Community_Get.json | 60 + .../Community_ListByResourceGroup.json | 64 + .../Community_ListBySubscription.json | 63 + .../examples/Community_Update.json | 96 + .../examples/Endpoint_CreateOrUpdate.json | 95 + .../examples/Endpoint_Delete.json | 20 + .../examples/Endpoint_Get.json | 44 + .../Endpoint_ListByEnclaveResource.json | 48 + .../examples/Endpoint_ListBySubscription.json | 47 + .../examples/Endpoint_Update.json | 65 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 19 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 19 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../VirtualEnclave_CreateOrUpdate.json | 103 + .../examples/VirtualEnclave_Delete.json | 19 + .../examples/VirtualEnclave_Get.json | 48 + .../VirtualEnclave_ListByResourceGroup.json | 52 + .../VirtualEnclave_ListBySubscription.json | 51 + .../examples/VirtualEnclave_Update.json | 74 + .../examples/Workload_CreateOrUpdate.json | 83 + .../examples/Workload_Delete.json | 20 + .../examples/Workload_Get.json | 40 + .../Workload_ListByEnclaveResource.json | 44 + .../examples/Workload_ListBySubscription.json | 43 + .../examples/Workload_Update.json | 57 + .../preview/2023-02-01-preview/openapi.json | 3788 +++++++++ .../examples/Catalog_CreateOrUpdate.json | 106 + .../examples/Catalog_Delete.json | 25 + .../examples/Catalog_Get.json | 50 + .../examples/Catalog_ListByResourceGroup.json | 54 + .../examples/Catalog_ListBySubscription.json | 53 + .../examples/Catalog_Update.json | 78 + .../CommunityEndpoints_CreateOrUpdate.json | 107 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 48 + ...nityEndpoints_ListByCommunityResource.json | 53 + ...CommunityEndpoints_ListBySubscription.json | 52 + .../examples/CommunityEndpoints_Update.json | 73 + .../examples/Community_CreateOrUpdate.json | 88 + .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 41 + .../Community_ListByResourceGroup.json | 45 + .../Community_ListBySubscription.json | 44 + .../examples/Community_Update.json | 60 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + .../examples/EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 92 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 43 + ...nclaveEndpoints_ListByEnclaveResource.json | 47 + .../EnclaveEndpoints_ListBySubscription.json | 46 + .../examples/EnclaveEndpoints_Update.json | 63 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 100 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 47 + .../VirtualEnclave_ListByResourceGroup.json | 51 + .../VirtualEnclave_ListBySubscription.json | 50 + ...ave_PostCheckAddressSpaceAvailability.json | 24 + .../examples/VirtualEnclave_Update.json | 72 + .../examples/Workload_CreateOrUpdate.json | 77 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../examples/Workload_ListBySubscription.json | 41 + .../examples/Workload_Update.json | 53 + .../preview/2023-08-01-preview/openapi.json | 6176 ++++++++++++++ .../examples/Catalog_CreateOrUpdate.json | 106 + .../examples/Catalog_Delete.json | 25 + .../examples/Catalog_Get.json | 50 + .../examples/Catalog_ListByResourceGroup.json | 54 + .../examples/Catalog_ListBySubscription.json | 53 + .../examples/Catalog_Update.json | 78 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../examples/CommunityEndpoints_Update.json | 69 + .../examples/Community_CreateOrUpdate.json | 88 + .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 41 + .../Community_ListByResourceGroup.json | 45 + .../Community_ListBySubscription.json | 44 + .../examples/Community_Update.json | 60 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + .../examples/EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../examples/EnclaveEndpoints_Update.json | 67 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 100 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 47 + .../VirtualEnclave_ListByResourceGroup.json | 51 + .../VirtualEnclave_ListBySubscription.json | 50 + ...ave_PostCheckAddressSpaceAvailability.json | 24 + .../examples/VirtualEnclave_Update.json | 72 + .../examples/Workload_CreateOrUpdate.json | 80 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 39 + .../Workload_ListByEnclaveResource.json | 43 + .../examples/Workload_ListBySubscription.json | 42 + .../examples/Workload_Update.json | 55 + .../preview/2023-11-01-preview/openapi.json | 6194 ++++++++++++++ .../examples/Catalog_CreateOrUpdate.json | 106 + .../examples/Catalog_Delete.json | 25 + .../examples/Catalog_Get.json | 50 + .../examples/Catalog_ListByResourceGroup.json | 54 + .../examples/Catalog_ListBySubscription.json | 53 + .../examples/Catalog_Update.json | 78 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../examples/CommunityEndpoints_Update.json | 69 + .../examples/Community_CreateOrUpdate.json | 88 + .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 41 + .../Community_ListByResourceGroup.json | 45 + .../Community_ListBySubscription.json | 44 + .../examples/Community_Update.json | 60 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + .../examples/EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../examples/EnclaveEndpoints_Update.json | 67 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 112 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 51 + .../VirtualEnclave_ListByResourceGroup.json | 55 + .../VirtualEnclave_ListBySubscription.json | 54 + ...ave_PostCheckAddressSpaceAvailability.json | 24 + .../examples/VirtualEnclave_Update.json | 80 + .../examples/Workload_CreateOrUpdate.json | 80 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 39 + .../Workload_ListByEnclaveResource.json | 43 + .../examples/Workload_ListBySubscription.json | 42 + .../examples/Workload_Update.json | 55 + .../preview/2024-01-01-preview/openapi.json | 6267 +++++++++++++++ .../examples/Approvals_CreateOrUpdate.json | 72 + .../examples/Approvals_Delete.json | 25 + .../examples/Approvals_Get.json | 37 + .../examples/Approvals_InitiatorCallback.json | 28 + .../examples/Approvals_ListByParent.json | 42 + .../examples/Approvals_Update.json | 51 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../examples/CommunityEndpoints_Update.json | 69 + .../examples/Community_CreateOrUpdate.json | 492 ++ .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 194 + .../Community_ListByResourceGroup.json | 198 + .../Community_ListBySubscription.json | 197 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../examples/Community_Update.json | 313 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../examples/EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../examples/EnclaveEndpoints_Update.json | 67 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 197 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 85 + .../VirtualEnclave_ListByResourceGroup.json | 89 + .../VirtualEnclave_ListBySubscription.json | 88 + .../examples/VirtualEnclave_Update.json | 137 + .../examples/Workload_CreateOrUpdate.json | 71 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../examples/Workload_ListBySubscription.json | 41 + .../examples/Workload_Update.json | 53 + .../preview/2024-06-01-preview/openapi.json | 6960 ++++++++++++++++ .../examples/Approvals_CreateOrUpdate.json | 117 + .../examples/Approvals_Delete.json | 25 + .../examples/Approvals_Get.json | 52 + .../examples/Approvals_InitiatorCallback.json | 28 + .../examples/Approvals_ListByParent.json | 57 + .../examples/Approvals_Update.json | 81 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../examples/CommunityEndpoints_Update.json | 69 + .../examples/Community_CreateOrUpdate.json | 564 ++ .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 218 + .../Community_ListByResourceGroup.json | 222 + .../Community_ListBySubscription.json | 221 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../examples/Community_Update.json | 361 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../examples/EnclaveConnection_Update.json | 54 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../examples/EnclaveEndpoints_Update.json | 67 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 329 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 129 + .../VirtualEnclave_ListByResourceGroup.json | 133 + .../VirtualEnclave_ListBySubscription.json | 132 + .../examples/VirtualEnclave_Update.json | 225 + .../examples/Workload_CreateOrUpdate.json | 71 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../examples/Workload_ListBySubscription.json | 41 + .../examples/Workload_Update.json | 53 + .../preview/2024-10-01-preview/openapi.json | 7113 +++++++++++++++++ 850 files changed, 89900 insertions(+) create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_CreateOrUpdate.json new file mode 100644 index 000000000000..315c10e0d628 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_CreateOrUpdate.json @@ -0,0 +1,106 @@ +{ + "title": "Catalog_CreateOrUpdate", + "operationId": "Catalog_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName", + "resource": { + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Delete.json new file mode 100644 index 000000000000..c1bd281f3298 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Catalog_Delete", + "operationId": "Catalog_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Get.json new file mode 100644 index 000000000000..fdaef7bb07ab --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Get.json @@ -0,0 +1,50 @@ +{ + "title": "Catalog_Get", + "operationId": "Catalog_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListByResourceGroup.json new file mode 100644 index 000000000000..fbe03390d3ce --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "Catalog_ListByResourceGroup", + "operationId": "Catalog_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListBySubscription.json new file mode 100644 index 000000000000..a283b01cd25e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "Catalog_ListBySubscription", + "operationId": "Catalog_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Update.json new file mode 100644 index 000000000000..be8d0c34baf0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Update.json @@ -0,0 +1,78 @@ +{ + "title": "Catalog_Update", + "operationId": "Catalog_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "TestMyCatalog", + "properties": { + "tags": { + "TestKey": "TestValue" + }, + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..fb49da9f0306 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,143 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Delete.json new file mode 100644 index 000000000000..c2634b1a0f6c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Get.json new file mode 100644 index 000000000000..983682799024 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Get.json @@ -0,0 +1,60 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..24f8a58c6eed --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,64 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..04f88ee5d71e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListBySubscription.json @@ -0,0 +1,63 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Update.json new file mode 100644 index 000000000000..96cdb1018abc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Update.json @@ -0,0 +1,96 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "key327": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..ae8272def9a5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,95 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..e9e937876223 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..33d4c072eff9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Get.json @@ -0,0 +1,44 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..f5ef1cc610b2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,48 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..a157f6f2c600 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..e73b208e3c21 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Update.json @@ -0,0 +1,65 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..cc1991651fba --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..ee6a428ecd56 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..697150566c8c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..6e8a30e485d3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..4738de120c28 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..fd7a52f2f530 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..dd32749ae923 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..f37010a0ae3a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..72f6b9941835 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..714e0bd4793e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..f02a6bf6525a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..3109ace031cd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Operations_List.json new file mode 100644 index 000000000000..4731e499fd19 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "fwljuroljeuiiyalge" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..7a3cca478828 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "properties": { + "description": "valid description goes here", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..f6234c2d2b56 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..3a831803969b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,48 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..e00fe062e997 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,52 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..33b4e2cb7964 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,51 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..e8cb540b1bb3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,74 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "description": "valid description goes here", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..e5db99d1bb89 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,83 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..b7f6606bdc42 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Get.json new file mode 100644 index 000000000000..2313abbc5f95 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Get.json @@ -0,0 +1,40 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..eba6c6c6d96b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,44 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..187078b365f8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,43 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Update.json new file mode 100644 index 000000000000..d69e3b6a1d67 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Update.json @@ -0,0 +1,57 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_CreateOrUpdate.json new file mode 100644 index 000000000000..80e94c6c7478 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_CreateOrUpdate.json @@ -0,0 +1,106 @@ +{ + "title": "Catalog_CreateOrUpdate", + "operationId": "Catalog_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName", + "resource": { + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Delete.json new file mode 100644 index 000000000000..bb1ba9b4264a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Catalog_Delete", + "operationId": "Catalog_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Get.json new file mode 100644 index 000000000000..0478fc6dbffd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Get.json @@ -0,0 +1,50 @@ +{ + "title": "Catalog_Get", + "operationId": "Catalog_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalog" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListByResourceGroup.json new file mode 100644 index 000000000000..0a4bd14484e9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "Catalog_ListByResourceGroup", + "operationId": "Catalog_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListBySubscription.json new file mode 100644 index 000000000000..d4fcafd0bc3b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "Catalog_ListBySubscription", + "operationId": "Catalog_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Update.json new file mode 100644 index 000000000000..1e34a5d14676 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Update.json @@ -0,0 +1,78 @@ +{ + "title": "Catalog_Update", + "operationId": "Catalog_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "TestMyCatalog", + "properties": { + "tags": { + "TestKey": "TestValue" + }, + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..d481e0210076 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,107 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDNTag", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDNTag", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDNTag", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..1949961a0920 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..ac9a9b18951a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,48 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..14092cbd1a6a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,53 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..9f496aebe93a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,52 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..094e20d2fc40 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,73 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..05d88a94cfdc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,88 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Delete.json new file mode 100644 index 000000000000..d0b325d77f6d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Get.json new file mode 100644 index 000000000000..862d8aad7296 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Get.json @@ -0,0 +1,41 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..5f02f3fe2f7e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..70c93788f4c7 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListBySubscription.json @@ -0,0 +1,44 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Update.json new file mode 100644 index 000000000000..6b8c7433207e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Update.json @@ -0,0 +1,60 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..654b8df66f00 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..8dc702fb7bc4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..41b95be12fa2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..469a4f86233d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..32a6fb458619 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..2606a3556665 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..69c7450aac4f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..99fa5b597654 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..db0b11921981 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..7457e0a45ddf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..b2c3888aeebf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..b4e67dc7d40b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,63 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..85637b0205cb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..9f1af2d1fb96 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..d0c88d661c3b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..0a703fe35c54 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..3071e7971797 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..7a282dfd260c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..f113817edcc8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..d2bec8885b48 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..7a7177026024 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..f56f708b3425 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..2bf98c3e96ae --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..f0d678e79c60 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..bf4be64bd96a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..84df2c4d5b1d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..c6ec1833ef16 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..c7c34d5b1843 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..867174d1fbf4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..0f8434e1e4db --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Operations_List.json new file mode 100644 index 000000000000..7cfbba37f381 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "fwljuroljeuiiyalge" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..838789b74181 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..62c7cf86069f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..ed8d44563fdf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..a146a6c95f47 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..bdb4d04af4a6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..d5cffa467c07 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..c1d3a6cc5894 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..cbd0dd51c514 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..71f3e070c19e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,47 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..f6617afde952 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,51 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..d69533d9d194 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..a10c6a110074 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,24 @@ +{ + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "title": "VirtualEnclave_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "MyVirtualEnclave", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small" + } + }, + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..4451690b5064 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,72 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..d29e1fb36462 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,77 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..89015c5a2781 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Get.json new file mode 100644 index 000000000000..894773b774ae --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..f99d62c34534 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..efcd9f97ead0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Update.json new file mode 100644 index 000000000000..172df7e98a2b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_CreateOrUpdate.json new file mode 100644 index 000000000000..03a72f32745d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_CreateOrUpdate.json @@ -0,0 +1,106 @@ +{ + "title": "Catalog_CreateOrUpdate", + "operationId": "Catalog_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName", + "resource": { + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Delete.json new file mode 100644 index 000000000000..3caaa95e849e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Catalog_Delete", + "operationId": "Catalog_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Get.json new file mode 100644 index 000000000000..ada437319fc9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Get.json @@ -0,0 +1,50 @@ +{ + "title": "Catalog_Get", + "operationId": "Catalog_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalog" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListByResourceGroup.json new file mode 100644 index 000000000000..cb0ceeec019d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "Catalog_ListByResourceGroup", + "operationId": "Catalog_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListBySubscription.json new file mode 100644 index 000000000000..f671598c6334 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "Catalog_ListBySubscription", + "operationId": "Catalog_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Update.json new file mode 100644 index 000000000000..40dfff050b2c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Update.json @@ -0,0 +1,78 @@ +{ + "title": "Catalog_Update", + "operationId": "Catalog_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "TestMyCatalog", + "properties": { + "tags": { + "TestKey": "TestValue" + }, + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..76362e58e275 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..f4a6051501de --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..c0748bc12ae3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..d7944505ad4e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1404161fe190 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..09df08a60c56 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..2bd4cb58e737 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,88 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Delete.json new file mode 100644 index 000000000000..e95d6b563beb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Get.json new file mode 100644 index 000000000000..917977cb5433 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Get.json @@ -0,0 +1,41 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..3484e6a4096b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..97077b878cb8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListBySubscription.json @@ -0,0 +1,44 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Update.json new file mode 100644 index 000000000000..b1105bd8a067 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Update.json @@ -0,0 +1,60 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..a2914c00b39f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..c7b5f05fa899 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..eb5d27f6cd22 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..dd0c56687a90 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..e17564e99aa9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..945583399378 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..54970f297b2f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..80bfb091fcbf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..8efc34ab2c69 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..43359f8e150f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..6cd9bd90d492 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..6ade06e57dc4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..18b83590f2e0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..84f94fa31380 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..80de61d865dc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..fe1e4724edf7 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..2041e8532dfe --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..3a893ab73ff6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..fd2b836bcf5c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..18056e46f312 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..d4319a5e8d09 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..e31257eb8054 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..e1106a079973 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..bfc798d2b791 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..2dd86c73ebb1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..22716f58d37a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..4de59eca5e37 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..c7125da87975 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..f31c7abd5638 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..ad3b562ffecb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Operations_List.json new file mode 100644 index 000000000000..3f9b06fa98c6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "fwljuroljeuiiyalge" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..14c51e41a0c3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..5a42a4593502 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..926b844311ca --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..85691e329958 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..d2a0d512c2b6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..4399d4ea7e69 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..77e58461e753 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..2a9d2fba739f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..fe8e4a3bd690 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,47 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..c9185b7c2f28 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,51 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..3cc0022c619b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..2be209c34f3e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,24 @@ +{ + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "title": "VirtualEnclave_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "MyVirtualEnclave", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small" + } + }, + "api-version": "2023-11-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..a2edf17df2a2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,72 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..10765dd58297 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,80 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..b0ccc8fb3c72 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Get.json new file mode 100644 index 000000000000..4a1ba19f029a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Get.json @@ -0,0 +1,39 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..39fe0964682f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,43 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..a37cae531803 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Update.json new file mode 100644 index 000000000000..1777ea4dabe6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Update.json @@ -0,0 +1,55 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_CreateOrUpdate.json new file mode 100644 index 000000000000..40270778afdb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_CreateOrUpdate.json @@ -0,0 +1,106 @@ +{ + "title": "Catalog_CreateOrUpdate", + "operationId": "Catalog_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName", + "resource": { + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Delete.json new file mode 100644 index 000000000000..c0cab72029f5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Catalog_Delete", + "operationId": "Catalog_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Get.json new file mode 100644 index 000000000000..174c0c8f3572 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Get.json @@ -0,0 +1,50 @@ +{ + "title": "Catalog_Get", + "operationId": "Catalog_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalog" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListByResourceGroup.json new file mode 100644 index 000000000000..423f91d167c0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "Catalog_ListByResourceGroup", + "operationId": "Catalog_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListBySubscription.json new file mode 100644 index 000000000000..706a1bc13bfd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "Catalog_ListBySubscription", + "operationId": "Catalog_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Update.json new file mode 100644 index 000000000000..7eeb5bc34567 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Update.json @@ -0,0 +1,78 @@ +{ + "title": "Catalog_Update", + "operationId": "Catalog_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "TestMyCatalog", + "properties": { + "tags": { + "TestKey": "TestValue" + }, + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..aa93d91fc235 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..0a1433b218b8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..39ab070e3a49 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..5e8302fdef73 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..d40483d5e0bf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..2ce4d1c4c28d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..a9cf78a76920 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,88 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Delete.json new file mode 100644 index 000000000000..4d65c2eeb70b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Get.json new file mode 100644 index 000000000000..ca8ed95b6381 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Get.json @@ -0,0 +1,41 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..267f23a47db9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..b09c59a6683b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListBySubscription.json @@ -0,0 +1,44 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Update.json new file mode 100644 index 000000000000..e0495b0d5b79 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Update.json @@ -0,0 +1,60 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..99deee0361a5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..e006005a52bb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..2be7ead17ce5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..1366e0a4e575 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..7af3bb1a70c2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..1a8d29714629 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..d0cf8b891abf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..f56d40ca8ae2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..ac5b8b427971 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..7af6424a134b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..68347bb63595 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..9379360c618f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..661b3dc46682 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..1b697b09d91d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..971eb7566709 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..1827a676ab5c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..97d2d62ceb3c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..bf51bb955271 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..4d14385c39f2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..dc4fde946302 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..6a19b47f8794 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..d6485058b3eb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..ec6e147bcf4b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..b8b85258fa08 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..d3248dee7726 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..7bd9ce503095 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..e26574b17fbd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..ebe79aeb11f6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..c3c6989511d3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..fa2fa2e32bc3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Operations_List.json new file mode 100644 index 000000000000..a0b2d65258bf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "fwljuroljeuiiyalge" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..257825be9599 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..f16dbafe306c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..7aa2caf0b2ac --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..747269fcf99b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..a2e7ec372b12 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..fffbbf8e2c6d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..15c2b8db7e18 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,112 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..1c269d57cdf6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..231d724009fb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,51 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..5c5c262a4ad7 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,55 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..00cccef6b199 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,54 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..889bafa9ce3a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,24 @@ +{ + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "title": "VirtualEnclave_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "MyVirtualEnclave", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small" + } + }, + "api-version": "2024-01-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..5a0ddf8be207 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,80 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..078b74cd77f0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,80 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..5525f690d66e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Get.json new file mode 100644 index 000000000000..78d681e1ace9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Get.json @@ -0,0 +1,39 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..620083f308a4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,43 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..eecc2078f887 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Update.json new file mode 100644 index 000000000000..3c371b703a0b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Update.json @@ -0,0 +1,55 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..1cac517c3506 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_CreateOrUpdate.json @@ -0,0 +1,72 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json new file mode 100644 index 000000000000..611df2fd2015 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json new file mode 100644 index 000000000000..b82d8110850b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Get.json @@ -0,0 +1,37 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..1842692a0cf3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json new file mode 100644 index 000000000000..ccc3fec7cd3c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_ListByParent.json @@ -0,0 +1,42 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json new file mode 100644 index 000000000000..7afa25831ff1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_Update.json @@ -0,0 +1,51 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..e9e453a7e223 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..69004ced5d20 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..a21229f9fd1a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..0958612bc8af --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..a691f2e19299 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..4fb6deabc133 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..8482bd965c2e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,492 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json new file mode 100644 index 000000000000..6b197f36646f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json new file mode 100644 index 000000000000..018c8a26fb58 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Get.json @@ -0,0 +1,194 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..56ad188c2c05 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,198 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..04eef7441ba6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_ListBySubscription.json @@ -0,0 +1,197 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..084f1426588d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json new file mode 100644 index 000000000000..055952d03613 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -0,0 +1,313 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..278ef0d9a686 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..94258eed37c2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..00c0a30615b4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..3fa04ce12bf2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..6e181e4f0e9a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..baead581952a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..206bb94c0561 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..a2c6bde2e52a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..81a6c1647393 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..49b07e7bcf1c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..4bf0a2d69eb8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..ffcf98d6bdf3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1bf13598e8f4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..040f651d0dea --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..f41d7c93eff1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..1d8e3b476724 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..d1142156985e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..13160e1b1262 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..35304bd10dc8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..1ea96ea0e8d2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..042d1106a0e1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..e7067ba7a88f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..950b5a4d4461 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..81d4dfc9db14 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..9f5104950ba9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..f0f31a3cd7e3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..731348692bf9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..ebddfc1f5737 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..e895fe521b7f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..1e24e5e7ae76 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..087c12f341a2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..9eb6146a487f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json new file mode 100644 index 000000000000..72de8204210a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..39b7954164b3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..d258ea734eec --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..9bf51dd8fded --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..316af739cb68 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..23a168cb6545 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..2af1837aecf5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..c8a513bece31 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,197 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..064c12f5f292 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..740410f9e520 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,85 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..8564e46567f3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,89 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..409f400b5dbc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,88 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..078b9363b307 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,137 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..0a5a0d9aa633 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..9ce19f4440e1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json new file mode 100644 index 000000000000..4ec1e7854f23 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..1d4f9bc83d45 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..e3895932704e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json new file mode 100644 index 000000000000..5b2d97641474 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..af21bae61e74 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json @@ -0,0 +1,117 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json new file mode 100644 index 000000000000..598be1195ae0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json new file mode 100644 index 000000000000..70686559cae9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json @@ -0,0 +1,52 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..3f3288d9fc32 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json new file mode 100644 index 000000000000..27f896c6ff11 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json @@ -0,0 +1,57 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json new file mode 100644 index 000000000000..4b4bae7d6c31 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json @@ -0,0 +1,81 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..74ccac9ed0e0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..a914cfaa7b54 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..aadf367454c5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..d706fc1c592f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1aa6f1c38841 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..58511f501dfe --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..27a6391e135c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,564 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json new file mode 100644 index 000000000000..15a266c726e9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json new file mode 100644 index 000000000000..a77dbee34a1d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json @@ -0,0 +1,218 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..82d8fa80d062 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,222 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..ed69e3298ee0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json @@ -0,0 +1,221 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..9664ce231521 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-10-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json new file mode 100644 index 000000000000..02a466a3ad9b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json @@ -0,0 +1,361 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..620695d96801 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..408742addf05 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..f2c400575e0e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..d12d696e74bf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..20f6b6f90267 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..398baf2b1245 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..f91ff5393234 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..44e829068849 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..48d032ce058f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..81c56e193c3c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..a4f6bbfcac32 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..524bc8b6253b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..200c18b170d6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..f6a0ed219a01 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..266c8b7c0f9c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..81e88f82b374 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..c41834e46777 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..2820b913d6c8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..98ca3c717a55 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..adf24f3e00af --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..821882f3c021 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..b6d95b7d2e7f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..857d3133d7ed --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..c6566524f763 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..58cbc587f957 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..886b87ed4864 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..8f3e2753e2ca --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..1de204c66f1b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..a83d87ba75f6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..cade59094581 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..38858b6b1a89 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..196f540034d6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json new file mode 100644 index 000000000000..a1a732462fe7 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..cc3fb34fba62 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..942729f39024 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..7761238dd938 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..e5563a86383a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..0b9e66cde8dd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..8b55ad1ccd06 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..966b230e7714 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,329 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..22109d1c8257 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..4543c62c4ad6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,129 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..1577e5f356ad --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,133 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..5658dfa7f86d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..0ddc8bf21d8d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,225 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..6196986fcfa8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..6e06ea6e513c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json new file mode 100644 index 000000000000..c8d33a0ae87a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..150f46b1731c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..1a4b02ce550b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json new file mode 100644 index 000000000000..39055075b22b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index 60dd75d86a41..8845b1e6ae73 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -10,6 +10,7 @@ namespace Microsoft.Mission; @doc("Supported API versions for the Microsoft.Mission resource provider.") enum Versions { + @doc("The 2024-11-01-preview version.") @armCommonTypesVersion("v5") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..473381624de1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "iqwphhsxdechcfklzh", + "isDataAction": true, + "display": { + "provider": "mboxx", + "resource": "jizi", + "operation": "hqqiczlbtpviubddodg", + "description": "ceucpz" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "klllqumfzebqvzyos" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..13d1efbbf7a8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..f95d350acbcf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi", + "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw", + "resource": { + "properties": { + "enclaveResourcesGroupId": "gbeiqqeoouqautvi", + "enclaveVirtualNetwork": { + "networkSize": "ndqk", + "networkCidr": "suggvzuzfpfhicpuyz", + "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", + "subnetClientCidr": "ifgeag", + "subnetManagementCidr": "j", + "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", + "subnetHostPoolCidr": "kxbyarkyaszl", + "vpnASN": 16 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "vxyeswhvxyrcwfplxwrdy", + "domainPasswordSecretValue": "pimjcqnowylkb", + "domainAccountValue": "veqocikqaxuvl", + "localAccountValue": "beapgtycavsnpuewqjejblkcw", + "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", + "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" + }, + "ipAddress": "ryacfgnfnqyweei" + }, + "enclaveAdministratorsObjectId": "jyusxjodnq", + "provisioningState": "Succeeded" + }, + "tags": { + "key8830": "outwrnoazjurznacchyikt" + }, + "location": "rk" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "gbeiqqeoouqautvi", + "enclaveVirtualNetwork": { + "networkSize": "ndqk", + "networkCidr": "suggvzuzfpfhicpuyz", + "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", + "subnetClientCidr": "ifgeag", + "subnetManagementCidr": "j", + "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", + "subnetHostPoolCidr": "kxbyarkyaszl", + "vpnASN": 16 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "vxyeswhvxyrcwfplxwrdy", + "domainPasswordSecretValue": "pimjcqnowylkb", + "domainAccountValue": "veqocikqaxuvl", + "localAccountValue": "beapgtycavsnpuewqjejblkcw", + "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", + "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" + }, + "ipAddress": "ryacfgnfnqyweei" + }, + "enclaveAdministratorsObjectId": "jyusxjodnq", + "provisioningState": "Succeeded" + }, + "tags": { + "key8830": "outwrnoazjurznacchyikt" + }, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki", + "name": "iymcremrgzpvktbyyca", + "type": "sxdotoiraytpbaorwmlcdlwcfsibi", + "systemData": { + "createdBy": "arkr", + "createdByType": "User", + "createdAt": "2022-10-07T21:16:12.728Z", + "lastModifiedBy": "pipriymyxhmopjiihbc", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-07T21:16:12.728Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "enclaveResourcesGroupId": "gbeiqqeoouqautvi", + "enclaveVirtualNetwork": { + "networkSize": "ndqk", + "networkCidr": "suggvzuzfpfhicpuyz", + "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", + "subnetClientCidr": "ifgeag", + "subnetManagementCidr": "j", + "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", + "subnetHostPoolCidr": "kxbyarkyaszl", + "vpnASN": 16 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "vxyeswhvxyrcwfplxwrdy", + "domainPasswordSecretValue": "pimjcqnowylkb", + "domainAccountValue": "veqocikqaxuvl", + "localAccountValue": "beapgtycavsnpuewqjejblkcw", + "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", + "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" + }, + "ipAddress": "ryacfgnfnqyweei" + }, + "enclaveAdministratorsObjectId": "jyusxjodnq", + "provisioningState": "Succeeded" + }, + "tags": { + "key8830": "outwrnoazjurznacchyikt" + }, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki", + "name": "iymcremrgzpvktbyyca", + "type": "sxdotoiraytpbaorwmlcdlwcfsibi", + "systemData": { + "createdBy": "arkr", + "createdByType": "User", + "createdAt": "2022-10-07T21:16:12.728Z", + "lastModifiedBy": "pipriymyxhmopjiihbc", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-07T21:16:12.728Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..c6ff0a62f808 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi", + "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw", + "resource": { + "properties": {}, + "location": "rk" + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": {}, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..f5309707550b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi", + "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..f5309707550b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi", + "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..66fda0d145f0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi", + "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw" + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "gbeiqqeoouqautvi", + "enclaveVirtualNetwork": { + "networkSize": "ndqk", + "networkCidr": "suggvzuzfpfhicpuyz", + "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", + "subnetClientCidr": "ifgeag", + "subnetManagementCidr": "j", + "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", + "subnetHostPoolCidr": "kxbyarkyaszl", + "vpnASN": 16 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "vxyeswhvxyrcwfplxwrdy", + "domainPasswordSecretValue": "pimjcqnowylkb", + "domainAccountValue": "veqocikqaxuvl", + "localAccountValue": "beapgtycavsnpuewqjejblkcw", + "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", + "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" + }, + "ipAddress": "ryacfgnfnqyweei" + }, + "enclaveAdministratorsObjectId": "jyusxjodnq", + "provisioningState": "Succeeded" + }, + "tags": { + "key8830": "outwrnoazjurznacchyikt" + }, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki", + "name": "iymcremrgzpvktbyyca", + "type": "sxdotoiraytpbaorwmlcdlwcfsibi", + "systemData": { + "createdBy": "arkr", + "createdByType": "User", + "createdAt": "2022-10-07T21:16:12.728Z", + "lastModifiedBy": "pipriymyxhmopjiihbc", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-07T21:16:12.728Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..f33d88341b7b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi", + "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw" + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..475295bb7138 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "enclaveResourcesGroupId": "gbeiqqeoouqautvi", + "enclaveVirtualNetwork": { + "networkSize": "ndqk", + "networkCidr": "suggvzuzfpfhicpuyz", + "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", + "subnetClientCidr": "ifgeag", + "subnetManagementCidr": "j", + "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", + "subnetHostPoolCidr": "kxbyarkyaszl", + "vpnASN": 16 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "vxyeswhvxyrcwfplxwrdy", + "domainPasswordSecretValue": "pimjcqnowylkb", + "domainAccountValue": "veqocikqaxuvl", + "localAccountValue": "beapgtycavsnpuewqjejblkcw", + "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", + "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" + }, + "ipAddress": "ryacfgnfnqyweei" + }, + "enclaveAdministratorsObjectId": "jyusxjodnq", + "provisioningState": "Succeeded" + }, + "tags": { + "key8830": "outwrnoazjurznacchyikt" + }, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki", + "name": "iymcremrgzpvktbyyca", + "type": "sxdotoiraytpbaorwmlcdlwcfsibi", + "systemData": { + "createdBy": "arkr", + "createdByType": "User", + "createdAt": "2022-10-07T21:16:12.728Z", + "lastModifiedBy": "pipriymyxhmopjiihbc", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-07T21:16:12.728Z" + } + } + ], + "nextLink": "vkociyikdqcnc" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..c0a7fad02531 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..408d21c44cb4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "enclaveResourcesGroupId": "gbeiqqeoouqautvi", + "enclaveVirtualNetwork": { + "networkSize": "ndqk", + "networkCidr": "suggvzuzfpfhicpuyz", + "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", + "subnetClientCidr": "ifgeag", + "subnetManagementCidr": "j", + "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", + "subnetHostPoolCidr": "kxbyarkyaszl", + "vpnASN": 16 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "vxyeswhvxyrcwfplxwrdy", + "domainPasswordSecretValue": "pimjcqnowylkb", + "domainAccountValue": "veqocikqaxuvl", + "localAccountValue": "beapgtycavsnpuewqjejblkcw", + "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", + "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" + }, + "ipAddress": "ryacfgnfnqyweei" + }, + "enclaveAdministratorsObjectId": "jyusxjodnq", + "provisioningState": "Succeeded" + }, + "tags": { + "key8830": "outwrnoazjurznacchyikt" + }, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki", + "name": "iymcremrgzpvktbyyca", + "type": "sxdotoiraytpbaorwmlcdlwcfsibi", + "systemData": { + "createdBy": "arkr", + "createdByType": "User", + "createdAt": "2022-10-07T21:16:12.728Z", + "lastModifiedBy": "pipriymyxhmopjiihbc", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-07T21:16:12.728Z" + } + } + ], + "nextLink": "vkociyikdqcnc" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..bb47ca8b460d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..6bb8b48b9cc4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi", + "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw", + "properties": { + "tags": { + "key7343": "nnrecaewssdkvj" + }, + "properties": { + "enclaveResourcesGroupId": "xsfrgffcxh", + "enclaveVirtualNetwork": { + "networkSize": "ndqk", + "networkCidr": "suggvzuzfpfhicpuyz", + "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", + "subnetClientCidr": "ifgeag", + "subnetManagementCidr": "j", + "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", + "subnetHostPoolCidr": "kxbyarkyaszl", + "vpnASN": 16 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "vxyeswhvxyrcwfplxwrdy", + "domainPasswordSecretValue": "pimjcqnowylkb", + "domainAccountValue": "veqocikqaxuvl", + "localAccountValue": "beapgtycavsnpuewqjejblkcw", + "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", + "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" + }, + "ipAddress": "ryacfgnfnqyweei" + }, + "enclaveAdministratorsObjectId": "i" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "gbeiqqeoouqautvi", + "enclaveVirtualNetwork": { + "networkSize": "ndqk", + "networkCidr": "suggvzuzfpfhicpuyz", + "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", + "subnetClientCidr": "ifgeag", + "subnetManagementCidr": "j", + "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", + "subnetHostPoolCidr": "kxbyarkyaszl", + "vpnASN": 16 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "vxyeswhvxyrcwfplxwrdy", + "domainPasswordSecretValue": "pimjcqnowylkb", + "domainAccountValue": "veqocikqaxuvl", + "localAccountValue": "beapgtycavsnpuewqjejblkcw", + "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", + "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" + }, + "ipAddress": "ryacfgnfnqyweei" + }, + "enclaveAdministratorsObjectId": "jyusxjodnq", + "provisioningState": "Succeeded" + }, + "tags": { + "key8830": "outwrnoazjurznacchyikt" + }, + "location": "rk", + "id": "qwyypncfmvrhmhbndqzsymki", + "name": "iymcremrgzpvktbyyca", + "type": "sxdotoiraytpbaorwmlcdlwcfsibi", + "systemData": { + "createdBy": "arkr", + "createdByType": "User", + "createdAt": "2022-10-07T21:16:12.728Z", + "lastModifiedBy": "pipriymyxhmopjiihbc", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-10-07T21:16:12.728Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..2c033993f992 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-08-02-preview", + "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", + "resourceGroupName": "rgopenapi", + "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw", + "properties": {} + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "rk" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/openapi.json new file mode 100644 index 000000000000..2d9e9beaa4ab --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/openapi.json @@ -0,0 +1,624 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2022-08-02-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-cadl-generated": [ + { + "emitter": "@azure-tools/cadl-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "VirtualEnclave" + }, + { + "name": "Operations" + } + ], + "paths": { + "/providers/Microsoft.Mission/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_ListBySubscription", + "description": "List missionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/missionResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json" + }, + "VirtualEnclave_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_ListByResourceGroup", + "description": "List missionResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/missionResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json" + }, + "VirtualEnclave_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclave}": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Get", + "description": "Get a missionResource", + "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/missionResource.virtualEnclave" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/missionResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Get_MaximumSet_Gen.json" + }, + "VirtualEnclave_Get_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_CreateOrUpdate", + "description": "Create a missionResource", + "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/missionResource.virtualEnclave" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/missionResource" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/missionResource" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + }, + "schema": { + "$ref": "#/definitions/missionResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json" + }, + "VirtualEnclave_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Update", + "description": "Update a missionResource", + "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/missionResource.virtualEnclave" + }, + { + "name": "properties", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/missionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/missionResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Update_MaximumSet_Gen.json" + }, + "VirtualEnclave_Update_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Delete", + "description": "Delete a missionResource", + "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/missionResource.virtualEnclave" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualEnclave_Delete_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Delete_MaximumSet_Gen.json" + }, + "VirtualEnclave_Delete_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Delete_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "enclaveCore": { + "type": "object", + "properties": { + "enclaveKeyVault": { + "$ref": "#/definitions/enclaveKeyVault", + "description": "Virtual Enclave's centrally shared Key Vault." + }, + "ipAddress": { + "type": "string", + "description": "Ip Address." + } + }, + "description": "Enclave Core properties" + }, + "enclaveKeyVault": { + "type": "object", + "properties": { + "domainNameValue": { + "type": "string", + "description": "Domain Name." + }, + "domainPasswordSecretValue": { + "type": "string", + "description": "Domain Password Secret Value." + }, + "domainAccountValue": { + "type": "string", + "description": "Domain Account Value." + }, + "localAccountValue": { + "type": "string", + "description": "Local Account Value." + }, + "localPasswordSecretValue": { + "type": "string", + "description": "Local Password Secret Value." + }, + "ouPathValue": { + "type": "string", + "description": "Ou Path Value." + } + }, + "description": "Enclave Key Vault Resource" + }, + "enclaveVirtualNetwork": { + "type": "object", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "networkCidr": { + "type": "string", + "description": "Network Address." + }, + "subnetGatewayCidr": { + "type": "string", + "description": "Subnet Gateway Address." + }, + "subnetClientCidr": { + "type": "string", + "description": "Subnet Client Address." + }, + "subnetManagementCidr": { + "type": "string", + "description": "Subnet Management Address." + }, + "subnetResourcesCidr": { + "type": "string", + "description": "Subnet Resources Address." + }, + "subnetHostPoolCidr": { + "type": "string", + "description": "Subnet HostPool Address." + }, + "vpnASN": { + "type": "integer", + "format": "int32", + "description": "VPN asn." + } + }, + "description": "Enclave Virtual Network Resource" + }, + "missionResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/virtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + } + }, + "description": "Mission Resource", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "missionResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/missionResource" + }, + "x-cadl-name": "missionResource[]", + "description": "The missionResource items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a missionResource list operation.", + "required": [ + "value" + ] + }, + "missionResourceUpdate": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "properties": { + "$ref": "#/definitions/missionResourceUpdateProperties" + } + }, + "description": "The type used for update operations of the missionResource." + }, + "missionResourceUpdateProperties": { + "type": "object", + "properties": { + "enclaveResourcesGroupId": { + "type": "string", + "description": "Virtual Enclave Resource Group Id." + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/enclaveVirtualNetwork", + "description": "Virtual Enclave Virtual Network." + }, + "enclaveCore": { + "$ref": "#/definitions/enclaveCore", + "description": "Virtual Enclave Core." + }, + "enclaveAdministratorsObjectId": { + "type": "string", + "description": "Virtual Enclave Administrators Object Id." + } + }, + "description": "The updatable properties of the missionResource." + }, + "provisioningState": { + "type": "string", + "description": "Provisioning State Enum", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Unknown", + "Validating", + "Processing", + "Deleting", + "Accepted", + "Completed", + "Deleted" + ], + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "virtualEnclaveProperties": { + "type": "object", + "properties": { + "enclaveResourcesGroupId": { + "type": "string", + "description": "Virtual Enclave Resource Group Id." + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/enclaveVirtualNetwork", + "description": "Virtual Enclave Virtual Network." + }, + "enclaveCore": { + "$ref": "#/definitions/enclaveCore", + "description": "Virtual Enclave Core." + }, + "enclaveAdministratorsObjectId": { + "type": "string", + "description": "Virtual Enclave Administrators Object Id." + }, + "provisioningState": { + "$ref": "#/definitions/provisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "description": "Virtual Enclave properties" + } + }, + "parameters": { + "missionResource.virtualEnclave": { + "name": "virtualEnclave", + "in": "path", + "required": true, + "description": "The name of the missionResource Resource", + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..5b5b83b5d3ac --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "resource": { + "properties": { + "description": "qa", + "addressSpace": "myiapswodbnfy", + "dnsServers": [ + "ttldbqmby" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key3344": "toxtsdfxu" + }, + "location": "pvet" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "qa", + "addressSpace": "myiapswodbnfy", + "dnsServers": [ + "ttldbqmby" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key3344": "toxtsdfxu" + }, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg", + "name": "gqzfwkpifqegsvobwaxddk", + "type": "mrxgfqqqoomavwoms", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "qa", + "addressSpace": "myiapswodbnfy", + "dnsServers": [ + "ttldbqmby" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key3344": "toxtsdfxu" + }, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg", + "name": "gqzfwkpifqegsvobwaxddk", + "type": "mrxgfqqqoomavwoms", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..876ae1276a87 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "resource": { + "properties": {}, + "location": "pvet" + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": {}, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..3c253929365e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..3c253929365e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..d26f7c1823b8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MaximumSet_Gen.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "qa", + "addressSpace": "myiapswodbnfy", + "dnsServers": [ + "ttldbqmby" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key3344": "toxtsdfxu" + }, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg", + "name": "gqzfwkpifqegsvobwaxddk", + "type": "mrxgfqqqoomavwoms", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..d5c6a3a1fed6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw" + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..220e1ed8f603 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "qa", + "addressSpace": "myiapswodbnfy", + "dnsServers": [ + "ttldbqmby" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key3344": "toxtsdfxu" + }, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg", + "name": "gqzfwkpifqegsvobwaxddk", + "type": "mrxgfqqqoomavwoms", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + ], + "nextLink": "njkozyiqodtjcwebdtsycdkrzexbv" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..d18e43cb6070 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..442bb9259291 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "qa", + "addressSpace": "myiapswodbnfy", + "dnsServers": [ + "ttldbqmby" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key3344": "toxtsdfxu" + }, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg", + "name": "gqzfwkpifqegsvobwaxddk", + "type": "mrxgfqqqoomavwoms", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + ], + "nextLink": "njkozyiqodtjcwebdtsycdkrzexbv" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..8d896775dc6a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..5125df20bc0d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MaximumSet_Gen.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "properties": { + "tags": { + "key6874": "cvuvpcnlmvuodqjnxmvc" + }, + "properties": { + "description": "lyr", + "addressSpace": "cdaaobczspiuixobamh", + "dnsServers": [ + "znwactsddqsx" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "qa", + "addressSpace": "myiapswodbnfy", + "dnsServers": [ + "znwactsddqsx" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key3344": "toxtsdfxu" + }, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg", + "name": "gqzfwkpifqegsvobwaxddk", + "type": "mrxgfqqqoomavwoms", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..2fd4b6d14426 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "properties": {} + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "pvet", + "id": "sjjghjfmznnaqgxinnfg" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..45c022ff3072 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "jhmvzvxpkrvyebdhjiyjdqdctwwetx", + "isDataAction": true, + "display": { + "provider": "darcrlwndzacwuaniioqmsykhhkprb", + "resource": "lpoaveaavqlmy", + "operation": "x", + "description": "khhefwtlvrtatqkqbmv" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "cdhmyfcebuoccvsvbpozgiomqryxl" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..98ff5484e9ac --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..331897d65635 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "virtualEnclaveName": "lbk", + "resource": { + "properties": { + "enclaveResourcesGroupId": "ziqu", + "enclaveVirtualNetwork": { + "networkSize": "qiqlegmvvxloumimyplpuwftl", + "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", + "subnetGatewayCidr": "habljwttntbirinopwji", + "subnetClientCidr": "kjwplpw", + "subnetManagementCidr": "ympvcnzuzxaqp", + "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", + "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", + "vpnASN": 18 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "ci", + "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", + "domainAccountValue": "dtxbmqafruqfvyymbnbf", + "localAccountValue": "aqdjmpotthli", + "localPasswordSecretValue": "p", + "ouPathValue": "vawsfcezygurppkw" + }, + "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" + }, + "enclaveAdministratorsObjectId": "ifbyvgjllx", + "provisioningState": "Succeeded" + }, + "tags": { + "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" + }, + "location": "zzbnaojcfisgxcpfekgthgdu" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "ziqu", + "enclaveVirtualNetwork": { + "networkSize": "qiqlegmvvxloumimyplpuwftl", + "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", + "subnetGatewayCidr": "habljwttntbirinopwji", + "subnetClientCidr": "kjwplpw", + "subnetManagementCidr": "ympvcnzuzxaqp", + "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", + "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", + "vpnASN": 18 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "ci", + "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", + "domainAccountValue": "dtxbmqafruqfvyymbnbf", + "localAccountValue": "aqdjmpotthli", + "localPasswordSecretValue": "p", + "ouPathValue": "vawsfcezygurppkw" + }, + "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" + }, + "enclaveAdministratorsObjectId": "ifbyvgjllx", + "provisioningState": "Succeeded" + }, + "tags": { + "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" + }, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg", + "name": "y", + "type": "fvdkc", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "enclaveResourcesGroupId": "ziqu", + "enclaveVirtualNetwork": { + "networkSize": "qiqlegmvvxloumimyplpuwftl", + "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", + "subnetGatewayCidr": "habljwttntbirinopwji", + "subnetClientCidr": "kjwplpw", + "subnetManagementCidr": "ympvcnzuzxaqp", + "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", + "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", + "vpnASN": 18 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "ci", + "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", + "domainAccountValue": "dtxbmqafruqfvyymbnbf", + "localAccountValue": "aqdjmpotthli", + "localPasswordSecretValue": "p", + "ouPathValue": "vawsfcezygurppkw" + }, + "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" + }, + "enclaveAdministratorsObjectId": "ifbyvgjllx", + "provisioningState": "Succeeded" + }, + "tags": { + "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" + }, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg", + "name": "y", + "type": "fvdkc", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..7adec23cf49c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "virtualEnclaveName": "lbk", + "resource": { + "properties": {}, + "location": "zzbnaojcfisgxcpfekgthgdu" + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": {}, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..3874743cbb44 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "virtualEnclaveName": "lbk" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..3874743cbb44 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "virtualEnclaveName": "lbk" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..ffc40fa5800f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "virtualEnclaveName": "lbk" + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "ziqu", + "enclaveVirtualNetwork": { + "networkSize": "qiqlegmvvxloumimyplpuwftl", + "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", + "subnetGatewayCidr": "habljwttntbirinopwji", + "subnetClientCidr": "kjwplpw", + "subnetManagementCidr": "ympvcnzuzxaqp", + "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", + "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", + "vpnASN": 18 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "ci", + "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", + "domainAccountValue": "dtxbmqafruqfvyymbnbf", + "localAccountValue": "aqdjmpotthli", + "localPasswordSecretValue": "p", + "ouPathValue": "vawsfcezygurppkw" + }, + "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" + }, + "enclaveAdministratorsObjectId": "ifbyvgjllx", + "provisioningState": "Succeeded" + }, + "tags": { + "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" + }, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg", + "name": "y", + "type": "fvdkc", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..88512a3facd3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "virtualEnclaveName": "lbk" + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..3b2ecf4f248a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "enclaveResourcesGroupId": "ziqu", + "enclaveVirtualNetwork": { + "networkSize": "qiqlegmvvxloumimyplpuwftl", + "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", + "subnetGatewayCidr": "habljwttntbirinopwji", + "subnetClientCidr": "kjwplpw", + "subnetManagementCidr": "ympvcnzuzxaqp", + "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", + "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", + "vpnASN": 18 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "ci", + "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", + "domainAccountValue": "dtxbmqafruqfvyymbnbf", + "localAccountValue": "aqdjmpotthli", + "localPasswordSecretValue": "p", + "ouPathValue": "vawsfcezygurppkw" + }, + "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" + }, + "enclaveAdministratorsObjectId": "ifbyvgjllx", + "provisioningState": "Succeeded" + }, + "tags": { + "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" + }, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg", + "name": "y", + "type": "fvdkc", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + ], + "nextLink": "kxgnjgsivbfbteomakdgf" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json new file mode 100644 index 000000000000..37b21e4ca64c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..41d64853471d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "communityName": "oymdgjtnnvflxjpfrevwtzkw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "enclaveResourcesGroupId": "ziqu", + "enclaveVirtualNetwork": { + "networkSize": "qiqlegmvvxloumimyplpuwftl", + "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", + "subnetGatewayCidr": "habljwttntbirinopwji", + "subnetClientCidr": "kjwplpw", + "subnetManagementCidr": "ympvcnzuzxaqp", + "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", + "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", + "vpnASN": 18 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "ci", + "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", + "domainAccountValue": "dtxbmqafruqfvyymbnbf", + "localAccountValue": "aqdjmpotthli", + "localPasswordSecretValue": "p", + "ouPathValue": "vawsfcezygurppkw" + }, + "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" + }, + "enclaveAdministratorsObjectId": "ifbyvgjllx", + "provisioningState": "Succeeded" + }, + "tags": { + "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" + }, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg", + "name": "y", + "type": "fvdkc", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + ], + "nextLink": "kxgnjgsivbfbteomakdgf" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..47eb138738f2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "communityName": "oymdgjtnnvflxjpfrevwtzkw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..170278b36c35 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "virtualEnclaveName": "lbk", + "properties": { + "tags": { + "key974": "nlkwbanzqkbgzckhutibhdh" + }, + "properties": { + "enclaveResourcesGroupId": "foiaxfrmgoho", + "enclaveVirtualNetwork": { + "networkSize": "qiqlegmvvxloumimyplpuwftl", + "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", + "subnetGatewayCidr": "habljwttntbirinopwji", + "subnetClientCidr": "kjwplpw", + "subnetManagementCidr": "ympvcnzuzxaqp", + "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", + "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", + "vpnASN": 18 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "ci", + "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", + "domainAccountValue": "dtxbmqafruqfvyymbnbf", + "localAccountValue": "aqdjmpotthli", + "localPasswordSecretValue": "p", + "ouPathValue": "vawsfcezygurppkw" + }, + "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" + }, + "enclaveAdministratorsObjectId": "tsfgjsff" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "ziqu", + "enclaveVirtualNetwork": { + "networkSize": "qiqlegmvvxloumimyplpuwftl", + "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", + "subnetGatewayCidr": "habljwttntbirinopwji", + "subnetClientCidr": "kjwplpw", + "subnetManagementCidr": "ympvcnzuzxaqp", + "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", + "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", + "vpnASN": 18 + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "ci", + "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", + "domainAccountValue": "dtxbmqafruqfvyymbnbf", + "localAccountValue": "aqdjmpotthli", + "localPasswordSecretValue": "p", + "ouPathValue": "vawsfcezygurppkw" + }, + "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" + }, + "enclaveAdministratorsObjectId": "ifbyvgjllx", + "provisioningState": "Succeeded" + }, + "tags": { + "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" + }, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg", + "name": "y", + "type": "fvdkc", + "systemData": { + "createdBy": "ere", + "createdByType": "User", + "createdAt": "2022-11-07T08:13:51.160Z", + "lastModifiedBy": "akuhj", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-11-07T08:13:51.160Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..ebcc0471a83d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2022-10-31-preview", + "subscriptionId": "xpkpadwgfahb", + "resourceGroupName": "rgopenapi", + "communityName": "oymdgjtnnvflxjpfrevwtzkw", + "virtualEnclaveName": "lbk", + "properties": {} + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "zzbnaojcfisgxcpfekgthgdu", + "id": "vxicfg" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/openapi.json new file mode 100644 index 000000000000..2e80f50e68c3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/openapi.json @@ -0,0 +1,1072 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2022-10-31-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-cadl-generated": [ + { + "emitter": "@azure-tools/cadl-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "Operations" + } + ], + "paths": { + "/providers/Microsoft.Mission/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "tags": [ + "Community" + ], + "operationId": "Community_ListBySubscription", + "description": "List communityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Community_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/Community_ListBySubscription_MaximumSet_Gen.json" + }, + "Community_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/Community_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/virtualEnclaves": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_ListBySubscription", + "description": "List enclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/communityResource.communityName" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json" + }, + "VirtualEnclave_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "tags": [ + "Community" + ], + "operationId": "Community_ListByResourceGroup", + "description": "List communityResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Community_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/Community_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Community_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/Community_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "tags": [ + "Community" + ], + "operationId": "Community_Get", + "description": "Get a communityResource", + "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/communityResource.communityName" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get_MaximumSet_Gen": { + "$ref": "./examples/Community_Get_MaximumSet_Gen.json" + }, + "Community_Get_MinimumSet_Gen": { + "$ref": "./examples/Community_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "Community" + ], + "operationId": "Community_CreateOrUpdate", + "description": "Create a communityResource", + "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/communityResource.communityName" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/communityResource" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResource" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + }, + "schema": { + "$ref": "#/definitions/communityResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Community_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Community_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Community_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/Community_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "Community" + ], + "operationId": "Community_Update", + "description": "Update a communityResource", + "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/communityResource.communityName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/communityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update_MaximumSet_Gen": { + "$ref": "./examples/Community_Update_MaximumSet_Gen.json" + }, + "Community_Update_MinimumSet_Gen": { + "$ref": "./examples/Community_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "Community" + ], + "operationId": "Community_Delete", + "description": "Delete a communityResource", + "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/communityResource.communityName" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Community_Delete_MaximumSet_Gen": { + "$ref": "./examples/Community_Delete_MaximumSet_Gen.json" + }, + "Community_Delete_MinimumSet_Gen": { + "$ref": "./examples/Community_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/virtualEnclaves": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_ListByCommunityResource", + "description": "List enclaveResource resources by CommunityResource", + "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/communityResource.communityName" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VirtualEnclave_ListByCommunityResource_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json" + }, + "VirtualEnclave_ListByCommunityResource_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Get", + "description": "Get a enclaveResource", + "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/communityResource.communityName" + }, + { + "$ref": "#/parameters/enclaveResource.virtualEnclaveName" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Get_MaximumSet_Gen.json" + }, + "VirtualEnclave_Get_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_CreateOrUpdate", + "description": "Create a enclaveResource", + "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/communityResource.communityName" + }, + { + "$ref": "#/parameters/enclaveResource.virtualEnclaveName" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/enclaveResource" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResource" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + }, + "schema": { + "$ref": "#/definitions/enclaveResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json" + }, + "VirtualEnclave_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Update", + "description": "Update a enclaveResource", + "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/communityResource.communityName" + }, + { + "$ref": "#/parameters/enclaveResource.virtualEnclaveName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/enclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Update_MaximumSet_Gen.json" + }, + "VirtualEnclave_Update_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Delete", + "description": "Delete a enclaveResource", + "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/communityResource.communityName" + }, + { + "$ref": "#/parameters/enclaveResource.virtualEnclaveName" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualEnclave_Delete_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Delete_MaximumSet_Gen.json" + }, + "VirtualEnclave_Delete_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Delete_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "communityProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Community Description." + }, + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "Dns Servers." + }, + "provisioningState": { + "$ref": "#/definitions/provisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "description": "Community Resource Properties" + }, + "communityResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/communityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + } + }, + "description": "Community Model Resource", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "communityResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/communityResource" + }, + "x-cadl-name": "communityResource[]", + "description": "The communityResource items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a communityResource list operation.", + "required": [ + "value" + ] + }, + "communityResourceUpdate": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "properties": { + "$ref": "#/definitions/communityResourceUpdateProperties" + } + }, + "description": "The type used for update operations of the communityResource." + }, + "communityResourceUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Community Description." + }, + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "Dns Servers." + } + }, + "description": "The updatable properties of the communityResource." + }, + "enclaveCore": { + "type": "object", + "properties": { + "enclaveKeyVault": { + "$ref": "#/definitions/enclaveKeyVault", + "description": "Virtual Enclave's centrally shared Key Vault." + }, + "ipAddress": { + "type": "string", + "description": "Ip Address." + } + }, + "description": "Enclave Core properties" + }, + "enclaveKeyVault": { + "type": "object", + "properties": { + "domainNameValue": { + "type": "string", + "description": "Domain Name." + }, + "domainPasswordSecretValue": { + "type": "string", + "description": "Domain Password Secret Value." + }, + "domainAccountValue": { + "type": "string", + "description": "Domain Account Value." + }, + "localAccountValue": { + "type": "string", + "description": "Local Account Value." + }, + "localPasswordSecretValue": { + "type": "string", + "description": "Local Password Secret Value." + }, + "ouPathValue": { + "type": "string", + "description": "Ou Path Value." + } + }, + "description": "Enclave Key Vault Properties" + }, + "enclaveResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/virtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + } + }, + "description": "Virtual Enclave Model Resource", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "enclaveResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/enclaveResource" + }, + "x-cadl-name": "enclaveResource[]", + "description": "The enclaveResource items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a enclaveResource list operation.", + "required": [ + "value" + ] + }, + "enclaveResourceUpdate": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "properties": { + "$ref": "#/definitions/enclaveResourceUpdateProperties" + } + }, + "description": "The type used for update operations of the enclaveResource." + }, + "enclaveResourceUpdateProperties": { + "type": "object", + "properties": { + "enclaveResourcesGroupId": { + "type": "string", + "description": "Virtual Enclave Resource Group Id." + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/enclaveVirtualNetwork", + "description": "Virtual Enclave Virtual Network." + }, + "enclaveCore": { + "$ref": "#/definitions/enclaveCore", + "description": "Virtual Enclave Core." + }, + "enclaveAdministratorsObjectId": { + "type": "string", + "description": "Virtual Enclave Administrators Object Id." + } + }, + "description": "The updatable properties of the enclaveResource." + }, + "enclaveVirtualNetwork": { + "type": "object", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "networkCidr": { + "type": "string", + "description": "Network Address." + }, + "subnetGatewayCidr": { + "type": "string", + "description": "Subnet Gateway Address." + }, + "subnetClientCidr": { + "type": "string", + "description": "Subnet Client Address." + }, + "subnetManagementCidr": { + "type": "string", + "description": "Subnet Management Address." + }, + "subnetResourcesCidr": { + "type": "string", + "description": "Subnet Resources Address." + }, + "subnetHostPoolCidr": { + "type": "string", + "description": "Subnet HostPool Address." + }, + "vpnASN": { + "type": "integer", + "format": "int32", + "description": "VPN asn." + } + }, + "description": "Enclave Virtual Network Properties" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning State Enum", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Unknown", + "Validating", + "Processing", + "Deleting", + "Accepted", + "Completed", + "Deleted" + ], + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "virtualEnclaveProperties": { + "type": "object", + "properties": { + "enclaveResourcesGroupId": { + "type": "string", + "description": "Virtual Enclave Resource Group Id." + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/enclaveVirtualNetwork", + "description": "Virtual Enclave Virtual Network." + }, + "enclaveCore": { + "$ref": "#/definitions/enclaveCore", + "description": "Virtual Enclave Core." + }, + "enclaveAdministratorsObjectId": { + "type": "string", + "description": "Virtual Enclave Administrators Object Id." + }, + "provisioningState": { + "$ref": "#/definitions/provisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "description": "Virtual Enclave Resource properties" + } + }, + "parameters": { + "communityResource.communityName": { + "name": "communityName", + "in": "path", + "required": true, + "description": "The name of the communityResource Resource", + "type": "string", + "x-ms-parameter-location": "method" + }, + "enclaveResource.virtualEnclaveName": { + "name": "virtualEnclaveName", + "in": "path", + "required": true, + "description": "The name of the enclaveResource Resource", + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..89331d39c306 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,83 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "communityName": "yhluvizzmbfup", + "resource": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..7702037efe78 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "communityName": "yhluvizzmbfup", + "resource": { + "properties": {}, + "location": "dossxdnchsvysnzemhjdfn" + } + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": {}, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..61dfa0de0c99 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "communityName": "yhluvizzmbfup" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..61dfa0de0c99 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "communityName": "yhluvizzmbfup" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..8352edb6899c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MaximumSet_Gen.json @@ -0,0 +1,39 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "communityName": "yhluvizzmbfup" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..656fb8e92a66 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "communityName": "yhluvizzmbfup" + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..70be4a74cf2f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,43 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + ], + "nextLink": "auufhovgogxtebwbqtfwaneda" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..d239567e77a9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..79cacdf3aa70 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,42 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + ], + "nextLink": "auufhovgogxtebwbqtfwaneda" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..d0ce5307f9e5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": {}, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..1ef6ca9e1358 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "communityName": "yhluvizzmbfup", + "properties": { + "tags": { + "key5739": "btvqamilclgwciclldg" + }, + "properties": { + "description": "gmjqjeufvstwrddj", + "addressSpace": "ojmlkprjjypllugapcvtpx", + "dnsServers": [ + "dhdtppacnhczieumhwrlhwi" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "dhdtppacnhczieumhwrlhwi" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..53a9e798d966 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "communityName": "yhluvizzmbfup", + "properties": {} + }, + "responses": { + "200": { + "body": { + "properties": {}, + "location": "dossxdnchsvysnzemhjdfn" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..eceb822f84d5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2022-12-07-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "snqnikjexvznpzxqhtm", + "isDataAction": true, + "display": { + "provider": "zaaktlcylagzjyttsuudhatlene", + "resource": "lapyjvtnzjjoiceny", + "operation": "divuphylvmorsbzcaxzyjzjxjxxs", + "description": "orxidf" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "unctjgcyqizojmkwrzsbmbwzonjm" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..3bc8ecfb1c9f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2022-12-07-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..ae5b4475bfd7 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,183 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "kphbocqnj", + "resource": { + "properties": { + "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", + "enclaveVirtualNetwork": { + "networkSize": "kzhxzsjwpqluuju" + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", + "domainPasswordSecretValue": "idq", + "domainAccountValue": "ruacqgsbmdywtnzm", + "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", + "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", + "ouPathValue": "hjreuedwlviceiyqfmaozh" + }, + "ipAddress": "frhymq" + }, + "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", + "provisioningState": "Succeeded", + "communityResourceId": "ezeogdvdx", + "communityResource": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn" + } + }, + "tags": { + "key4004": "btlbevktboqopgvktph" + }, + "location": "gwfmmsxxebrxseyfexqe" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", + "enclaveVirtualNetwork": { + "networkSize": "kzhxzsjwpqluuju" + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", + "domainPasswordSecretValue": "idq", + "domainAccountValue": "ruacqgsbmdywtnzm", + "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", + "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", + "ouPathValue": "hjreuedwlviceiyqfmaozh" + }, + "ipAddress": "frhymq" + }, + "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", + "provisioningState": "Succeeded", + "communityResourceId": "ezeogdvdx", + "communityResource": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + }, + "tags": { + "key4004": "btlbevktboqopgvktph" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "jonbdhvjijwnbizxrtmbdjhoikxl", + "name": "zmyamtelnyxmurkolx", + "type": "rkhofkpmxmk", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", + "enclaveVirtualNetwork": { + "networkSize": "kzhxzsjwpqluuju" + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", + "domainPasswordSecretValue": "idq", + "domainAccountValue": "ruacqgsbmdywtnzm", + "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", + "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", + "ouPathValue": "hjreuedwlviceiyqfmaozh" + }, + "ipAddress": "frhymq" + }, + "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", + "provisioningState": "Succeeded", + "communityResourceId": "ezeogdvdx", + "communityResource": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + }, + "tags": { + "key4004": "btlbevktboqopgvktph" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "jonbdhvjijwnbizxrtmbdjhoikxl", + "name": "zmyamtelnyxmurkolx", + "type": "rkhofkpmxmk", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..6d8b38228c97 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,39 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "kphbocqnj", + "resource": { + "properties": { + "communityResourceId": "ezeogdvdx" + }, + "location": "gwfmmsxxebrxseyfexqe" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "ezeogdvdx" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "sflyvgaacgtwayrbgogq" + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "ezeogdvdx" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "sflyvgaacgtwayrbgogq" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..8a702a65fc9c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "kphbocqnj" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..8a702a65fc9c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "kphbocqnj" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..7634e97f9a04 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json @@ -0,0 +1,76 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "kphbocqnj" + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", + "enclaveVirtualNetwork": { + "networkSize": "kzhxzsjwpqluuju" + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", + "domainPasswordSecretValue": "idq", + "domainAccountValue": "ruacqgsbmdywtnzm", + "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", + "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", + "ouPathValue": "hjreuedwlviceiyqfmaozh" + }, + "ipAddress": "frhymq" + }, + "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", + "provisioningState": "Succeeded", + "communityResourceId": "ezeogdvdx", + "communityResource": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + }, + "tags": { + "key4004": "btlbevktboqopgvktph" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "jonbdhvjijwnbizxrtmbdjhoikxl", + "name": "zmyamtelnyxmurkolx", + "type": "rkhofkpmxmk", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..ae5699196323 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "kphbocqnj" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "ezeogdvdx" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "sflyvgaacgtwayrbgogq" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..b7511c9a825a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,80 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", + "enclaveVirtualNetwork": { + "networkSize": "kzhxzsjwpqluuju" + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", + "domainPasswordSecretValue": "idq", + "domainAccountValue": "ruacqgsbmdywtnzm", + "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", + "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", + "ouPathValue": "hjreuedwlviceiyqfmaozh" + }, + "ipAddress": "frhymq" + }, + "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", + "provisioningState": "Succeeded", + "communityResourceId": "ezeogdvdx", + "communityResource": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + }, + "tags": { + "key4004": "btlbevktboqopgvktph" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "jonbdhvjijwnbizxrtmbdjhoikxl", + "name": "zmyamtelnyxmurkolx", + "type": "rkhofkpmxmk", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + ], + "nextLink": "ahficpjbiilqxfixeysdwqz" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..fe50fdeacefb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "ezeogdvdx" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "sflyvgaacgtwayrbgogq" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..68cb321824dc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,79 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", + "enclaveVirtualNetwork": { + "networkSize": "kzhxzsjwpqluuju" + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", + "domainPasswordSecretValue": "idq", + "domainAccountValue": "ruacqgsbmdywtnzm", + "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", + "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", + "ouPathValue": "hjreuedwlviceiyqfmaozh" + }, + "ipAddress": "frhymq" + }, + "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", + "provisioningState": "Succeeded", + "communityResourceId": "ezeogdvdx", + "communityResource": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + }, + "tags": { + "key4004": "btlbevktboqopgvktph" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "jonbdhvjijwnbizxrtmbdjhoikxl", + "name": "zmyamtelnyxmurkolx", + "type": "rkhofkpmxmk", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + ], + "nextLink": "ahficpjbiilqxfixeysdwqz" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..3e58f1701cd1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,23 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "ezeogdvdx" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "sflyvgaacgtwayrbgogq" + } + ] + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..c79ff0a147e1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json @@ -0,0 +1,100 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "kphbocqnj", + "properties": { + "tags": { + "key6527": "ykcjureqkysvrwgbthypszbaicdf" + }, + "properties": { + "enclaveResourcesGroupId": "yvasiejhnrhvtzhhyc", + "enclaveVirtualNetwork": { + "networkSize": "kzhxzsjwpqluuju" + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", + "domainPasswordSecretValue": "idq", + "domainAccountValue": "ruacqgsbmdywtnzm", + "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", + "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", + "ouPathValue": "hjreuedwlviceiyqfmaozh" + }, + "ipAddress": "frhymq" + }, + "enclaveAdministratorsObjectId": "qgapqvowgqj", + "communityResourceId": "zbrguztiqhzmq" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", + "enclaveVirtualNetwork": { + "networkSize": "kzhxzsjwpqluuju" + }, + "enclaveCore": { + "enclaveKeyVault": { + "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", + "domainPasswordSecretValue": "idq", + "domainAccountValue": "ruacqgsbmdywtnzm", + "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", + "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", + "ouPathValue": "hjreuedwlviceiyqfmaozh" + }, + "ipAddress": "frhymq" + }, + "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", + "provisioningState": "Succeeded", + "communityResourceId": "ezeogdvdx", + "communityResource": { + "properties": { + "description": "kgjjbonbwcuklp", + "addressSpace": "peiafezi", + "dnsServers": [ + "kvxuvbtfaqakpb" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key606": "hqhl" + }, + "location": "dossxdnchsvysnzemhjdfn", + "id": "sflyvgaacgtwayrbgogq", + "name": "lamerv", + "type": "oiwiclmm", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + }, + "tags": { + "key4004": "btlbevktboqopgvktph" + }, + "location": "gwfmmsxxebrxseyfexqe", + "id": "jonbdhvjijwnbizxrtmbdjhoikxl", + "name": "zmyamtelnyxmurkolx", + "type": "rkhofkpmxmk", + "systemData": { + "createdBy": "szydthmaicwohipmulobuspvv", + "createdByType": "User", + "createdAt": "2022-12-13T00:36:18.017Z", + "lastModifiedBy": "lkyhnvgr", + "lastModifiedByType": "User", + "lastModifiedAt": "2022-12-13T00:36:18.017Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..5a6d9cc80871 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2022-12-07-preview", + "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "kphbocqnj", + "properties": {} + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "ezeogdvdx" + }, + "location": "gwfmmsxxebrxseyfexqe" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/openapi.json new file mode 100644 index 000000000000..c6e9b142f2e4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/openapi.json @@ -0,0 +1,1041 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2022-12-07-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-cadl-generated": [ + { + "emitter": "@azure-tools/cadl-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "Operations" + } + ], + "paths": { + "/providers/Microsoft.Mission/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "tags": [ + "Community" + ], + "operationId": "Community_ListBySubscription", + "description": "List communityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Community_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/Community_ListBySubscription_MaximumSet_Gen.json" + }, + "Community_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/Community_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_ListBySubscription", + "description": "List enclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json" + }, + "VirtualEnclave_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "tags": [ + "Community" + ], + "operationId": "Community_ListByResourceGroup", + "description": "List communityResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Community_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/Community_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Community_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/Community_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "tags": [ + "Community" + ], + "operationId": "Community_Get", + "description": "Get a communityResource", + "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/communityResource.communityName" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get_MaximumSet_Gen": { + "$ref": "./examples/Community_Get_MaximumSet_Gen.json" + }, + "Community_Get_MinimumSet_Gen": { + "$ref": "./examples/Community_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "Community" + ], + "operationId": "Community_CreateOrUpdate", + "description": "Create a communityResource", + "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/communityResource.communityName" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/communityResource" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResource" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + }, + "schema": { + "$ref": "#/definitions/communityResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Community_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Community_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Community_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/Community_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "Community" + ], + "operationId": "Community_Update", + "description": "Update a communityResource", + "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/communityResource.communityName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/communityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/communityResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update_MaximumSet_Gen": { + "$ref": "./examples/Community_Update_MaximumSet_Gen.json" + }, + "Community_Update_MinimumSet_Gen": { + "$ref": "./examples/Community_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "Community" + ], + "operationId": "Community_Delete", + "description": "Delete a communityResource", + "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/communityResource.communityName" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Community_Delete_MaximumSet_Gen": { + "$ref": "./examples/Community_Delete_MaximumSet_Gen.json" + }, + "Community_Delete_MinimumSet_Gen": { + "$ref": "./examples/Community_Delete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_ListByResourceGroup", + "description": "List enclaveResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResourceListResult" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json" + }, + "VirtualEnclave_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Get", + "description": "Get a enclaveResource", + "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/enclaveResource.virtualEnclaveName" + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Get_MaximumSet_Gen.json" + }, + "VirtualEnclave_Get_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_CreateOrUpdate", + "description": "Create a enclaveResource", + "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/enclaveResource.virtualEnclaveName" + }, + { + "name": "resource", + "in": "body", + "required": true, + "description": "Resource create parameters.", + "schema": { + "$ref": "#/definitions/enclaveResource" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResource" + } + }, + "201": { + "description": "ARM create operation completed successfully.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + }, + "schema": { + "$ref": "#/definitions/enclaveResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json" + }, + "VirtualEnclave_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json" + } + } + }, + "patch": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Update", + "description": "Update a enclaveResource", + "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/enclaveResource.virtualEnclaveName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "description": "The resource properties to be updated.", + "schema": { + "$ref": "#/definitions/enclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "schema": { + "$ref": "#/definitions/enclaveResource" + } + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Update_MaximumSet_Gen.json" + }, + "VirtualEnclave_Update_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Update_MinimumSet_Gen.json" + } + } + }, + "delete": { + "tags": [ + "VirtualEnclave" + ], + "operationId": "VirtualEnclave_Delete", + "description": "Delete a enclaveResource", + "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/enclaveResource.virtualEnclaveName" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Retry-After": { + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": "integer", + "format": "int32" + } + } + }, + "204": { + "description": "Resource deleted successfully." + }, + "default": { + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "VirtualEnclave_Delete_MaximumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Delete_MaximumSet_Gen.json" + }, + "VirtualEnclave_Delete_MinimumSet_Gen": { + "$ref": "./examples/VirtualEnclave_Delete_MinimumSet_Gen.json" + } + } + } + } + }, + "definitions": { + "communityProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Community Description." + }, + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "Dns Servers." + }, + "provisioningState": { + "$ref": "#/definitions/provisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "description": "Community Resource Properties" + }, + "communityResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/communityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + } + }, + "description": "Community Model Resource", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "communityResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/communityResource" + }, + "x-cadl-name": "communityResource[]", + "description": "The communityResource items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a communityResource list operation.", + "required": [ + "value" + ] + }, + "communityResourceUpdate": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "properties": { + "$ref": "#/definitions/communityResourceUpdateProperties" + } + }, + "description": "The type used for update operations of the communityResource." + }, + "communityResourceUpdateProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Community Description." + }, + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "items": { + "type": "string" + }, + "x-cadl-name": "string[]", + "description": "Dns Servers." + } + }, + "description": "The updatable properties of the communityResource." + }, + "enclaveCore": { + "type": "object", + "properties": { + "enclaveKeyVault": { + "$ref": "#/definitions/enclaveKeyVault", + "description": "Virtual Enclave's centrally shared Key Vault." + }, + "ipAddress": { + "type": "string", + "description": "Ip Address." + } + }, + "description": "Enclave Core properties" + }, + "enclaveKeyVault": { + "type": "object", + "properties": { + "domainNameValue": { + "type": "string", + "description": "Domain Name." + }, + "domainPasswordSecretValue": { + "type": "string", + "description": "Domain Password Secret Value." + }, + "domainAccountValue": { + "type": "string", + "description": "Domain Account Value." + }, + "localAccountValue": { + "type": "string", + "description": "Local Account Value." + }, + "localPasswordSecretValue": { + "type": "string", + "description": "Local Password Secret Value." + }, + "ouPathValue": { + "type": "string", + "description": "Ou Path Value." + } + }, + "description": "Enclave Key Vault Properties" + }, + "enclaveResource": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/virtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-client-flatten": true + } + }, + "description": "Virtual Enclave Model Resource", + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "enclaveResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/enclaveResource" + }, + "x-cadl-name": "enclaveResource[]", + "description": "The enclaveResource items on this page" + }, + "nextLink": { + "type": "string", + "description": "The link to the next page of items" + } + }, + "description": "The response of a enclaveResource list operation.", + "required": [ + "value" + ] + }, + "enclaveResourceUpdate": { + "type": "object", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags." + }, + "properties": { + "$ref": "#/definitions/enclaveResourceUpdateProperties" + } + }, + "description": "The type used for update operations of the enclaveResource." + }, + "enclaveResourceUpdateProperties": { + "type": "object", + "properties": { + "enclaveResourcesGroupId": { + "type": "string", + "description": "Virtual Enclave Resource Group Id." + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/enclaveVirtualNetwork", + "description": "Virtual Enclave Virtual Network." + }, + "enclaveCore": { + "$ref": "#/definitions/enclaveCore", + "description": "Virtual Enclave Core." + }, + "enclaveAdministratorsObjectId": { + "type": "string", + "description": "Virtual Enclave Administrators Object Id." + }, + "communityResourceId": { + "type": "string", + "description": "Community Resource Id." + } + }, + "description": "The updatable properties of the enclaveResource." + }, + "enclaveVirtualNetwork": { + "type": "object", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + } + }, + "description": "Enclave Virtual Network Properties" + }, + "provisioningState": { + "type": "string", + "description": "Provisioning State Enum", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Unknown", + "Validating", + "Processing", + "Deleting", + "Accepted", + "Completed", + "Deleted" + ], + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "virtualEnclaveProperties": { + "type": "object", + "properties": { + "enclaveResourcesGroupId": { + "type": "string", + "description": "Virtual Enclave Resource Group Id." + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/enclaveVirtualNetwork", + "description": "Virtual Enclave Virtual Network." + }, + "enclaveCore": { + "$ref": "#/definitions/enclaveCore", + "description": "Virtual Enclave Core." + }, + "enclaveAdministratorsObjectId": { + "type": "string", + "description": "Virtual Enclave Administrators Object Id." + }, + "provisioningState": { + "$ref": "#/definitions/provisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "communityResourceId": { + "type": "string", + "description": "Community Resource Id." + }, + "communityResource": { + "$ref": "#/definitions/communityResource", + "description": "Community Resource Object.", + "readOnly": true + } + }, + "description": "Virtual Enclave Resource properties", + "required": [ + "communityResourceId" + ] + } + }, + "parameters": { + "communityResource.communityName": { + "name": "communityName", + "in": "path", + "required": true, + "description": "The name of the communityResource Resource", + "type": "string", + "x-ms-parameter-location": "method" + }, + "enclaveResource.virtualEnclaveName": { + "name": "virtualEnclaveName", + "in": "path", + "required": true, + "description": "The name of the enclaveResource Resource", + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_CreateOrUpdate.json new file mode 100644 index 000000000000..315c10e0d628 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_CreateOrUpdate.json @@ -0,0 +1,106 @@ +{ + "title": "Catalog_CreateOrUpdate", + "operationId": "Catalog_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName", + "resource": { + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Delete.json new file mode 100644 index 000000000000..c1bd281f3298 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Catalog_Delete", + "operationId": "Catalog_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Get.json new file mode 100644 index 000000000000..fdaef7bb07ab --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Get.json @@ -0,0 +1,50 @@ +{ + "title": "Catalog_Get", + "operationId": "Catalog_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListByResourceGroup.json new file mode 100644 index 000000000000..fbe03390d3ce --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "Catalog_ListByResourceGroup", + "operationId": "Catalog_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListBySubscription.json new file mode 100644 index 000000000000..a283b01cd25e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "Catalog_ListBySubscription", + "operationId": "Catalog_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Update.json new file mode 100644 index 000000000000..be8d0c34baf0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Update.json @@ -0,0 +1,78 @@ +{ + "title": "Catalog_Update", + "operationId": "Catalog_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "TestMyCatalog", + "properties": { + "tags": { + "TestKey": "TestValue" + }, + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..fb49da9f0306 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,143 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..c2634b1a0f6c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..983682799024 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Get.json @@ -0,0 +1,60 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..24f8a58c6eed --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,64 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..04f88ee5d71e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,63 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..96cdb1018abc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Update.json @@ -0,0 +1,96 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "key327": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "virtualEnclaveCollection": { + "MyKey1": { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + }, + "virtualEnclaveList": [ + { + "name": "TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "creationDatetime": "2023-03-17T20:43:17.760Z", + "createdBy": "myAlias", + "provisioningState": "Succeeded" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..ae8272def9a5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,95 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..e9e937876223 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..33d4c072eff9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,44 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..f5ef1cc610b2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,48 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..a157f6f2c600 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..e73b208e3c21 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,65 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Endpoint Description", + "endpointRuleCollection": [ + { + "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..cc1991651fba --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..ee6a428ecd56 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..697150566c8c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..6e8a30e485d3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..4738de120c28 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..fd7a52f2f530 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..dd32749ae923 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..f37010a0ae3a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..72f6b9941835 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..714e0bd4793e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..f02a6bf6525a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..3109ace031cd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..4731e499fd19 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "fwljuroljeuiiyalge" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..7a3cca478828 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "properties": { + "description": "valid description goes here", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..f6234c2d2b56 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,19 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..3a831803969b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,48 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..e00fe062e997 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,52 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..33b4e2cb7964 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,51 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..e8cb540b1bb3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,74 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "description": "valid description goes here", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..e5db99d1bb89 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,83 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..b7f6606bdc42 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Delete.json @@ -0,0 +1,20 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..2313abbc5f95 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Get.json @@ -0,0 +1,40 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..eba6c6c6d96b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,44 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..187078b365f8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,43 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..d69e3b6a1d67 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Update.json @@ -0,0 +1,57 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2023-02-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "valid description goes here", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/openapi.json new file mode 100644 index 000000000000..94044f7d0fa5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/openapi.json @@ -0,0 +1,3788 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2023-02-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "CatalogInterface" + }, + { + "name": "InternalConnections" + }, + { + "name": "ExternalConnections" + } + ], + "paths": { + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/catalogs": { + "get": { + "operationId": "Catalog_ListBySubscription", + "tags": [ + "CatalogInterface" + ], + "description": "List CatalogResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_ListBySubscription": { + "$ref": "./examples/Catalog_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs": { + "get": { + "operationId": "Catalog_ListByResourceGroup", + "tags": [ + "CatalogInterface" + ], + "description": "List CatalogResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_ListByResourceGroup": { + "$ref": "./examples/Catalog_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs/{catalogName}": { + "get": { + "operationId": "Catalog_Get", + "tags": [ + "CatalogInterface" + ], + "description": "Get a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Get": { + "$ref": "./examples/Catalog_Get.json" + } + } + }, + "put": { + "operationId": "Catalog_CreateOrUpdate", + "tags": [ + "CatalogInterface" + ], + "description": "Create a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CatalogResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "201": { + "description": "Resource 'CatalogResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CatalogResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_CreateOrUpdate": { + "$ref": "./examples/Catalog_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Catalog_Update", + "tags": [ + "CatalogInterface" + ], + "description": "Update a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Update": { + "$ref": "./examples/Catalog_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Catalog_Delete", + "tags": [ + "CatalogInterface" + ], + "description": "Delete a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Delete": { + "$ref": "./examples/Catalog_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ] + }, + "BlobCatalog": { + "type": "object", + "description": "Blob Catalog type.", + "properties": { + "catalogStorageType": { + "$ref": "#/definitions/CatalogStorageType", + "description": "Catalog's storage type." + }, + "uri": { + "type": "string", + "description": "Catalog Storage's URI." + } + } + }, + "Catalog": { + "type": "object", + "x-nullable": false, + "allOf": [ + { + "$ref": "#/definitions/BlobCatalog" + } + ] + }, + "CatalogProperties": { + "type": "object", + "description": "Catalog properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "ownedBy": { + "type": "string", + "description": "Owning Resource of the Catalog." + }, + "communityResourceId": { + "type": "string", + "description": "Community Resource Id." + }, + "enclaveResourceId": { + "type": "string", + "description": "Virtual Enclave Resource Id." + }, + "catalog": { + "$ref": "#/definitions/Catalog", + "description": "Catalog Connection properties." + }, + "packageCollection": { + "type": "array", + "description": "List of packages for catalog.", + "items": { + "$ref": "#/definitions/Package" + } + } + } + }, + "CatalogResource": { + "type": "object", + "description": "Catalog Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CatalogResourceListResult": { + "type": "object", + "description": "The response of a CatalogResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CatalogResource items on this page", + "items": { + "$ref": "#/definitions/CatalogResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CatalogResourceUpdate": { + "type": "object", + "description": "Catalog Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CatalogStorageType": { + "type": "string", + "description": "List of storage types support by catalog", + "enum": [ + "BlobCatalog" + ], + "x-ms-enum": { + "name": "CatalogStorageType", + "modelAsString": true, + "values": [ + { + "name": "BlobCatalog", + "value": "BlobCatalog", + "description": "Blob Storage Catalog Type" + } + ] + } + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "description": { + "type": "string", + "description": "Community Description." + }, + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "virtualEnclaveList": { + "type": "array", + "description": "List of virtual enclaves that a community contains.", + "items": { + "$ref": "#/definitions/EnclaveListItem" + } + }, + "virtualEnclaveCollection": { + "type": "object", + "description": "Dictionary of virtual enclaves that a community contains.", + "additionalProperties": { + "$ref": "#/definitions/EnclaveListItem" + } + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "logAnalyticsResourceId": { + "$ref": "#/definitions/LogAnalyticsResourceId", + "description": "Log Analytics Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + } + } + }, + "EnclaveListItem": { + "type": "object", + "description": "EnclaveListItem Properties", + "properties": { + "name": { + "type": "string", + "description": "virtual enclave name." + }, + "id": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "virtual enclaves resource id." + }, + "creationDatetime": { + "type": "string", + "description": "creation datetime." + }, + "createdBy": { + "type": "string", + "description": "created by." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "description": { + "type": "string", + "description": "Endpoint Description." + }, + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "id": { + "type": "string", + "description": "Endpoint Rule Id." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "InternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "Package": { + "type": "object", + "description": "Package Properties", + "properties": { + "id": { + "type": "string", + "description": "Package Id." + }, + "name": { + "type": "string", + "description": "Package Name." + }, + "metadata": { + "type": "object", + "description": "Package metadata.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "description": { + "type": "string", + "description": "Virtual Enclave Description." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "description": { + "type": "string", + "description": "Virtual Enclave Description." + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "description": { + "type": "string", + "description": "Workload Description." + }, + "enclaveResourceId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "Virtual Enclave Resource Id." + }, + "managedResourceGroups": { + "type": "array", + "description": "Managed Resource Groups.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": {} +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_CreateOrUpdate.json new file mode 100644 index 000000000000..80e94c6c7478 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_CreateOrUpdate.json @@ -0,0 +1,106 @@ +{ + "title": "Catalog_CreateOrUpdate", + "operationId": "Catalog_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName", + "resource": { + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Delete.json new file mode 100644 index 000000000000..bb1ba9b4264a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Catalog_Delete", + "operationId": "Catalog_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Get.json new file mode 100644 index 000000000000..0478fc6dbffd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Get.json @@ -0,0 +1,50 @@ +{ + "title": "Catalog_Get", + "operationId": "Catalog_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalog" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListByResourceGroup.json new file mode 100644 index 000000000000..0a4bd14484e9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "Catalog_ListByResourceGroup", + "operationId": "Catalog_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListBySubscription.json new file mode 100644 index 000000000000..d4fcafd0bc3b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "Catalog_ListBySubscription", + "operationId": "Catalog_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Update.json new file mode 100644 index 000000000000..1e34a5d14676 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Update.json @@ -0,0 +1,78 @@ +{ + "title": "Catalog_Update", + "operationId": "Catalog_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "TestMyCatalog", + "properties": { + "tags": { + "TestKey": "TestValue" + }, + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..d481e0210076 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,107 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDNTag", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDNTag", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDNTag", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..1949961a0920 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..ac9a9b18951a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,48 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..14092cbd1a6a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,53 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..9f496aebe93a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,52 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..094e20d2fc40 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,73 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "destinationRuleCollection": [ + { + "destinationType": "FQDN", + "destination": [ + "foo.example.com" + ], + "port": "443", + "protocol": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..05d88a94cfdc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,88 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..d0b325d77f6d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..862d8aad7296 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Get.json @@ -0,0 +1,41 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..5f02f3fe2f7e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..70c93788f4c7 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,44 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..6b8c7433207e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Update.json @@ -0,0 +1,60 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..654b8df66f00 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..8dc702fb7bc4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..41b95be12fa2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..469a4f86233d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..32a6fb458619 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..2606a3556665 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..69c7450aac4f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..99fa5b597654 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..db0b11921981 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..7457e0a45ddf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..b2c3888aeebf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..b4e67dc7d40b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,63 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..85637b0205cb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..9f1af2d1fb96 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..d0c88d661c3b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..0a703fe35c54 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..3071e7971797 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..7a282dfd260c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..f113817edcc8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..d2bec8885b48 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..7a7177026024 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..f56f708b3425 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..2bf98c3e96ae --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..f0d678e79c60 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..bf4be64bd96a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..84df2c4d5b1d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..c6ec1833ef16 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..c7c34d5b1843 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..867174d1fbf4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..0f8434e1e4db --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..7cfbba37f381 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "fwljuroljeuiiyalge" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..838789b74181 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..62c7cf86069f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..ed8d44563fdf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..a146a6c95f47 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..bdb4d04af4a6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..d5cffa467c07 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..c1d3a6cc5894 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..cbd0dd51c514 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..71f3e070c19e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,47 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..f6617afde952 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,51 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..d69533d9d194 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..a10c6a110074 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,24 @@ +{ + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "title": "VirtualEnclave_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "MyVirtualEnclave", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small" + } + }, + "api-version": "2023-08-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..4451690b5064 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,72 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..d29e1fb36462 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,77 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..89015c5a2781 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..894773b774ae --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..f99d62c34534 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..efcd9f97ead0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..172df7e98a2b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2023-08-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "managedResourceGroups": [ + "MC_Deploy_TestMyRg" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/openapi.json new file mode 100644 index 000000000000..1b1037eee33c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/openapi.json @@ -0,0 +1,6176 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2023-08-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "CatalogInterface" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + } + ], + "paths": { + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/catalogs": { + "get": { + "operationId": "Catalog_ListBySubscription", + "tags": [ + "CatalogInterface" + ], + "description": "List CatalogResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_ListBySubscription": { + "$ref": "./examples/Catalog_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs": { + "get": { + "operationId": "Catalog_ListByResourceGroup", + "tags": [ + "CatalogInterface" + ], + "description": "List CatalogResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_ListByResourceGroup": { + "$ref": "./examples/Catalog_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs/{catalogName}": { + "get": { + "operationId": "Catalog_Get", + "tags": [ + "CatalogInterface" + ], + "description": "Get a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Get": { + "$ref": "./examples/Catalog_Get.json" + } + } + }, + "put": { + "operationId": "Catalog_CreateOrUpdate", + "tags": [ + "CatalogInterface" + ], + "description": "Create a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CatalogResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "201": { + "description": "Resource 'CatalogResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CatalogResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_CreateOrUpdate": { + "$ref": "./examples/Catalog_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Catalog_Update", + "tags": [ + "CatalogInterface" + ], + "description": "Update a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Update": { + "$ref": "./examples/Catalog_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Catalog_Delete", + "tags": [ + "CatalogInterface" + ], + "description": "Delete a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Delete": { + "$ref": "./examples/Catalog_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "tags": [ + "VirtualEnclave" + ], + "description": "Checks that the IP Address Space to be allocated for this Virtual Enclave is available.", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CheckAddressSpaceAvailability": { + "$ref": "./examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ] + }, + "BlobCatalog": { + "type": "object", + "description": "Blob Catalog type.", + "properties": { + "catalogStorageType": { + "$ref": "#/definitions/CatalogStorageType", + "description": "Catalog's storage type." + }, + "uri": { + "type": "string", + "description": "Catalog Storage's URI." + } + } + }, + "Catalog": { + "type": "object", + "x-nullable": false, + "allOf": [ + { + "$ref": "#/definitions/BlobCatalog" + } + ] + }, + "CatalogProperties": { + "type": "object", + "description": "Catalog properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "ownedBy": { + "type": "string", + "description": "Owning Resource of the Catalog." + }, + "communityResourceId": { + "type": "string", + "description": "Community Resource Id." + }, + "enclaveResourceId": { + "type": "string", + "description": "Virtual Enclave Resource Id." + }, + "catalog": { + "$ref": "#/definitions/Catalog", + "description": "Catalog Connection properties." + }, + "packageCollection": { + "type": "array", + "description": "List of packages for catalog.", + "items": { + "$ref": "#/definitions/Package" + } + } + } + }, + "CatalogResource": { + "type": "object", + "description": "Catalog Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CatalogResourceListResult": { + "type": "object", + "description": "The response of a CatalogResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CatalogResource items on this page", + "items": { + "$ref": "#/definitions/CatalogResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CatalogResourceUpdate": { + "type": "object", + "description": "Catalog Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CatalogStorageType": { + "type": "string", + "description": "List of storage types support by catalog", + "enum": [ + "BlobCatalog" + ], + "x-ms-enum": { + "name": "CatalogStorageType", + "modelAsString": true, + "values": [ + { + "name": "BlobCatalog", + "value": "BlobCatalog", + "description": "Blob Storage Catalog Type" + } + ] + } + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "destinationRuleCollection": { + "type": "array", + "description": "Destination Rule Collection.", + "items": { + "$ref": "#/definitions/DestinationRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "destinationRuleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "destinationRuleCollection": { + "type": "array", + "description": "Destination Rule Collection.", + "items": { + "$ref": "#/definitions/DestinationRule" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Destination Rule Name." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "destination": { + "type": "array", + "description": "Destination must follow the format for FQDNs if it is selected as the destination type (no IP/CIDR or full web URLs).", + "items": { + "type": "string" + } + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "type": "array", + "description": "Protocol. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + }, + "required": [ + "destination" + ] + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + }, + "required": [ + "enclaveAddressSpace", + "managedAddressSpace" + ] + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "logAnalyticsResourceId": { + "$ref": "#/definitions/LogAnalyticsResourceId", + "description": "Log Analytics Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveEndpointRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EnclaveEndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "Package": { + "type": "object", + "description": "Package Properties", + "properties": { + "id": { + "type": "string", + "description": "Package Id." + }, + "name": { + "type": "string", + "description": "Package Name." + }, + "metadata": { + "type": "object", + "description": "Package metadata.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "managedResourceGroups": { + "type": "array", + "description": "Managed Resource Groups.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": {} +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_CreateOrUpdate.json new file mode 100644 index 000000000000..03a72f32745d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_CreateOrUpdate.json @@ -0,0 +1,106 @@ +{ + "title": "Catalog_CreateOrUpdate", + "operationId": "Catalog_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName", + "resource": { + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Delete.json new file mode 100644 index 000000000000..3caaa95e849e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Catalog_Delete", + "operationId": "Catalog_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Get.json new file mode 100644 index 000000000000..ada437319fc9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Get.json @@ -0,0 +1,50 @@ +{ + "title": "Catalog_Get", + "operationId": "Catalog_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalog" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListByResourceGroup.json new file mode 100644 index 000000000000..cb0ceeec019d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "Catalog_ListByResourceGroup", + "operationId": "Catalog_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListBySubscription.json new file mode 100644 index 000000000000..f671598c6334 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "Catalog_ListBySubscription", + "operationId": "Catalog_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Update.json new file mode 100644 index 000000000000..40dfff050b2c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Update.json @@ -0,0 +1,78 @@ +{ + "title": "Catalog_Update", + "operationId": "Catalog_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "TestMyCatalog", + "properties": { + "tags": { + "TestKey": "TestValue" + }, + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..76362e58e275 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..f4a6051501de --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..c0748bc12ae3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..d7944505ad4e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1404161fe190 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..09df08a60c56 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..2bd4cb58e737 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,88 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..e95d6b563beb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..917977cb5433 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Get.json @@ -0,0 +1,41 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..3484e6a4096b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..97077b878cb8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,44 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..b1105bd8a067 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Update.json @@ -0,0 +1,60 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..a2914c00b39f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..c7b5f05fa899 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..eb5d27f6cd22 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..dd0c56687a90 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..e17564e99aa9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..945583399378 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..54970f297b2f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..80bfb091fcbf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..8efc34ab2c69 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..43359f8e150f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..6cd9bd90d492 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..6ade06e57dc4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..18b83590f2e0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..84f94fa31380 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..80de61d865dc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..fe1e4724edf7 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..2041e8532dfe --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..3a893ab73ff6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..fd2b836bcf5c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..18056e46f312 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..d4319a5e8d09 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..e31257eb8054 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..e1106a079973 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..bfc798d2b791 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..2dd86c73ebb1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..22716f58d37a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..4de59eca5e37 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..c7125da87975 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..f31c7abd5638 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..ad3b562ffecb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..3f9b06fa98c6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2023-11-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "fwljuroljeuiiyalge" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..14c51e41a0c3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..5a42a4593502 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..926b844311ca --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..85691e329958 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..d2a0d512c2b6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..4399d4ea7e69 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..77e58461e753 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..2a9d2fba739f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..fe8e4a3bd690 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,47 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..c9185b7c2f28 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,51 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..3cc0022c619b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..2be209c34f3e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,24 @@ +{ + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "title": "VirtualEnclave_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "MyVirtualEnclave", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small" + } + }, + "api-version": "2023-11-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..a2edf17df2a2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,72 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..10765dd58297 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,80 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..b0ccc8fb3c72 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..4a1ba19f029a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Get.json @@ -0,0 +1,39 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..39fe0964682f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,43 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..a37cae531803 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..1777ea4dabe6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Update.json @@ -0,0 +1,55 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2023-11-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/openapi.json new file mode 100644 index 000000000000..532f945747c6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/openapi.json @@ -0,0 +1,6194 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2023-11-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "CatalogInterface" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + } + ], + "paths": { + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/catalogs": { + "get": { + "operationId": "Catalog_ListBySubscription", + "tags": [ + "CatalogInterface" + ], + "description": "List CatalogResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_ListBySubscription": { + "$ref": "./examples/Catalog_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs": { + "get": { + "operationId": "Catalog_ListByResourceGroup", + "tags": [ + "CatalogInterface" + ], + "description": "List CatalogResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_ListByResourceGroup": { + "$ref": "./examples/Catalog_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs/{catalogName}": { + "get": { + "operationId": "Catalog_Get", + "tags": [ + "CatalogInterface" + ], + "description": "Get a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Get": { + "$ref": "./examples/Catalog_Get.json" + } + } + }, + "put": { + "operationId": "Catalog_CreateOrUpdate", + "tags": [ + "CatalogInterface" + ], + "description": "Create a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CatalogResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "201": { + "description": "Resource 'CatalogResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CatalogResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_CreateOrUpdate": { + "$ref": "./examples/Catalog_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Catalog_Update", + "tags": [ + "CatalogInterface" + ], + "description": "Update a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Update": { + "$ref": "./examples/Catalog_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Catalog_Delete", + "tags": [ + "CatalogInterface" + ], + "description": "Delete a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Delete": { + "$ref": "./examples/Catalog_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "tags": [ + "VirtualEnclave" + ], + "description": "Checks that the IP Address Space to be allocated for this Virtual Enclave is available.", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CheckAddressSpaceAvailability": { + "$ref": "./examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ] + }, + "BlobCatalog": { + "type": "object", + "description": "Blob Catalog type.", + "properties": { + "catalogStorageType": { + "$ref": "#/definitions/CatalogStorageType", + "description": "Catalog's storage type." + }, + "uri": { + "type": "string", + "description": "Catalog Storage's URI." + } + } + }, + "Catalog": { + "type": "object", + "x-nullable": false, + "allOf": [ + { + "$ref": "#/definitions/BlobCatalog" + } + ] + }, + "CatalogProperties": { + "type": "object", + "description": "Catalog properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "ownedBy": { + "type": "string", + "description": "Owning Resource of the Catalog." + }, + "communityResourceId": { + "type": "string", + "description": "Community Resource Id." + }, + "enclaveResourceId": { + "type": "string", + "description": "Virtual Enclave Resource Id." + }, + "catalog": { + "$ref": "#/definitions/Catalog", + "description": "Catalog Connection properties." + }, + "packageCollection": { + "type": "array", + "description": "List of packages for catalog.", + "items": { + "$ref": "#/definitions/Package" + } + } + } + }, + "CatalogResource": { + "type": "object", + "description": "Catalog Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CatalogResourceListResult": { + "type": "object", + "description": "The response of a CatalogResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CatalogResource items on this page", + "items": { + "$ref": "#/definitions/CatalogResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CatalogResourceUpdate": { + "type": "object", + "description": "Catalog Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CatalogStorageType": { + "type": "string", + "description": "List of storage types support by catalog", + "enum": [ + "BlobCatalog" + ], + "x-ms-enum": { + "name": "CatalogStorageType", + "modelAsString": true, + "values": [ + { + "name": "BlobCatalog", + "value": "BlobCatalog", + "description": "Blob Storage Catalog Type" + } + ] + } + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + }, + "required": [ + "enclaveAddressSpace", + "managedAddressSpace" + ] + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "logAnalyticsResourceId": { + "$ref": "#/definitions/LogAnalyticsResourceId", + "description": "Log Analytics Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointPropertiesUpdate": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "Package": { + "type": "object", + "description": "Package Properties", + "properties": { + "id": { + "type": "string", + "description": "Package Id." + }, + "name": { + "type": "string", + "description": "Package Name." + }, + "metadata": { + "type": "object", + "description": "Package metadata.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + }, + "required": [ + "managedResourceGroupConfiguration" + ] + }, + "WorkloadPropertiesUpdate": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": {} +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_CreateOrUpdate.json new file mode 100644 index 000000000000..40270778afdb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_CreateOrUpdate.json @@ -0,0 +1,106 @@ +{ + "title": "Catalog_CreateOrUpdate", + "operationId": "Catalog_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName", + "resource": { + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Delete.json new file mode 100644 index 000000000000..c0cab72029f5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Catalog_Delete", + "operationId": "Catalog_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalogName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Get.json new file mode 100644 index 000000000000..174c0c8f3572 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Get.json @@ -0,0 +1,50 @@ +{ + "title": "Catalog_Get", + "operationId": "Catalog_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "testCatalog" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListByResourceGroup.json new file mode 100644 index 000000000000..423f91d167c0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "title": "Catalog_ListByResourceGroup", + "operationId": "Catalog_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListBySubscription.json new file mode 100644 index 000000000000..706a1bc13bfd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListBySubscription.json @@ -0,0 +1,53 @@ +{ + "title": "Catalog_ListBySubscription", + "operationId": "Catalog_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Update.json new file mode 100644 index 000000000000..7eeb5bc34567 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Update.json @@ -0,0 +1,78 @@ +{ + "title": "Catalog_Update", + "operationId": "Catalog_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", + "resourceGroupName": "rgopenapi", + "catalogName": "TestMyCatalog", + "properties": { + "tags": { + "TestKey": "TestValue" + }, + "properties": { + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "ownedBy": "myAlias", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", + "catalog": { + "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", + "catalogStorageType": "BlobCatalog" + }, + "packageCollection": [ + { + "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "name": "jira", + "metadata": { + "samplekey": "samplevalue" + } + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", + "name": "testCatalogName", + "type": "Microsoft.Mission/catalogs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-22T19:01:26.380Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-22T19:01:26.380Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..aa93d91fc235 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..0a1433b218b8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..39ab070e3a49 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..5e8302fdef73 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..d40483d5e0bf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..2ce4d1c4c28d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..a9cf78a76920 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,88 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..4d65c2eeb70b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..ca8ed95b6381 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Get.json @@ -0,0 +1,41 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..267f23a47db9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..b09c59a6683b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,44 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..e0495b0d5b79 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Update.json @@ -0,0 +1,60 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..99deee0361a5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..e006005a52bb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..2be7ead17ce5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..1366e0a4e575 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..7af3bb1a70c2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..1a8d29714629 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..d0cf8b891abf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..f56d40ca8ae2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..ac5b8b427971 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..7af6424a134b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..68347bb63595 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..9379360c618f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..661b3dc46682 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..1b697b09d91d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..971eb7566709 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..1827a676ab5c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..97d2d62ceb3c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..bf51bb955271 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..4d14385c39f2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..dc4fde946302 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..6a19b47f8794 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..d6485058b3eb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..ec6e147bcf4b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..b8b85258fa08 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..d3248dee7726 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..7bd9ce503095 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..e26574b17fbd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..ebe79aeb11f6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..c3c6989511d3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..fa2fa2e32bc3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..a0b2d65258bf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-01-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "fwljuroljeuiiyalge" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..257825be9599 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "kr", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..f16dbafe306c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..7aa2caf0b2ac --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..747269fcf99b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..a2e7ec372b12 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..fffbbf8e2c6d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "ekrrqjtbhhlqxfvcadlxmxzakde", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..15c2b8db7e18 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,112 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..1c269d57cdf6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..231d724009fb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,51 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..5c5c262a4ad7 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,55 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..00cccef6b199 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,54 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..889bafa9ce3a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,24 @@ +{ + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "title": "VirtualEnclave_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "MyVirtualEnclave", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small" + } + }, + "api-version": "2024-01-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..5a0ddf8be207 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,80 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24" + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..078b74cd77f0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,80 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..5525f690d66e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..78d681e1ace9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Get.json @@ -0,0 +1,39 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..620083f308a4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,43 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..eecc2078f887 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..3c371b703a0b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Update.json @@ -0,0 +1,55 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-01-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "managedResourceGroupConfiguration": { + "name": "TestMRG", + "location": "westcentralus" + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "vwekezpoqpteloczdwpprqtxgqnwdx", + "name": "kxzylwqnmxtivpmupnlho", + "type": "aqqqaeqtnsjkwjhswevntabodl", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/openapi.json new file mode 100644 index 000000000000..cf9ad80e3333 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/openapi.json @@ -0,0 +1,6267 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2024-01-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "CatalogInterface" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + } + ], + "paths": { + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/catalogs": { + "get": { + "operationId": "Catalog_ListBySubscription", + "tags": [ + "CatalogInterface" + ], + "description": "List CatalogResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_ListBySubscription": { + "$ref": "./examples/Catalog_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs": { + "get": { + "operationId": "Catalog_ListByResourceGroup", + "tags": [ + "CatalogInterface" + ], + "description": "List CatalogResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_ListByResourceGroup": { + "$ref": "./examples/Catalog_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs/{catalogName}": { + "get": { + "operationId": "Catalog_Get", + "tags": [ + "CatalogInterface" + ], + "description": "Get a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Get": { + "$ref": "./examples/Catalog_Get.json" + } + } + }, + "put": { + "operationId": "Catalog_CreateOrUpdate", + "tags": [ + "CatalogInterface" + ], + "description": "Create a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CatalogResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "201": { + "description": "Resource 'CatalogResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CatalogResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_CreateOrUpdate": { + "$ref": "./examples/Catalog_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Catalog_Update", + "tags": [ + "CatalogInterface" + ], + "description": "Update a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CatalogResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CatalogResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Update": { + "$ref": "./examples/Catalog_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Catalog_Delete", + "tags": [ + "CatalogInterface" + ], + "description": "Delete a CatalogResource", + "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": "catalogName", + "in": "path", + "description": "The name of the catalogResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Catalog_Delete": { + "$ref": "./examples/Catalog_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "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": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "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": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "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": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "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": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", + "tags": [ + "VirtualEnclave" + ], + "description": "Checks that the IP Address Space to be allocated for this Virtual Enclave is available.", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CheckAddressSpaceAvailability": { + "$ref": "./examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "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": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ] + }, + "BlobCatalog": { + "type": "object", + "description": "Blob Catalog type.", + "properties": { + "catalogStorageType": { + "$ref": "#/definitions/CatalogStorageType", + "description": "Catalog's storage type." + }, + "uri": { + "type": "string", + "description": "Catalog Storage's URI." + } + } + }, + "Catalog": { + "type": "object", + "x-nullable": false, + "allOf": [ + { + "$ref": "#/definitions/BlobCatalog" + } + ] + }, + "CatalogProperties": { + "type": "object", + "description": "Catalog properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "ownedBy": { + "type": "string", + "description": "Owning Resource of the Catalog." + }, + "communityResourceId": { + "type": "string", + "description": "Community Resource Id." + }, + "enclaveResourceId": { + "type": "string", + "description": "Virtual Enclave Resource Id." + }, + "catalog": { + "$ref": "#/definitions/Catalog", + "description": "Catalog Connection properties." + }, + "packageCollection": { + "type": "array", + "description": "List of packages for catalog.", + "items": { + "$ref": "#/definitions/Package" + } + } + } + }, + "CatalogResource": { + "type": "object", + "description": "Catalog Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CatalogResourceListResult": { + "type": "object", + "description": "The response of a CatalogResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CatalogResource items on this page", + "items": { + "$ref": "#/definitions/CatalogResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CatalogResourceUpdate": { + "type": "object", + "description": "Catalog Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CatalogProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CatalogStorageType": { + "type": "string", + "description": "List of storage types support by catalog", + "enum": [ + "BlobCatalog" + ], + "x-ms-enum": { + "name": "CatalogStorageType", + "modelAsString": true, + "values": [ + { + "name": "BlobCatalog", + "value": "BlobCatalog", + "description": "Blob Storage Catalog Type" + } + ] + } + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "DiagnosticDestination": { + "type": "string", + "description": "Specifies the destination of where to store diagnostic logs.", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + }, + "required": [ + "enclaveAddressSpace", + "managedAddressSpace" + ] + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + }, + "logAnalyticsResourceIdCollection": { + "type": "array", + "description": "Log Analytics Resource Ids.", + "items": { + "$ref": "#/definitions/LogAnalyticsResourceId" + } + }, + "diagnosticDestination": { + "$ref": "#/definitions/DiagnosticDestination", + "description": "Diagnostic Destination." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointPropertiesUpdate": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "Package": { + "type": "object", + "description": "Package Properties", + "properties": { + "id": { + "type": "string", + "description": "Package Id." + }, + "name": { + "type": "string", + "description": "Package Name." + }, + "metadata": { + "type": "object", + "description": "Package metadata.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + }, + "required": [ + "managedResourceGroupConfiguration" + ] + }, + "WorkloadPropertiesUpdate": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": {} +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..1cac517c3506 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_CreateOrUpdate.json @@ -0,0 +1,72 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json new file mode 100644 index 000000000000..611df2fd2015 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json new file mode 100644 index 000000000000..b82d8110850b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Get.json @@ -0,0 +1,37 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..1842692a0cf3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json new file mode 100644 index 000000000000..ccc3fec7cd3c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_ListByParent.json @@ -0,0 +1,42 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json new file mode 100644 index 000000000000..7afa25831ff1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_Update.json @@ -0,0 +1,51 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + } + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..e9e453a7e223 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..69004ced5d20 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..a21229f9fd1a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..0958612bc8af --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..a691f2e19299 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..4fb6deabc133 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..8482bd965c2e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,492 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..6b197f36646f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..018c8a26fb58 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Get.json @@ -0,0 +1,194 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..56ad188c2c05 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,198 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..04eef7441ba6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,197 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..084f1426588d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..055952d03613 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -0,0 +1,313 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..278ef0d9a686 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..94258eed37c2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..00c0a30615b4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..3fa04ce12bf2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..6e181e4f0e9a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..baead581952a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..206bb94c0561 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..a2c6bde2e52a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..81a6c1647393 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..49b07e7bcf1c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..4bf0a2d69eb8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..ffcf98d6bdf3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1bf13598e8f4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..040f651d0dea --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..f41d7c93eff1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..1d8e3b476724 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..d1142156985e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..13160e1b1262 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..35304bd10dc8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..1ea96ea0e8d2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..042d1106a0e1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..e7067ba7a88f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..950b5a4d4461 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..81d4dfc9db14 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..9f5104950ba9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..f0f31a3cd7e3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..731348692bf9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..ebddfc1f5737 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..e895fe521b7f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..1e24e5e7ae76 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..087c12f341a2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..9eb6146a487f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..72de8204210a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..39b7954164b3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..d258ea734eec --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..9bf51dd8fded --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..316af739cb68 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..23a168cb6545 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..2af1837aecf5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..c8a513bece31 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,197 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..064c12f5f292 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..740410f9e520 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,85 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..8564e46567f3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,89 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..409f400b5dbc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,88 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..078b9363b307 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,137 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..0a5a0d9aa633 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..9ce19f4440e1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..4ec1e7854f23 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..1d4f9bc83d45 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..e3895932704e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..5b2d97641474 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-06-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json new file mode 100644 index 000000000000..c2507d5c5674 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -0,0 +1,6960 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2024-06-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + }, + { + "name": "Approval" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.Mission/approvals": { + "get": { + "operationId": "Approval_ListByParent", + "tags": [ + "Approval" + ], + "description": "List ApprovalResource resources by parent", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_ListByParent": { + "$ref": "./examples/Approvals_ListByParent.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { + "get": { + "operationId": "Approval_Get", + "tags": [ + "Approval" + ], + "description": "Get a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Get": { + "$ref": "./examples/Approvals_Get.json" + } + } + }, + "put": { + "operationId": "Approval_CreateOrUpdate", + "tags": [ + "Approval" + ], + "description": "Create a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApprovalResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "201": { + "description": "Resource 'ApprovalResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_CreateOrUpdate": { + "$ref": "./examples/Approvals_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Approval_Update", + "tags": [ + "Approval" + ], + "description": "Update a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Approval_Delete", + "tags": [ + "Approval" + ], + "description": "Delete a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { + "post": { + "operationId": "Approval_InitiatorCallback", + "tags": [ + "Approval" + ], + "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/InitiatorCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InitiatorCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_InitiatorCallback": { + "$ref": "./examples/Approvals_InitiatorCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", + "tags": [ + "Community" + ], + "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ApprovalCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id of the item being approved or rejected" + }, + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", + "enum": [ + "Create", + "Delete", + "Update", + "Reset" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceId", + "resourceRequestAction", + "approvalStatus" + ] + }, + "ApprovalCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalDeletionCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", + "enum": [ + "Create", + "Delete", + "Update" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceRequestAction" + ] + }, + "ApprovalDeletionCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalDeletionCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalProperties": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." + } + }, + "required": [ + "requestMetadata" + ] + }, + "ApprovalPropertiesUpdate": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdate", + "description": "Request metadata for the approval request." + } + } + }, + "ApprovalResource": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalResourceListResult": { + "type": "object", + "description": "The response of a ApprovalResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApprovalResource items on this page", + "items": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalStatus": { + "type": "string", + "description": "Approval Status Enum", + "enum": [ + "Approved", + "Rejected", + "Pending" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + } + ] + } + }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "DiagnosticDestination": { + "type": "string", + "description": "Specifies the destination of where to store diagnostic logs.", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + } + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + }, + "logAnalyticsResourceIdCollection": { + "type": "array", + "description": "Log Analytics Resource Ids.", + "items": { + "$ref": "#/definitions/LogAnalyticsResourceId" + } + }, + "diagnosticDestination": { + "$ref": "#/definitions/DiagnosticDestination", + "description": "Diagnostic Destination." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointPropertiesUpdate": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "GovernedServiceItem": { + "type": "object", + "description": "GovernedServiceItem Properties", + "properties": { + "id": { + "$ref": "#/definitions/ServiceIdentifier", + "description": "service id" + }, + "name": { + "type": "string", + "description": "service name", + "readOnly": true + }, + "option": { + "type": "string", + "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "enum": [ + "Allow", + "Deny", + "ExceptionOnly", + "NotApplicable" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "enforcement": { + "type": "string", + "description": "initiative enforcement (Enabled or Disabled).", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "auditOnly": { + "type": "boolean", + "description": "policies set to auditOnly (True or False)." + }, + "initiatives": { + "type": "array", + "description": "initiatives associated with this service", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "id" + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InitiatorCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "InitiatorCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "MaintenanceModeConfiguration": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "mode" + ] + }, + "MaintenanceModeConfigurationUpdate": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "Principal": { + "type": "object", + "description": "Principal for maintenance mode or role assignments", + "properties": { + "id": { + "type": "string", + "description": "The object id associated with the principal" + }, + "type": { + "type": "string", + "description": "The type of the object id. We currently allow users, groups, and service principals", + "enum": [ + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "id", + "type" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "RequestMetadata": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + }, + "required": [ + "resourceAction" + ] + }, + "RequestMetadataUpdate": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + } + }, + "ServiceIdentifier": { + "type": "string", + "description": "Identifier for governed services.", + "enum": [ + "AKS", + "AppService", + "AzureFirewalls", + "ContainerRegistry", + "CosmosDB", + "DataConnectors", + "Insights", + "KeyVault", + "Logic", + "MicrosoftSQL", + "Monitoring", + "PostgreSQL", + "PrivateDNSZones", + "ServiceBus", + "Storage" + ], + "x-ms-enum": { + "name": "ServiceIdentifier", + "modelAsString": true, + "values": [ + { + "name": "AKS", + "value": "AKS", + "description": "Service identifier for AKS" + }, + { + "name": "AppService", + "value": "AppService", + "description": "Service identifier for App Service" + }, + { + "name": "AzureFirewalls", + "value": "AzureFirewalls", + "description": "Service identifier for Azure Firewalls" + }, + { + "name": "ContainerRegistry", + "value": "ContainerRegistry", + "description": "Service identifier for Container Registry" + }, + { + "name": "CosmosDB", + "value": "CosmosDB", + "description": "Service identifier for CosmosDB" + }, + { + "name": "DataConnectors", + "value": "DataConnectors", + "description": "Service identifier for Data Connectors" + }, + { + "name": "Insights", + "value": "Insights", + "description": "Service identifier for Insights" + }, + { + "name": "KeyVault", + "value": "KeyVault", + "description": "Service identifier for Key Vault" + }, + { + "name": "Logic", + "value": "Logic", + "description": "Service identifier for Logic" + }, + { + "name": "MicrosoftSql", + "value": "MicrosoftSQL", + "description": "Service identifier for Microsoft SQL" + }, + { + "name": "Monitoring", + "value": "Monitoring", + "description": "Service identifier for Monitoring" + }, + { + "name": "PostgreSql", + "value": "PostgreSQL", + "description": "Service identifier for PostgreSQL" + }, + { + "name": "PrivateDNSZones", + "value": "PrivateDNSZones", + "description": "Service identifier for Private DNS Zones" + }, + { + "name": "ServiceBus", + "value": "ServiceBus", + "description": "Service identifier for Service Bus" + }, + { + "name": "Storage", + "value": "Storage", + "description": "Service identifier for Storage" + } + ] + } + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "SubnetConfiguration": { + "type": "object", + "description": "Subnet Configuration", + "properties": { + "name": { + "type": "string", + "description": "Subnet name." + }, + "id": { + "type": "string", + "format": "arm-id", + "description": "Subnet ID.", + "readOnly": true + }, + "networkPrefixSize": { + "type": "integer", + "format": "int32", + "description": "Network prefix size." + }, + "subnetDelegation": { + "type": "string", + "description": "Subnet delegation." + }, + "addressPrefix": { + "type": "string", + "description": "Address prefix.", + "readOnly": true + }, + "networkSecurityGroupId": { + "type": "string", + "format": "arm-id", + "description": "Network security group ID.", + "readOnly": true + } + }, + "required": [ + "name", + "networkPrefixSize" + ] + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..af21bae61e74 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json @@ -0,0 +1,117 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json new file mode 100644 index 000000000000..598be1195ae0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json new file mode 100644 index 000000000000..70686559cae9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json @@ -0,0 +1,52 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..3f3288d9fc32 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json new file mode 100644 index 000000000000..27f896c6ff11 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json @@ -0,0 +1,57 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json new file mode 100644 index 000000000000..4b4bae7d6c31 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json @@ -0,0 +1,81 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "mandatoryApprovers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "minimumApproversRequired": 0 + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..74ccac9ed0e0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..a914cfaa7b54 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..aadf367454c5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..d706fc1c592f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1aa6f1c38841 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..58511f501dfe --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..27a6391e135c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,564 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..15a266c726e9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..a77dbee34a1d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json @@ -0,0 +1,218 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..82d8fa80d062 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,222 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..ed69e3298ee0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,221 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..9664ce231521 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-10-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..02a466a3ad9b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json @@ -0,0 +1,361 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..620695d96801 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..408742addf05 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..f2c400575e0e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..d12d696e74bf --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..20f6b6f90267 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..398baf2b1245 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..f91ff5393234 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..44e829068849 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..48d032ce058f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..81c56e193c3c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..a4f6bbfcac32 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..524bc8b6253b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..200c18b170d6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..f6a0ed219a01 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..266c8b7c0f9c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..81e88f82b374 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..c41834e46777 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..2820b913d6c8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..98ca3c717a55 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..adf24f3e00af --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..821882f3c021 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..b6d95b7d2e7f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..857d3133d7ed --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..c6566524f763 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..58cbc587f957 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..886b87ed4864 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..8f3e2753e2ca --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..1de204c66f1b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..a83d87ba75f6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..cade59094581 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..38858b6b1a89 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..196f540034d6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..a1a732462fe7 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..cc3fb34fba62 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..942729f39024 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..7761238dd938 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..e5563a86383a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..0b9e66cde8dd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..8b55ad1ccd06 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..966b230e7714 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,329 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..22109d1c8257 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..4543c62c4ad6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,129 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..1577e5f356ad --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,133 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..5658dfa7f86d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..0ddc8bf21d8d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,225 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..6196986fcfa8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..6e06ea6e513c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..c8d33a0ae87a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..150f46b1731c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..1a4b02ce550b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..39055075b22b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-10-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json new file mode 100644 index 000000000000..9d2ccc086f42 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -0,0 +1,7113 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2024-10-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + }, + { + "name": "Approval" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.Mission/approvals": { + "get": { + "operationId": "Approval_ListByParent", + "tags": [ + "Approval" + ], + "description": "List ApprovalResource resources by parent", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_ListByParent": { + "$ref": "./examples/Approvals_ListByParent.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { + "get": { + "operationId": "Approval_Get", + "tags": [ + "Approval" + ], + "description": "Get a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Get": { + "$ref": "./examples/Approvals_Get.json" + } + } + }, + "put": { + "operationId": "Approval_CreateOrUpdate", + "tags": [ + "Approval" + ], + "description": "Create a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApprovalResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "201": { + "description": "Resource 'ApprovalResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_CreateOrUpdate": { + "$ref": "./examples/Approvals_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Approval_Update", + "tags": [ + "Approval" + ], + "description": "Update a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Approval_Delete", + "tags": [ + "Approval" + ], + "description": "Delete a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { + "post": { + "operationId": "Approval_InitiatorCallback", + "tags": [ + "Approval" + ], + "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/InitiatorCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InitiatorCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_InitiatorCallback": { + "$ref": "./examples/Approvals_InitiatorCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", + "tags": [ + "Community" + ], + "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ActionPerformed": { + "type": "string", + "description": "Specifies the action performed by the approver", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "ActionPerformed", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ActionPerformed Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ActionPerformed Type Rejected" + } + ] + } + }, + "ApprovalCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id of the item being approved or rejected" + }, + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", + "enum": [ + "Create", + "Delete", + "Update", + "Reset" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceId", + "resourceRequestAction", + "approvalStatus" + ] + }, + "ApprovalCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalDeletionCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", + "enum": [ + "Create", + "Delete", + "Update" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceRequestAction" + ] + }, + "ApprovalDeletionCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalDeletionCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalProperties": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "minimumApproversRequired": { + "type": "integer", + "format": "int64", + "description": "Minimum number of approvers required for the approval request" + } + }, + "required": [ + "requestMetadata" + ] + }, + "ApprovalPropertiesUpdate": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdate", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/Approvers" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "minimumApproversRequired": { + "type": "integer", + "format": "int64", + "description": "Minimum number of approvers required for the approval request" + } + } + }, + "ApprovalResource": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalResourceListResult": { + "type": "object", + "description": "The response of a ApprovalResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApprovalResource items on this page", + "items": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalStatus": { + "type": "string", + "description": "Approval Status Enum", + "enum": [ + "Approved", + "Rejected", + "Pending" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + } + ] + } + }, + "Approvers": { + "type": "object", + "description": "Approver Metadata for approvals request.", + "properties": { + "approverEntraId": { + "type": "string", + "description": "EntraId of the approver" + }, + "actionPerformed": { + "$ref": "#/definitions/ActionPerformed", + "description": "Action Performed by approver" + }, + "lastUpdatedAt": { + "type": "string", + "format": "date-time", + "description": "approval request last updated at" + } + }, + "required": [ + "approverEntraId", + "actionPerformed", + "lastUpdatedAt" + ] + }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "DiagnosticDestination": { + "type": "string", + "description": "Specifies the destination of where to store diagnostic logs.", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + } + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + }, + "logAnalyticsResourceIdCollection": { + "type": "array", + "description": "Log Analytics Resource Ids.", + "items": { + "$ref": "#/definitions/LogAnalyticsResourceId" + } + }, + "diagnosticDestination": { + "$ref": "#/definitions/DiagnosticDestination", + "description": "Diagnostic Destination." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointPropertiesUpdate": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "GovernedServiceItem": { + "type": "object", + "description": "GovernedServiceItem Properties", + "properties": { + "id": { + "$ref": "#/definitions/ServiceIdentifier", + "description": "service id" + }, + "name": { + "type": "string", + "description": "service name", + "readOnly": true + }, + "option": { + "type": "string", + "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "enum": [ + "Allow", + "Deny", + "ExceptionOnly", + "NotApplicable" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "enforcement": { + "type": "string", + "description": "initiative enforcement (Enabled or Disabled).", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "auditOnly": { + "type": "boolean", + "description": "policies set to auditOnly (True or False)." + }, + "initiatives": { + "type": "array", + "description": "initiatives associated with this service", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "id" + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InitiatorCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "InitiatorCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "MaintenanceModeConfiguration": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "mode" + ] + }, + "MaintenanceModeConfigurationUpdate": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "Principal": { + "type": "object", + "description": "Principal for maintenance mode or role assignments", + "properties": { + "id": { + "type": "string", + "description": "The object id associated with the principal" + }, + "type": { + "type": "string", + "description": "The type of the object id. We currently allow users, groups, and service principals", + "enum": [ + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "id", + "type" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "RequestMetadata": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + }, + "required": [ + "resourceAction" + ] + }, + "RequestMetadataUpdate": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + } + }, + "RoleAssignmentItem": { + "type": "object", + "description": "Role assignment item that indicates which principals should be assigned this role definition", + "properties": { + "id": { + "type": "string", + "description": "Role definition identifier" + }, + "principals": { + "type": "array", + "description": "List of principal IDs to which to assign this role definition", + "items": { + "$ref": "#/definitions/Principal" + } + } + }, + "required": [ + "id" + ] + }, + "ServiceIdentifier": { + "type": "string", + "description": "Identifier for governed services.", + "enum": [ + "AKS", + "AppService", + "AzureFirewalls", + "ContainerRegistry", + "CosmosDB", + "DataConnectors", + "Insights", + "KeyVault", + "Logic", + "MicrosoftSQL", + "Monitoring", + "PostgreSQL", + "PrivateDNSZones", + "ServiceBus", + "Storage" + ], + "x-ms-enum": { + "name": "ServiceIdentifier", + "modelAsString": true, + "values": [ + { + "name": "AKS", + "value": "AKS", + "description": "Service identifier for AKS" + }, + { + "name": "AppService", + "value": "AppService", + "description": "Service identifier for App Service" + }, + { + "name": "AzureFirewalls", + "value": "AzureFirewalls", + "description": "Service identifier for Azure Firewalls" + }, + { + "name": "ContainerRegistry", + "value": "ContainerRegistry", + "description": "Service identifier for Container Registry" + }, + { + "name": "CosmosDB", + "value": "CosmosDB", + "description": "Service identifier for CosmosDB" + }, + { + "name": "DataConnectors", + "value": "DataConnectors", + "description": "Service identifier for Data Connectors" + }, + { + "name": "Insights", + "value": "Insights", + "description": "Service identifier for Insights" + }, + { + "name": "KeyVault", + "value": "KeyVault", + "description": "Service identifier for Key Vault" + }, + { + "name": "Logic", + "value": "Logic", + "description": "Service identifier for Logic" + }, + { + "name": "MicrosoftSql", + "value": "MicrosoftSQL", + "description": "Service identifier for Microsoft SQL" + }, + { + "name": "Monitoring", + "value": "Monitoring", + "description": "Service identifier for Monitoring" + }, + { + "name": "PostgreSql", + "value": "PostgreSQL", + "description": "Service identifier for PostgreSQL" + }, + { + "name": "PrivateDNSZones", + "value": "PrivateDNSZones", + "description": "Service identifier for Private DNS Zones" + }, + { + "name": "ServiceBus", + "value": "ServiceBus", + "description": "Service identifier for Service Bus" + }, + { + "name": "Storage", + "value": "Storage", + "description": "Service identifier for Storage" + } + ] + } + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "SubnetConfiguration": { + "type": "object", + "description": "Subnet Configuration", + "properties": { + "name": { + "type": "string", + "description": "Subnet name." + }, + "id": { + "type": "string", + "format": "arm-id", + "description": "Subnet ID.", + "readOnly": true + }, + "networkPrefixSize": { + "type": "integer", + "format": "int32", + "description": "Network prefix size." + }, + "subnetDelegation": { + "type": "string", + "description": "Subnet delegation." + }, + "addressPrefix": { + "type": "string", + "description": "Address prefix.", + "readOnly": true + }, + "networkSecurityGroupId": { + "type": "string", + "format": "arm-id", + "description": "Network security group ID.", + "readOnly": true + } + }, + "required": [ + "name", + "networkPrefixSize" + ] + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} From 0639f081728d11d9a4ddd9e61a74fadbd9ad8074 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Tue, 28 Jan 2025 08:37:17 -0600 Subject: [PATCH 08/89] Added older version of API to Readme --- .../mission/resource-manager/readme.md | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index e9bde16287d9..ac34a7d69d25 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -40,6 +40,91 @@ input-file: - Microsoft.Mission/preview/2024-11-01-preview/openapi.json ``` +### Tag: package-2024-10-01-preview + +These settings apply only when `--tag=package-2024-10-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-10-01-preview' +input-file: + - Microsoft.Mission/preview/2024-10-01-preview/openapi.json +``` + +### Tag: package-2024-06-01-preview + +These settings apply only when `--tag=package-2024-06-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-06-01-preview' +input-file: + - Microsoft.Mission/preview/2024-06-01-preview/openapi.json +``` + +### Tag: package-2024-01-01-preview + +These settings apply only when `--tag=package-2024-01-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-01-01-preview' +input-file: + - Microsoft.Mission/preview/2024-01-01-preview/openapi.json +``` + +### Tag: package-2023-11-01-preview + +These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-11-01-preview' +input-file: + - Microsoft.Mission/preview/2023-11-01-preview/openapi.json +``` + +### Tag: package-2023-08-01-preview + +These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-08-01-preview' +input-file: + - Microsoft.Mission/preview/2023-08-01-preview/openapi.json +``` + +### Tag: package-2023-02-01-preview + +These settings apply only when `--tag=package-2023-02-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2023-02-01-preview' +input-file: + - Microsoft.Mission/preview/2023-02-01-preview/openapi.json +``` +--- + +### Tag: package-2022-12-07-preview + +These settings apply only when `--tag=package-2022-12-07-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-12-07-preview' +input-file: + - Microsoft.Mission/preview/2022-12-07-preview/openapi.json +``` +--- + +### Tag: package-2022-10-31-preview + +These settings apply only when `--tag=package-2022-10-31-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-10-31-preview' +input-file: + - Microsoft.Mission/preview/2022-10-31-preview/openapi.json +``` +--- + +### Tag: package-2022-08-02-preview + +These settings apply only when `--tag=package-2022-08-02-preview` is specified on the command line. + +```yaml $(tag) == 'package-2022-08-02-preview' +input-file: + - Microsoft.Mission/preview/2022-08-02-preview/openapi.json +``` +--- + # Code Generation ## Swagger to SDK From d459f0b45bb8f10e346feff6b64af34c68a15c86 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Tue, 28 Jan 2025 08:40:43 -0600 Subject: [PATCH 09/89] Update version.tsp --- .../mission/Mission.Management/version.tsp | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index 8845b1e6ae73..b93251540076 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -10,6 +10,37 @@ namespace Microsoft.Mission; @doc("Supported API versions for the Microsoft.Mission resource provider.") enum Versions { + @doc("The 2023-02-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_02_01_preview: "2023-02-01-preview", + + @doc("The 2023-08-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_08_01_preview: "2023-08-01-preview", + + @doc("The 2023-11-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2023_11_01_preview: "2023-11-01-preview", + + @doc("The 2024-01-01-preview version.") + @armCommonTypesVersion("v3") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + v2024_01_01_preview: "2024-01-01-preview", + + @doc("The 2024-06-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_06_01_preview: "2024-06-01-preview", + + @doc("The 2024-10-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_10_01_preview: "2024-10-01-preview", @doc("The 2024-11-01-preview version.") @armCommonTypesVersion("v5") From 3510a3fa618452f279725f12ceb4b9e4ee3bf62d Mon Sep 17 00:00:00 2001 From: jorgechav Date: Tue, 28 Jan 2025 09:08:40 -0600 Subject: [PATCH 10/89] remove 2022 versions --- .../Operations_List_MaximumSet_Gen.json | 26 - .../Operations_List_MinimumSet_Gen.json | 10 - ...Enclave_CreateOrUpdate_MaximumSet_Gen.json | 135 --- ...Enclave_CreateOrUpdate_MinimumSet_Gen.json | 31 - .../VirtualEnclave_Delete_MaximumSet_Gen.json | 17 - .../VirtualEnclave_Delete_MinimumSet_Gen.json | 17 - .../VirtualEnclave_Get_MaximumSet_Gen.json | 55 - .../VirtualEnclave_Get_MinimumSet_Gen.json | 17 - ...ve_ListByResourceGroup_MaximumSet_Gen.json | 59 - ...ve_ListByResourceGroup_MinimumSet_Gen.json | 20 - ...ave_ListBySubscription_MaximumSet_Gen.json | 58 - ...ave_ListBySubscription_MinimumSet_Gen.json | 19 - .../VirtualEnclave_Update_MaximumSet_Gen.json | 85 -- .../VirtualEnclave_Update_MinimumSet_Gen.json | 17 - .../preview/2022-08-02-preview/openapi.json | 624 ---------- ...mmunity_CreateOrUpdate_MaximumSet_Gen.json | 81 -- ...mmunity_CreateOrUpdate_MinimumSet_Gen.json | 31 - .../Community_Delete_MaximumSet_Gen.json | 17 - .../Community_Delete_MinimumSet_Gen.json | 17 - .../Community_Get_MaximumSet_Gen.json | 37 - .../Community_Get_MinimumSet_Gen.json | 17 - ...ty_ListByResourceGroup_MaximumSet_Gen.json | 41 - ...ty_ListByResourceGroup_MinimumSet_Gen.json | 20 - ...ity_ListBySubscription_MaximumSet_Gen.json | 40 - ...ity_ListBySubscription_MinimumSet_Gen.json | 19 - .../Community_Update_MaximumSet_Gen.json | 49 - .../Community_Update_MinimumSet_Gen.json | 18 - .../Operations_List_MaximumSet_Gen.json | 26 - .../Operations_List_MinimumSet_Gen.json | 10 - ...Enclave_CreateOrUpdate_MaximumSet_Gen.json | 136 --- ...Enclave_CreateOrUpdate_MinimumSet_Gen.json | 32 - .../VirtualEnclave_Delete_MaximumSet_Gen.json | 18 - .../VirtualEnclave_Delete_MinimumSet_Gen.json | 18 - .../VirtualEnclave_Get_MaximumSet_Gen.json | 56 - .../VirtualEnclave_Get_MinimumSet_Gen.json | 18 - ...istByCommunityResource_MaximumSet_Gen.json | 60 - ...istByCommunityResource_MinimumSet_Gen.json | 21 - ...ave_ListBySubscription_MaximumSet_Gen.json | 59 - ...ave_ListBySubscription_MinimumSet_Gen.json | 20 - .../VirtualEnclave_Update_MaximumSet_Gen.json | 86 -- .../VirtualEnclave_Update_MinimumSet_Gen.json | 19 - .../preview/2022-10-31-preview/openapi.json | 1072 ----------------- ...mmunity_CreateOrUpdate_MaximumSet_Gen.json | 83 -- ...mmunity_CreateOrUpdate_MinimumSet_Gen.json | 33 - .../Community_Delete_MaximumSet_Gen.json | 19 - .../Community_Delete_MinimumSet_Gen.json | 19 - .../Community_Get_MaximumSet_Gen.json | 39 - .../Community_Get_MinimumSet_Gen.json | 19 - ...ty_ListByResourceGroup_MaximumSet_Gen.json | 43 - ...ty_ListByResourceGroup_MinimumSet_Gen.json | 22 - ...ity_ListBySubscription_MaximumSet_Gen.json | 42 - ...ity_ListBySubscription_MinimumSet_Gen.json | 21 - .../Community_Update_MaximumSet_Gen.json | 51 - .../Community_Update_MinimumSet_Gen.json | 19 - .../Operations_List_MaximumSet_Gen.json | 28 - .../Operations_List_MinimumSet_Gen.json | 12 - ...Enclave_CreateOrUpdate_MaximumSet_Gen.json | 183 --- ...Enclave_CreateOrUpdate_MinimumSet_Gen.json | 39 - .../VirtualEnclave_Delete_MaximumSet_Gen.json | 19 - .../VirtualEnclave_Delete_MinimumSet_Gen.json | 19 - .../VirtualEnclave_Get_MaximumSet_Gen.json | 76 -- .../VirtualEnclave_Get_MinimumSet_Gen.json | 21 - ...ve_ListByResourceGroup_MaximumSet_Gen.json | 80 -- ...ve_ListByResourceGroup_MinimumSet_Gen.json | 24 - ...ave_ListBySubscription_MaximumSet_Gen.json | 79 -- ...ave_ListBySubscription_MinimumSet_Gen.json | 23 - .../VirtualEnclave_Update_MaximumSet_Gen.json | 100 -- .../VirtualEnclave_Update_MinimumSet_Gen.json | 21 - .../preview/2022-12-07-preview/openapi.json | 1041 ---------------- .../mission/resource-manager/readme.md | 30 - 70 files changed, 5433 deletions(-) delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/openapi.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/openapi.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/openapi.json diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MaximumSet_Gen.json deleted file mode 100644 index 473381624de1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MaximumSet_Gen.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "iqwphhsxdechcfklzh", - "isDataAction": true, - "display": { - "provider": "mboxx", - "resource": "jizi", - "operation": "hqqiczlbtpviubddodg", - "description": "ceucpz" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "klllqumfzebqvzyos" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MinimumSet_Gen.json deleted file mode 100644 index 13d1efbbf7a8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/Operations_List_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index f95d350acbcf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,135 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi", - "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw", - "resource": { - "properties": { - "enclaveResourcesGroupId": "gbeiqqeoouqautvi", - "enclaveVirtualNetwork": { - "networkSize": "ndqk", - "networkCidr": "suggvzuzfpfhicpuyz", - "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", - "subnetClientCidr": "ifgeag", - "subnetManagementCidr": "j", - "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", - "subnetHostPoolCidr": "kxbyarkyaszl", - "vpnASN": 16 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "vxyeswhvxyrcwfplxwrdy", - "domainPasswordSecretValue": "pimjcqnowylkb", - "domainAccountValue": "veqocikqaxuvl", - "localAccountValue": "beapgtycavsnpuewqjejblkcw", - "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", - "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" - }, - "ipAddress": "ryacfgnfnqyweei" - }, - "enclaveAdministratorsObjectId": "jyusxjodnq", - "provisioningState": "Succeeded" - }, - "tags": { - "key8830": "outwrnoazjurznacchyikt" - }, - "location": "rk" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "gbeiqqeoouqautvi", - "enclaveVirtualNetwork": { - "networkSize": "ndqk", - "networkCidr": "suggvzuzfpfhicpuyz", - "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", - "subnetClientCidr": "ifgeag", - "subnetManagementCidr": "j", - "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", - "subnetHostPoolCidr": "kxbyarkyaszl", - "vpnASN": 16 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "vxyeswhvxyrcwfplxwrdy", - "domainPasswordSecretValue": "pimjcqnowylkb", - "domainAccountValue": "veqocikqaxuvl", - "localAccountValue": "beapgtycavsnpuewqjejblkcw", - "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", - "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" - }, - "ipAddress": "ryacfgnfnqyweei" - }, - "enclaveAdministratorsObjectId": "jyusxjodnq", - "provisioningState": "Succeeded" - }, - "tags": { - "key8830": "outwrnoazjurznacchyikt" - }, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki", - "name": "iymcremrgzpvktbyyca", - "type": "sxdotoiraytpbaorwmlcdlwcfsibi", - "systemData": { - "createdBy": "arkr", - "createdByType": "User", - "createdAt": "2022-10-07T21:16:12.728Z", - "lastModifiedBy": "pipriymyxhmopjiihbc", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-10-07T21:16:12.728Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "enclaveResourcesGroupId": "gbeiqqeoouqautvi", - "enclaveVirtualNetwork": { - "networkSize": "ndqk", - "networkCidr": "suggvzuzfpfhicpuyz", - "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", - "subnetClientCidr": "ifgeag", - "subnetManagementCidr": "j", - "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", - "subnetHostPoolCidr": "kxbyarkyaszl", - "vpnASN": 16 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "vxyeswhvxyrcwfplxwrdy", - "domainPasswordSecretValue": "pimjcqnowylkb", - "domainAccountValue": "veqocikqaxuvl", - "localAccountValue": "beapgtycavsnpuewqjejblkcw", - "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", - "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" - }, - "ipAddress": "ryacfgnfnqyweei" - }, - "enclaveAdministratorsObjectId": "jyusxjodnq", - "provisioningState": "Succeeded" - }, - "tags": { - "key8830": "outwrnoazjurznacchyikt" - }, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki", - "name": "iymcremrgzpvktbyyca", - "type": "sxdotoiraytpbaorwmlcdlwcfsibi", - "systemData": { - "createdBy": "arkr", - "createdByType": "User", - "createdAt": "2022-10-07T21:16:12.728Z", - "lastModifiedBy": "pipriymyxhmopjiihbc", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-10-07T21:16:12.728Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index c6ff0a62f808..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi", - "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw", - "resource": { - "properties": {}, - "location": "rk" - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki" - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": {}, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json deleted file mode 100644 index f5309707550b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi", - "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json deleted file mode 100644 index f5309707550b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi", - "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json deleted file mode 100644 index 66fda0d145f0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi", - "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw" - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "gbeiqqeoouqautvi", - "enclaveVirtualNetwork": { - "networkSize": "ndqk", - "networkCidr": "suggvzuzfpfhicpuyz", - "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", - "subnetClientCidr": "ifgeag", - "subnetManagementCidr": "j", - "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", - "subnetHostPoolCidr": "kxbyarkyaszl", - "vpnASN": 16 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "vxyeswhvxyrcwfplxwrdy", - "domainPasswordSecretValue": "pimjcqnowylkb", - "domainAccountValue": "veqocikqaxuvl", - "localAccountValue": "beapgtycavsnpuewqjejblkcw", - "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", - "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" - }, - "ipAddress": "ryacfgnfnqyweei" - }, - "enclaveAdministratorsObjectId": "jyusxjodnq", - "provisioningState": "Succeeded" - }, - "tags": { - "key8830": "outwrnoazjurznacchyikt" - }, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki", - "name": "iymcremrgzpvktbyyca", - "type": "sxdotoiraytpbaorwmlcdlwcfsibi", - "systemData": { - "createdBy": "arkr", - "createdByType": "User", - "createdAt": "2022-10-07T21:16:12.728Z", - "lastModifiedBy": "pipriymyxhmopjiihbc", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-10-07T21:16:12.728Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json deleted file mode 100644 index f33d88341b7b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi", - "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index 475295bb7138..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "enclaveResourcesGroupId": "gbeiqqeoouqautvi", - "enclaveVirtualNetwork": { - "networkSize": "ndqk", - "networkCidr": "suggvzuzfpfhicpuyz", - "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", - "subnetClientCidr": "ifgeag", - "subnetManagementCidr": "j", - "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", - "subnetHostPoolCidr": "kxbyarkyaszl", - "vpnASN": 16 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "vxyeswhvxyrcwfplxwrdy", - "domainPasswordSecretValue": "pimjcqnowylkb", - "domainAccountValue": "veqocikqaxuvl", - "localAccountValue": "beapgtycavsnpuewqjejblkcw", - "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", - "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" - }, - "ipAddress": "ryacfgnfnqyweei" - }, - "enclaveAdministratorsObjectId": "jyusxjodnq", - "provisioningState": "Succeeded" - }, - "tags": { - "key8830": "outwrnoazjurznacchyikt" - }, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki", - "name": "iymcremrgzpvktbyyca", - "type": "sxdotoiraytpbaorwmlcdlwcfsibi", - "systemData": { - "createdBy": "arkr", - "createdByType": "User", - "createdAt": "2022-10-07T21:16:12.728Z", - "lastModifiedBy": "pipriymyxhmopjiihbc", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-10-07T21:16:12.728Z" - } - } - ], - "nextLink": "vkociyikdqcnc" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index c0a7fad02531..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json deleted file mode 100644 index 408d21c44cb4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "enclaveResourcesGroupId": "gbeiqqeoouqautvi", - "enclaveVirtualNetwork": { - "networkSize": "ndqk", - "networkCidr": "suggvzuzfpfhicpuyz", - "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", - "subnetClientCidr": "ifgeag", - "subnetManagementCidr": "j", - "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", - "subnetHostPoolCidr": "kxbyarkyaszl", - "vpnASN": 16 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "vxyeswhvxyrcwfplxwrdy", - "domainPasswordSecretValue": "pimjcqnowylkb", - "domainAccountValue": "veqocikqaxuvl", - "localAccountValue": "beapgtycavsnpuewqjejblkcw", - "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", - "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" - }, - "ipAddress": "ryacfgnfnqyweei" - }, - "enclaveAdministratorsObjectId": "jyusxjodnq", - "provisioningState": "Succeeded" - }, - "tags": { - "key8830": "outwrnoazjurznacchyikt" - }, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki", - "name": "iymcremrgzpvktbyyca", - "type": "sxdotoiraytpbaorwmlcdlwcfsibi", - "systemData": { - "createdBy": "arkr", - "createdByType": "User", - "createdAt": "2022-10-07T21:16:12.728Z", - "lastModifiedBy": "pipriymyxhmopjiihbc", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-10-07T21:16:12.728Z" - } - } - ], - "nextLink": "vkociyikdqcnc" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index bb47ca8b460d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json deleted file mode 100644 index 6bb8b48b9cc4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi", - "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw", - "properties": { - "tags": { - "key7343": "nnrecaewssdkvj" - }, - "properties": { - "enclaveResourcesGroupId": "xsfrgffcxh", - "enclaveVirtualNetwork": { - "networkSize": "ndqk", - "networkCidr": "suggvzuzfpfhicpuyz", - "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", - "subnetClientCidr": "ifgeag", - "subnetManagementCidr": "j", - "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", - "subnetHostPoolCidr": "kxbyarkyaszl", - "vpnASN": 16 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "vxyeswhvxyrcwfplxwrdy", - "domainPasswordSecretValue": "pimjcqnowylkb", - "domainAccountValue": "veqocikqaxuvl", - "localAccountValue": "beapgtycavsnpuewqjejblkcw", - "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", - "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" - }, - "ipAddress": "ryacfgnfnqyweei" - }, - "enclaveAdministratorsObjectId": "i" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "gbeiqqeoouqautvi", - "enclaveVirtualNetwork": { - "networkSize": "ndqk", - "networkCidr": "suggvzuzfpfhicpuyz", - "subnetGatewayCidr": "uegmvmxnulbgikpvfoenvovg", - "subnetClientCidr": "ifgeag", - "subnetManagementCidr": "j", - "subnetResourcesCidr": "wqhowinyjfjnbvqwpwgbjnknzcgo", - "subnetHostPoolCidr": "kxbyarkyaszl", - "vpnASN": 16 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "vxyeswhvxyrcwfplxwrdy", - "domainPasswordSecretValue": "pimjcqnowylkb", - "domainAccountValue": "veqocikqaxuvl", - "localAccountValue": "beapgtycavsnpuewqjejblkcw", - "localPasswordSecretValue": "lzetcipqgruflqvmekqsjqfrnlnpg", - "ouPathValue": "bnkauomtwxxsafadcbcuprerejwie" - }, - "ipAddress": "ryacfgnfnqyweei" - }, - "enclaveAdministratorsObjectId": "jyusxjodnq", - "provisioningState": "Succeeded" - }, - "tags": { - "key8830": "outwrnoazjurznacchyikt" - }, - "location": "rk", - "id": "qwyypncfmvrhmhbndqzsymki", - "name": "iymcremrgzpvktbyyca", - "type": "sxdotoiraytpbaorwmlcdlwcfsibi", - "systemData": { - "createdBy": "arkr", - "createdByType": "User", - "createdAt": "2022-10-07T21:16:12.728Z", - "lastModifiedBy": "pipriymyxhmopjiihbc", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-10-07T21:16:12.728Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json deleted file mode 100644 index 2c033993f992..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2022-08-02-preview", - "subscriptionId": "oiwspyrrmrmtrwhvdxrcqgdhlzi", - "resourceGroupName": "rgopenapi", - "virtualEnclave": "lkcsewbvvaoxdsgmfttyripmnw", - "properties": {} - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "rk" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/openapi.json deleted file mode 100644 index 2d9e9beaa4ab..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-08-02-preview/openapi.json +++ /dev/null @@ -1,624 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2022-08-02-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-cadl-generated": [ - { - "emitter": "@azure-tools/cadl-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "VirtualEnclave" - }, - { - "name": "Operations" - } - ], - "paths": { - "/providers/Microsoft.Mission/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Operations_List_MaximumSet_Gen": { - "$ref": "./examples/Operations_List_MaximumSet_Gen.json" - }, - "Operations_List_MinimumSet_Gen": { - "$ref": "./examples/Operations_List_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_ListBySubscription", - "description": "List missionResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/missionResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json" - }, - "VirtualEnclave_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_ListByResourceGroup", - "description": "List missionResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/missionResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json" - }, - "VirtualEnclave_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclave}": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Get", - "description": "Get a missionResource", - "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/missionResource.virtualEnclave" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/missionResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Get_MaximumSet_Gen.json" - }, - "VirtualEnclave_Get_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Get_MinimumSet_Gen.json" - } - } - }, - "put": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_CreateOrUpdate", - "description": "Create a missionResource", - "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/missionResource.virtualEnclave" - }, - { - "name": "resource", - "in": "body", - "required": true, - "description": "Resource create parameters.", - "schema": { - "$ref": "#/definitions/missionResource" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/missionResource" - } - }, - "201": { - "description": "ARM create operation completed successfully.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - }, - "schema": { - "$ref": "#/definitions/missionResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json" - }, - "VirtualEnclave_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json" - } - } - }, - "patch": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Update", - "description": "Update a missionResource", - "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/missionResource.virtualEnclave" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/missionResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/missionResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Update_MaximumSet_Gen.json" - }, - "VirtualEnclave_Update_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Update_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Delete", - "description": "Delete a missionResource", - "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/missionResource.virtualEnclave" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - } - }, - "204": { - "description": "Resource deleted successfully." - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "VirtualEnclave_Delete_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Delete_MaximumSet_Gen.json" - }, - "VirtualEnclave_Delete_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Delete_MinimumSet_Gen.json" - } - } - } - } - }, - "definitions": { - "enclaveCore": { - "type": "object", - "properties": { - "enclaveKeyVault": { - "$ref": "#/definitions/enclaveKeyVault", - "description": "Virtual Enclave's centrally shared Key Vault." - }, - "ipAddress": { - "type": "string", - "description": "Ip Address." - } - }, - "description": "Enclave Core properties" - }, - "enclaveKeyVault": { - "type": "object", - "properties": { - "domainNameValue": { - "type": "string", - "description": "Domain Name." - }, - "domainPasswordSecretValue": { - "type": "string", - "description": "Domain Password Secret Value." - }, - "domainAccountValue": { - "type": "string", - "description": "Domain Account Value." - }, - "localAccountValue": { - "type": "string", - "description": "Local Account Value." - }, - "localPasswordSecretValue": { - "type": "string", - "description": "Local Password Secret Value." - }, - "ouPathValue": { - "type": "string", - "description": "Ou Path Value." - } - }, - "description": "Enclave Key Vault Resource" - }, - "enclaveVirtualNetwork": { - "type": "object", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "networkCidr": { - "type": "string", - "description": "Network Address." - }, - "subnetGatewayCidr": { - "type": "string", - "description": "Subnet Gateway Address." - }, - "subnetClientCidr": { - "type": "string", - "description": "Subnet Client Address." - }, - "subnetManagementCidr": { - "type": "string", - "description": "Subnet Management Address." - }, - "subnetResourcesCidr": { - "type": "string", - "description": "Subnet Resources Address." - }, - "subnetHostPoolCidr": { - "type": "string", - "description": "Subnet HostPool Address." - }, - "vpnASN": { - "type": "integer", - "format": "int32", - "description": "VPN asn." - } - }, - "description": "Enclave Virtual Network Resource" - }, - "missionResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/virtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-client-flatten": true - } - }, - "description": "Mission Resource", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "missionResourceListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/missionResource" - }, - "x-cadl-name": "missionResource[]", - "description": "The missionResource items on this page" - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" - } - }, - "description": "The response of a missionResource list operation.", - "required": [ - "value" - ] - }, - "missionResourceUpdate": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "properties": { - "$ref": "#/definitions/missionResourceUpdateProperties" - } - }, - "description": "The type used for update operations of the missionResource." - }, - "missionResourceUpdateProperties": { - "type": "object", - "properties": { - "enclaveResourcesGroupId": { - "type": "string", - "description": "Virtual Enclave Resource Group Id." - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/enclaveVirtualNetwork", - "description": "Virtual Enclave Virtual Network." - }, - "enclaveCore": { - "$ref": "#/definitions/enclaveCore", - "description": "Virtual Enclave Core." - }, - "enclaveAdministratorsObjectId": { - "type": "string", - "description": "Virtual Enclave Administrators Object Id." - } - }, - "description": "The updatable properties of the missionResource." - }, - "provisioningState": { - "type": "string", - "description": "Provisioning State Enum", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Unknown", - "Validating", - "Processing", - "Deleting", - "Accepted", - "Completed", - "Deleted" - ], - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - } - }, - "virtualEnclaveProperties": { - "type": "object", - "properties": { - "enclaveResourcesGroupId": { - "type": "string", - "description": "Virtual Enclave Resource Group Id." - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/enclaveVirtualNetwork", - "description": "Virtual Enclave Virtual Network." - }, - "enclaveCore": { - "$ref": "#/definitions/enclaveCore", - "description": "Virtual Enclave Core." - }, - "enclaveAdministratorsObjectId": { - "type": "string", - "description": "Virtual Enclave Administrators Object Id." - }, - "provisioningState": { - "$ref": "#/definitions/provisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "description": "Virtual Enclave properties" - } - }, - "parameters": { - "missionResource.virtualEnclave": { - "name": "virtualEnclave", - "in": "path", - "required": true, - "description": "The name of the missionResource Resource", - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index 5b5b83b5d3ac..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "resource": { - "properties": { - "description": "qa", - "addressSpace": "myiapswodbnfy", - "dnsServers": [ - "ttldbqmby" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key3344": "toxtsdfxu" - }, - "location": "pvet" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "qa", - "addressSpace": "myiapswodbnfy", - "dnsServers": [ - "ttldbqmby" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key3344": "toxtsdfxu" - }, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg", - "name": "gqzfwkpifqegsvobwaxddk", - "type": "mrxgfqqqoomavwoms", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "qa", - "addressSpace": "myiapswodbnfy", - "dnsServers": [ - "ttldbqmby" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key3344": "toxtsdfxu" - }, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg", - "name": "gqzfwkpifqegsvobwaxddk", - "type": "mrxgfqqqoomavwoms", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 876ae1276a87..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "resource": { - "properties": {}, - "location": "pvet" - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg" - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": {}, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MaximumSet_Gen.json deleted file mode 100644 index 3c253929365e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MinimumSet_Gen.json deleted file mode 100644 index 3c253929365e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MaximumSet_Gen.json deleted file mode 100644 index d26f7c1823b8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "qa", - "addressSpace": "myiapswodbnfy", - "dnsServers": [ - "ttldbqmby" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key3344": "toxtsdfxu" - }, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg", - "name": "gqzfwkpifqegsvobwaxddk", - "type": "mrxgfqqqoomavwoms", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MinimumSet_Gen.json deleted file mode 100644 index d5c6a3a1fed6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index 220e1ed8f603..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "qa", - "addressSpace": "myiapswodbnfy", - "dnsServers": [ - "ttldbqmby" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key3344": "toxtsdfxu" - }, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg", - "name": "gqzfwkpifqegsvobwaxddk", - "type": "mrxgfqqqoomavwoms", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - ], - "nextLink": "njkozyiqodtjcwebdtsycdkrzexbv" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index d18e43cb6070..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json deleted file mode 100644 index 442bb9259291..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "qa", - "addressSpace": "myiapswodbnfy", - "dnsServers": [ - "ttldbqmby" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key3344": "toxtsdfxu" - }, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg", - "name": "gqzfwkpifqegsvobwaxddk", - "type": "mrxgfqqqoomavwoms", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - ], - "nextLink": "njkozyiqodtjcwebdtsycdkrzexbv" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index 8d896775dc6a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MaximumSet_Gen.json deleted file mode 100644 index 5125df20bc0d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "properties": { - "tags": { - "key6874": "cvuvpcnlmvuodqjnxmvc" - }, - "properties": { - "description": "lyr", - "addressSpace": "cdaaobczspiuixobamh", - "dnsServers": [ - "znwactsddqsx" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "qa", - "addressSpace": "myiapswodbnfy", - "dnsServers": [ - "znwactsddqsx" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key3344": "toxtsdfxu" - }, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg", - "name": "gqzfwkpifqegsvobwaxddk", - "type": "mrxgfqqqoomavwoms", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MinimumSet_Gen.json deleted file mode 100644 index 2fd4b6d14426..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Community_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "properties": {} - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "pvet", - "id": "sjjghjfmznnaqgxinnfg" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MaximumSet_Gen.json deleted file mode 100644 index 45c022ff3072..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MaximumSet_Gen.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "jhmvzvxpkrvyebdhjiyjdqdctwwetx", - "isDataAction": true, - "display": { - "provider": "darcrlwndzacwuaniioqmsykhhkprb", - "resource": "lpoaveaavqlmy", - "operation": "x", - "description": "khhefwtlvrtatqkqbmv" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "cdhmyfcebuoccvsvbpozgiomqryxl" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MinimumSet_Gen.json deleted file mode 100644 index 98ff5484e9ac..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/Operations_List_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index 331897d65635..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "virtualEnclaveName": "lbk", - "resource": { - "properties": { - "enclaveResourcesGroupId": "ziqu", - "enclaveVirtualNetwork": { - "networkSize": "qiqlegmvvxloumimyplpuwftl", - "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", - "subnetGatewayCidr": "habljwttntbirinopwji", - "subnetClientCidr": "kjwplpw", - "subnetManagementCidr": "ympvcnzuzxaqp", - "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", - "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", - "vpnASN": 18 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "ci", - "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", - "domainAccountValue": "dtxbmqafruqfvyymbnbf", - "localAccountValue": "aqdjmpotthli", - "localPasswordSecretValue": "p", - "ouPathValue": "vawsfcezygurppkw" - }, - "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" - }, - "enclaveAdministratorsObjectId": "ifbyvgjllx", - "provisioningState": "Succeeded" - }, - "tags": { - "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" - }, - "location": "zzbnaojcfisgxcpfekgthgdu" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "ziqu", - "enclaveVirtualNetwork": { - "networkSize": "qiqlegmvvxloumimyplpuwftl", - "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", - "subnetGatewayCidr": "habljwttntbirinopwji", - "subnetClientCidr": "kjwplpw", - "subnetManagementCidr": "ympvcnzuzxaqp", - "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", - "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", - "vpnASN": 18 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "ci", - "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", - "domainAccountValue": "dtxbmqafruqfvyymbnbf", - "localAccountValue": "aqdjmpotthli", - "localPasswordSecretValue": "p", - "ouPathValue": "vawsfcezygurppkw" - }, - "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" - }, - "enclaveAdministratorsObjectId": "ifbyvgjllx", - "provisioningState": "Succeeded" - }, - "tags": { - "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" - }, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg", - "name": "y", - "type": "fvdkc", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "enclaveResourcesGroupId": "ziqu", - "enclaveVirtualNetwork": { - "networkSize": "qiqlegmvvxloumimyplpuwftl", - "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", - "subnetGatewayCidr": "habljwttntbirinopwji", - "subnetClientCidr": "kjwplpw", - "subnetManagementCidr": "ympvcnzuzxaqp", - "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", - "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", - "vpnASN": 18 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "ci", - "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", - "domainAccountValue": "dtxbmqafruqfvyymbnbf", - "localAccountValue": "aqdjmpotthli", - "localPasswordSecretValue": "p", - "ouPathValue": "vawsfcezygurppkw" - }, - "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" - }, - "enclaveAdministratorsObjectId": "ifbyvgjllx", - "provisioningState": "Succeeded" - }, - "tags": { - "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" - }, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg", - "name": "y", - "type": "fvdkc", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 7adec23cf49c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "virtualEnclaveName": "lbk", - "resource": { - "properties": {}, - "location": "zzbnaojcfisgxcpfekgthgdu" - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg" - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": {}, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json deleted file mode 100644 index 3874743cbb44..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "virtualEnclaveName": "lbk" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json deleted file mode 100644 index 3874743cbb44..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "virtualEnclaveName": "lbk" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json deleted file mode 100644 index ffc40fa5800f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "virtualEnclaveName": "lbk" - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "ziqu", - "enclaveVirtualNetwork": { - "networkSize": "qiqlegmvvxloumimyplpuwftl", - "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", - "subnetGatewayCidr": "habljwttntbirinopwji", - "subnetClientCidr": "kjwplpw", - "subnetManagementCidr": "ympvcnzuzxaqp", - "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", - "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", - "vpnASN": 18 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "ci", - "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", - "domainAccountValue": "dtxbmqafruqfvyymbnbf", - "localAccountValue": "aqdjmpotthli", - "localPasswordSecretValue": "p", - "ouPathValue": "vawsfcezygurppkw" - }, - "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" - }, - "enclaveAdministratorsObjectId": "ifbyvgjllx", - "provisioningState": "Succeeded" - }, - "tags": { - "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" - }, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg", - "name": "y", - "type": "fvdkc", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json deleted file mode 100644 index 88512a3facd3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "virtualEnclaveName": "lbk" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json deleted file mode 100644 index 3b2ecf4f248a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "enclaveResourcesGroupId": "ziqu", - "enclaveVirtualNetwork": { - "networkSize": "qiqlegmvvxloumimyplpuwftl", - "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", - "subnetGatewayCidr": "habljwttntbirinopwji", - "subnetClientCidr": "kjwplpw", - "subnetManagementCidr": "ympvcnzuzxaqp", - "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", - "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", - "vpnASN": 18 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "ci", - "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", - "domainAccountValue": "dtxbmqafruqfvyymbnbf", - "localAccountValue": "aqdjmpotthli", - "localPasswordSecretValue": "p", - "ouPathValue": "vawsfcezygurppkw" - }, - "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" - }, - "enclaveAdministratorsObjectId": "ifbyvgjllx", - "provisioningState": "Succeeded" - }, - "tags": { - "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" - }, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg", - "name": "y", - "type": "fvdkc", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - ], - "nextLink": "kxgnjgsivbfbteomakdgf" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json deleted file mode 100644 index 37b21e4ca64c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json deleted file mode 100644 index 41d64853471d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "communityName": "oymdgjtnnvflxjpfrevwtzkw" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "enclaveResourcesGroupId": "ziqu", - "enclaveVirtualNetwork": { - "networkSize": "qiqlegmvvxloumimyplpuwftl", - "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", - "subnetGatewayCidr": "habljwttntbirinopwji", - "subnetClientCidr": "kjwplpw", - "subnetManagementCidr": "ympvcnzuzxaqp", - "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", - "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", - "vpnASN": 18 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "ci", - "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", - "domainAccountValue": "dtxbmqafruqfvyymbnbf", - "localAccountValue": "aqdjmpotthli", - "localPasswordSecretValue": "p", - "ouPathValue": "vawsfcezygurppkw" - }, - "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" - }, - "enclaveAdministratorsObjectId": "ifbyvgjllx", - "provisioningState": "Succeeded" - }, - "tags": { - "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" - }, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg", - "name": "y", - "type": "fvdkc", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - ], - "nextLink": "kxgnjgsivbfbteomakdgf" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index 47eb138738f2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "communityName": "oymdgjtnnvflxjpfrevwtzkw" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json deleted file mode 100644 index 170278b36c35..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "virtualEnclaveName": "lbk", - "properties": { - "tags": { - "key974": "nlkwbanzqkbgzckhutibhdh" - }, - "properties": { - "enclaveResourcesGroupId": "foiaxfrmgoho", - "enclaveVirtualNetwork": { - "networkSize": "qiqlegmvvxloumimyplpuwftl", - "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", - "subnetGatewayCidr": "habljwttntbirinopwji", - "subnetClientCidr": "kjwplpw", - "subnetManagementCidr": "ympvcnzuzxaqp", - "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", - "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", - "vpnASN": 18 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "ci", - "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", - "domainAccountValue": "dtxbmqafruqfvyymbnbf", - "localAccountValue": "aqdjmpotthli", - "localPasswordSecretValue": "p", - "ouPathValue": "vawsfcezygurppkw" - }, - "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" - }, - "enclaveAdministratorsObjectId": "tsfgjsff" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "ziqu", - "enclaveVirtualNetwork": { - "networkSize": "qiqlegmvvxloumimyplpuwftl", - "networkCidr": "vtlxypsoeojbloxicgfpiwighbdrz", - "subnetGatewayCidr": "habljwttntbirinopwji", - "subnetClientCidr": "kjwplpw", - "subnetManagementCidr": "ympvcnzuzxaqp", - "subnetResourcesCidr": "zvonsvcdfxnqptscgrj", - "subnetHostPoolCidr": "lbvingoqrrpyisciyxpkutppngq", - "vpnASN": 18 - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "ci", - "domainPasswordSecretValue": "bszynzqiocfjgysxchflxoacyxu", - "domainAccountValue": "dtxbmqafruqfvyymbnbf", - "localAccountValue": "aqdjmpotthli", - "localPasswordSecretValue": "p", - "ouPathValue": "vawsfcezygurppkw" - }, - "ipAddress": "xiuiybudtfaxbmefgetsrdbyv" - }, - "enclaveAdministratorsObjectId": "ifbyvgjllx", - "provisioningState": "Succeeded" - }, - "tags": { - "key8540": "cxvlgtldrrhauxdbrgzhwopjrcx" - }, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg", - "name": "y", - "type": "fvdkc", - "systemData": { - "createdBy": "ere", - "createdByType": "User", - "createdAt": "2022-11-07T08:13:51.160Z", - "lastModifiedBy": "akuhj", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-11-07T08:13:51.160Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json deleted file mode 100644 index ebcc0471a83d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2022-10-31-preview", - "subscriptionId": "xpkpadwgfahb", - "resourceGroupName": "rgopenapi", - "communityName": "oymdgjtnnvflxjpfrevwtzkw", - "virtualEnclaveName": "lbk", - "properties": {} - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "zzbnaojcfisgxcpfekgthgdu", - "id": "vxicfg" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/openapi.json deleted file mode 100644 index 2e80f50e68c3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-10-31-preview/openapi.json +++ /dev/null @@ -1,1072 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2022-10-31-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-cadl-generated": [ - { - "emitter": "@azure-tools/cadl-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "Operations" - } - ], - "paths": { - "/providers/Microsoft.Mission/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Operations_List_MaximumSet_Gen": { - "$ref": "./examples/Operations_List_MaximumSet_Gen.json" - }, - "Operations_List_MinimumSet_Gen": { - "$ref": "./examples/Operations_List_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "tags": [ - "Community" - ], - "operationId": "Community_ListBySubscription", - "description": "List communityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Community_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/Community_ListBySubscription_MaximumSet_Gen.json" - }, - "Community_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/Community_ListBySubscription_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/virtualEnclaves": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_ListBySubscription", - "description": "List enclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/communityResource.communityName" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json" - }, - "VirtualEnclave_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "tags": [ - "Community" - ], - "operationId": "Community_ListByResourceGroup", - "description": "List communityResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Community_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/Community_ListByResourceGroup_MaximumSet_Gen.json" - }, - "Community_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/Community_ListByResourceGroup_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "tags": [ - "Community" - ], - "operationId": "Community_Get", - "description": "Get a communityResource", - "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/communityResource.communityName" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get_MaximumSet_Gen": { - "$ref": "./examples/Community_Get_MaximumSet_Gen.json" - }, - "Community_Get_MinimumSet_Gen": { - "$ref": "./examples/Community_Get_MinimumSet_Gen.json" - } - } - }, - "put": { - "tags": [ - "Community" - ], - "operationId": "Community_CreateOrUpdate", - "description": "Create a communityResource", - "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/communityResource.communityName" - }, - { - "name": "resource", - "in": "body", - "required": true, - "description": "Resource create parameters.", - "schema": { - "$ref": "#/definitions/communityResource" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResource" - } - }, - "201": { - "description": "ARM create operation completed successfully.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - }, - "schema": { - "$ref": "#/definitions/communityResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Community_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/Community_CreateOrUpdate_MaximumSet_Gen.json" - }, - "Community_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/Community_CreateOrUpdate_MinimumSet_Gen.json" - } - } - }, - "patch": { - "tags": [ - "Community" - ], - "operationId": "Community_Update", - "description": "Update a communityResource", - "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/communityResource.communityName" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/communityResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update_MaximumSet_Gen": { - "$ref": "./examples/Community_Update_MaximumSet_Gen.json" - }, - "Community_Update_MinimumSet_Gen": { - "$ref": "./examples/Community_Update_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "Community" - ], - "operationId": "Community_Delete", - "description": "Delete a communityResource", - "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/communityResource.communityName" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - } - }, - "204": { - "description": "Resource deleted successfully." - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Community_Delete_MaximumSet_Gen": { - "$ref": "./examples/Community_Delete_MaximumSet_Gen.json" - }, - "Community_Delete_MinimumSet_Gen": { - "$ref": "./examples/Community_Delete_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/virtualEnclaves": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_ListByCommunityResource", - "description": "List enclaveResource resources by CommunityResource", - "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/communityResource.communityName" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "VirtualEnclave_ListByCommunityResource_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListByCommunityResource_MaximumSet_Gen.json" - }, - "VirtualEnclave_ListByCommunityResource_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListByCommunityResource_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Get", - "description": "Get a enclaveResource", - "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/communityResource.communityName" - }, - { - "$ref": "#/parameters/enclaveResource.virtualEnclaveName" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Get_MaximumSet_Gen.json" - }, - "VirtualEnclave_Get_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Get_MinimumSet_Gen.json" - } - } - }, - "put": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_CreateOrUpdate", - "description": "Create a enclaveResource", - "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/communityResource.communityName" - }, - { - "$ref": "#/parameters/enclaveResource.virtualEnclaveName" - }, - { - "name": "resource", - "in": "body", - "required": true, - "description": "Resource create parameters.", - "schema": { - "$ref": "#/definitions/enclaveResource" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResource" - } - }, - "201": { - "description": "ARM create operation completed successfully.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - }, - "schema": { - "$ref": "#/definitions/enclaveResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json" - }, - "VirtualEnclave_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json" - } - } - }, - "patch": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Update", - "description": "Update a enclaveResource", - "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/communityResource.communityName" - }, - { - "$ref": "#/parameters/enclaveResource.virtualEnclaveName" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/enclaveResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Update_MaximumSet_Gen.json" - }, - "VirtualEnclave_Update_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Update_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Delete", - "description": "Delete a enclaveResource", - "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/communityResource.communityName" - }, - { - "$ref": "#/parameters/enclaveResource.virtualEnclaveName" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - } - }, - "204": { - "description": "Resource deleted successfully." - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "VirtualEnclave_Delete_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Delete_MaximumSet_Gen.json" - }, - "VirtualEnclave_Delete_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Delete_MinimumSet_Gen.json" - } - } - } - } - }, - "definitions": { - "communityProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Community Description." - }, - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "items": { - "type": "string" - }, - "x-cadl-name": "string[]", - "description": "Dns Servers." - }, - "provisioningState": { - "$ref": "#/definitions/provisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "description": "Community Resource Properties" - }, - "communityResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/communityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-client-flatten": true - } - }, - "description": "Community Model Resource", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "communityResourceListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/communityResource" - }, - "x-cadl-name": "communityResource[]", - "description": "The communityResource items on this page" - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" - } - }, - "description": "The response of a communityResource list operation.", - "required": [ - "value" - ] - }, - "communityResourceUpdate": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "properties": { - "$ref": "#/definitions/communityResourceUpdateProperties" - } - }, - "description": "The type used for update operations of the communityResource." - }, - "communityResourceUpdateProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Community Description." - }, - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "items": { - "type": "string" - }, - "x-cadl-name": "string[]", - "description": "Dns Servers." - } - }, - "description": "The updatable properties of the communityResource." - }, - "enclaveCore": { - "type": "object", - "properties": { - "enclaveKeyVault": { - "$ref": "#/definitions/enclaveKeyVault", - "description": "Virtual Enclave's centrally shared Key Vault." - }, - "ipAddress": { - "type": "string", - "description": "Ip Address." - } - }, - "description": "Enclave Core properties" - }, - "enclaveKeyVault": { - "type": "object", - "properties": { - "domainNameValue": { - "type": "string", - "description": "Domain Name." - }, - "domainPasswordSecretValue": { - "type": "string", - "description": "Domain Password Secret Value." - }, - "domainAccountValue": { - "type": "string", - "description": "Domain Account Value." - }, - "localAccountValue": { - "type": "string", - "description": "Local Account Value." - }, - "localPasswordSecretValue": { - "type": "string", - "description": "Local Password Secret Value." - }, - "ouPathValue": { - "type": "string", - "description": "Ou Path Value." - } - }, - "description": "Enclave Key Vault Properties" - }, - "enclaveResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/virtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-client-flatten": true - } - }, - "description": "Virtual Enclave Model Resource", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "enclaveResourceListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/enclaveResource" - }, - "x-cadl-name": "enclaveResource[]", - "description": "The enclaveResource items on this page" - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" - } - }, - "description": "The response of a enclaveResource list operation.", - "required": [ - "value" - ] - }, - "enclaveResourceUpdate": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "properties": { - "$ref": "#/definitions/enclaveResourceUpdateProperties" - } - }, - "description": "The type used for update operations of the enclaveResource." - }, - "enclaveResourceUpdateProperties": { - "type": "object", - "properties": { - "enclaveResourcesGroupId": { - "type": "string", - "description": "Virtual Enclave Resource Group Id." - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/enclaveVirtualNetwork", - "description": "Virtual Enclave Virtual Network." - }, - "enclaveCore": { - "$ref": "#/definitions/enclaveCore", - "description": "Virtual Enclave Core." - }, - "enclaveAdministratorsObjectId": { - "type": "string", - "description": "Virtual Enclave Administrators Object Id." - } - }, - "description": "The updatable properties of the enclaveResource." - }, - "enclaveVirtualNetwork": { - "type": "object", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "networkCidr": { - "type": "string", - "description": "Network Address." - }, - "subnetGatewayCidr": { - "type": "string", - "description": "Subnet Gateway Address." - }, - "subnetClientCidr": { - "type": "string", - "description": "Subnet Client Address." - }, - "subnetManagementCidr": { - "type": "string", - "description": "Subnet Management Address." - }, - "subnetResourcesCidr": { - "type": "string", - "description": "Subnet Resources Address." - }, - "subnetHostPoolCidr": { - "type": "string", - "description": "Subnet HostPool Address." - }, - "vpnASN": { - "type": "integer", - "format": "int32", - "description": "VPN asn." - } - }, - "description": "Enclave Virtual Network Properties" - }, - "provisioningState": { - "type": "string", - "description": "Provisioning State Enum", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Unknown", - "Validating", - "Processing", - "Deleting", - "Accepted", - "Completed", - "Deleted" - ], - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - } - }, - "virtualEnclaveProperties": { - "type": "object", - "properties": { - "enclaveResourcesGroupId": { - "type": "string", - "description": "Virtual Enclave Resource Group Id." - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/enclaveVirtualNetwork", - "description": "Virtual Enclave Virtual Network." - }, - "enclaveCore": { - "$ref": "#/definitions/enclaveCore", - "description": "Virtual Enclave Core." - }, - "enclaveAdministratorsObjectId": { - "type": "string", - "description": "Virtual Enclave Administrators Object Id." - }, - "provisioningState": { - "$ref": "#/definitions/provisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "description": "Virtual Enclave Resource properties" - } - }, - "parameters": { - "communityResource.communityName": { - "name": "communityName", - "in": "path", - "required": true, - "description": "The name of the communityResource Resource", - "type": "string", - "x-ms-parameter-location": "method" - }, - "enclaveResource.virtualEnclaveName": { - "name": "virtualEnclaveName", - "in": "path", - "required": true, - "description": "The name of the enclaveResource Resource", - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index 89331d39c306..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "communityName": "yhluvizzmbfup", - "resource": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 7702037efe78..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "communityName": "yhluvizzmbfup", - "resource": { - "properties": {}, - "location": "dossxdnchsvysnzemhjdfn" - } - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq" - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": {}, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MaximumSet_Gen.json deleted file mode 100644 index 61dfa0de0c99..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "communityName": "yhluvizzmbfup" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MinimumSet_Gen.json deleted file mode 100644 index 61dfa0de0c99..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "communityName": "yhluvizzmbfup" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MaximumSet_Gen.json deleted file mode 100644 index 8352edb6899c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "communityName": "yhluvizzmbfup" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MinimumSet_Gen.json deleted file mode 100644 index 656fb8e92a66..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "communityName": "yhluvizzmbfup" - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index 70be4a74cf2f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - ], - "nextLink": "auufhovgogxtebwbqtfwaneda" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index d239567e77a9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json deleted file mode 100644 index 79cacdf3aa70..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - ], - "nextLink": "auufhovgogxtebwbqtfwaneda" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index d0ce5307f9e5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": {}, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MaximumSet_Gen.json deleted file mode 100644 index 1ef6ca9e1358..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "communityName": "yhluvizzmbfup", - "properties": { - "tags": { - "key5739": "btvqamilclgwciclldg" - }, - "properties": { - "description": "gmjqjeufvstwrddj", - "addressSpace": "ojmlkprjjypllugapcvtpx", - "dnsServers": [ - "dhdtppacnhczieumhwrlhwi" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "dhdtppacnhczieumhwrlhwi" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MinimumSet_Gen.json deleted file mode 100644 index 53a9e798d966..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Community_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "communityName": "yhluvizzmbfup", - "properties": {} - }, - "responses": { - "200": { - "body": { - "properties": {}, - "location": "dossxdnchsvysnzemhjdfn" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MaximumSet_Gen.json deleted file mode 100644 index eceb822f84d5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MaximumSet_Gen.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2022-12-07-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "snqnikjexvznpzxqhtm", - "isDataAction": true, - "display": { - "provider": "zaaktlcylagzjyttsuudhatlene", - "resource": "lapyjvtnzjjoiceny", - "operation": "divuphylvmorsbzcaxzyjzjxjxxs", - "description": "orxidf" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "unctjgcyqizojmkwrzsbmbwzonjm" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MinimumSet_Gen.json deleted file mode 100644 index 3bc8ecfb1c9f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/Operations_List_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2022-12-07-preview" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index ae5b4475bfd7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "kphbocqnj", - "resource": { - "properties": { - "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", - "enclaveVirtualNetwork": { - "networkSize": "kzhxzsjwpqluuju" - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", - "domainPasswordSecretValue": "idq", - "domainAccountValue": "ruacqgsbmdywtnzm", - "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", - "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", - "ouPathValue": "hjreuedwlviceiyqfmaozh" - }, - "ipAddress": "frhymq" - }, - "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", - "provisioningState": "Succeeded", - "communityResourceId": "ezeogdvdx", - "communityResource": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn" - } - }, - "tags": { - "key4004": "btlbevktboqopgvktph" - }, - "location": "gwfmmsxxebrxseyfexqe" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", - "enclaveVirtualNetwork": { - "networkSize": "kzhxzsjwpqluuju" - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", - "domainPasswordSecretValue": "idq", - "domainAccountValue": "ruacqgsbmdywtnzm", - "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", - "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", - "ouPathValue": "hjreuedwlviceiyqfmaozh" - }, - "ipAddress": "frhymq" - }, - "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", - "provisioningState": "Succeeded", - "communityResourceId": "ezeogdvdx", - "communityResource": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - }, - "tags": { - "key4004": "btlbevktboqopgvktph" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "jonbdhvjijwnbizxrtmbdjhoikxl", - "name": "zmyamtelnyxmurkolx", - "type": "rkhofkpmxmk", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", - "enclaveVirtualNetwork": { - "networkSize": "kzhxzsjwpqluuju" - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", - "domainPasswordSecretValue": "idq", - "domainAccountValue": "ruacqgsbmdywtnzm", - "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", - "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", - "ouPathValue": "hjreuedwlviceiyqfmaozh" - }, - "ipAddress": "frhymq" - }, - "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", - "provisioningState": "Succeeded", - "communityResourceId": "ezeogdvdx", - "communityResource": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - }, - "tags": { - "key4004": "btlbevktboqopgvktph" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "jonbdhvjijwnbizxrtmbdjhoikxl", - "name": "zmyamtelnyxmurkolx", - "type": "rkhofkpmxmk", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 6d8b38228c97..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "kphbocqnj", - "resource": { - "properties": { - "communityResourceId": "ezeogdvdx" - }, - "location": "gwfmmsxxebrxseyfexqe" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "ezeogdvdx" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "sflyvgaacgtwayrbgogq" - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "ezeogdvdx" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "sflyvgaacgtwayrbgogq" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json deleted file mode 100644 index 8a702a65fc9c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "kphbocqnj" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json deleted file mode 100644 index 8a702a65fc9c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "kphbocqnj" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json deleted file mode 100644 index 7634e97f9a04..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "kphbocqnj" - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", - "enclaveVirtualNetwork": { - "networkSize": "kzhxzsjwpqluuju" - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", - "domainPasswordSecretValue": "idq", - "domainAccountValue": "ruacqgsbmdywtnzm", - "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", - "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", - "ouPathValue": "hjreuedwlviceiyqfmaozh" - }, - "ipAddress": "frhymq" - }, - "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", - "provisioningState": "Succeeded", - "communityResourceId": "ezeogdvdx", - "communityResource": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - }, - "tags": { - "key4004": "btlbevktboqopgvktph" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "jonbdhvjijwnbizxrtmbdjhoikxl", - "name": "zmyamtelnyxmurkolx", - "type": "rkhofkpmxmk", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json deleted file mode 100644 index ae5699196323..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "kphbocqnj" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "ezeogdvdx" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "sflyvgaacgtwayrbgogq" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index b7511c9a825a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", - "enclaveVirtualNetwork": { - "networkSize": "kzhxzsjwpqluuju" - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", - "domainPasswordSecretValue": "idq", - "domainAccountValue": "ruacqgsbmdywtnzm", - "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", - "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", - "ouPathValue": "hjreuedwlviceiyqfmaozh" - }, - "ipAddress": "frhymq" - }, - "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", - "provisioningState": "Succeeded", - "communityResourceId": "ezeogdvdx", - "communityResource": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - }, - "tags": { - "key4004": "btlbevktboqopgvktph" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "jonbdhvjijwnbizxrtmbdjhoikxl", - "name": "zmyamtelnyxmurkolx", - "type": "rkhofkpmxmk", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - ], - "nextLink": "ahficpjbiilqxfixeysdwqz" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index fe50fdeacefb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "ezeogdvdx" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "sflyvgaacgtwayrbgogq" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json deleted file mode 100644 index 68cb321824dc..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", - "enclaveVirtualNetwork": { - "networkSize": "kzhxzsjwpqluuju" - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", - "domainPasswordSecretValue": "idq", - "domainAccountValue": "ruacqgsbmdywtnzm", - "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", - "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", - "ouPathValue": "hjreuedwlviceiyqfmaozh" - }, - "ipAddress": "frhymq" - }, - "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", - "provisioningState": "Succeeded", - "communityResourceId": "ezeogdvdx", - "communityResource": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - }, - "tags": { - "key4004": "btlbevktboqopgvktph" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "jonbdhvjijwnbizxrtmbdjhoikxl", - "name": "zmyamtelnyxmurkolx", - "type": "rkhofkpmxmk", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - ], - "nextLink": "ahficpjbiilqxfixeysdwqz" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index 3e58f1701cd1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "ezeogdvdx" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "sflyvgaacgtwayrbgogq" - } - ] - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json deleted file mode 100644 index c79ff0a147e1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "kphbocqnj", - "properties": { - "tags": { - "key6527": "ykcjureqkysvrwgbthypszbaicdf" - }, - "properties": { - "enclaveResourcesGroupId": "yvasiejhnrhvtzhhyc", - "enclaveVirtualNetwork": { - "networkSize": "kzhxzsjwpqluuju" - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", - "domainPasswordSecretValue": "idq", - "domainAccountValue": "ruacqgsbmdywtnzm", - "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", - "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", - "ouPathValue": "hjreuedwlviceiyqfmaozh" - }, - "ipAddress": "frhymq" - }, - "enclaveAdministratorsObjectId": "qgapqvowgqj", - "communityResourceId": "zbrguztiqhzmq" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "enclaveResourcesGroupId": "gqqcoavfvnjgeuqxmcjfqococfwsk", - "enclaveVirtualNetwork": { - "networkSize": "kzhxzsjwpqluuju" - }, - "enclaveCore": { - "enclaveKeyVault": { - "domainNameValue": "htqtlcrlgdolqevnvojtksumlmas", - "domainPasswordSecretValue": "idq", - "domainAccountValue": "ruacqgsbmdywtnzm", - "localAccountValue": "imrxsamcwrwfxuoxfixqubesfyhchc", - "localPasswordSecretValue": "faskxiqmxqkokvgozzhhwd", - "ouPathValue": "hjreuedwlviceiyqfmaozh" - }, - "ipAddress": "frhymq" - }, - "enclaveAdministratorsObjectId": "gcthlxffyhupmnkgo", - "provisioningState": "Succeeded", - "communityResourceId": "ezeogdvdx", - "communityResource": { - "properties": { - "description": "kgjjbonbwcuklp", - "addressSpace": "peiafezi", - "dnsServers": [ - "kvxuvbtfaqakpb" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "key606": "hqhl" - }, - "location": "dossxdnchsvysnzemhjdfn", - "id": "sflyvgaacgtwayrbgogq", - "name": "lamerv", - "type": "oiwiclmm", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - }, - "tags": { - "key4004": "btlbevktboqopgvktph" - }, - "location": "gwfmmsxxebrxseyfexqe", - "id": "jonbdhvjijwnbizxrtmbdjhoikxl", - "name": "zmyamtelnyxmurkolx", - "type": "rkhofkpmxmk", - "systemData": { - "createdBy": "szydthmaicwohipmulobuspvv", - "createdByType": "User", - "createdAt": "2022-12-13T00:36:18.017Z", - "lastModifiedBy": "lkyhnvgr", - "lastModifiedByType": "User", - "lastModifiedAt": "2022-12-13T00:36:18.017Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json deleted file mode 100644 index 5a6d9cc80871..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/examples/VirtualEnclave_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2022-12-07-preview", - "subscriptionId": "CB35EA95-3B95-4A33-B23F-BEF26DF87F3C", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "kphbocqnj", - "properties": {} - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "ezeogdvdx" - }, - "location": "gwfmmsxxebrxseyfexqe" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/openapi.json deleted file mode 100644 index c6e9b142f2e4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2022-12-07-preview/openapi.json +++ /dev/null @@ -1,1041 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2022-12-07-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-cadl-generated": [ - { - "emitter": "@azure-tools/cadl-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "Operations" - } - ], - "paths": { - "/providers/Microsoft.Mission/operations": { - "get": { - "tags": [ - "Operations" - ], - "operationId": "Operations_List", - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Operations_List_MaximumSet_Gen": { - "$ref": "./examples/Operations_List_MaximumSet_Gen.json" - }, - "Operations_List_MinimumSet_Gen": { - "$ref": "./examples/Operations_List_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "tags": [ - "Community" - ], - "operationId": "Community_ListBySubscription", - "description": "List communityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Community_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/Community_ListBySubscription_MaximumSet_Gen.json" - }, - "Community_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/Community_ListBySubscription_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_ListBySubscription", - "description": "List enclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListBySubscription_MaximumSet_Gen.json" - }, - "VirtualEnclave_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListBySubscription_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "tags": [ - "Community" - ], - "operationId": "Community_ListByResourceGroup", - "description": "List communityResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Community_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/Community_ListByResourceGroup_MaximumSet_Gen.json" - }, - "Community_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/Community_ListByResourceGroup_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "tags": [ - "Community" - ], - "operationId": "Community_Get", - "description": "Get a communityResource", - "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/communityResource.communityName" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get_MaximumSet_Gen": { - "$ref": "./examples/Community_Get_MaximumSet_Gen.json" - }, - "Community_Get_MinimumSet_Gen": { - "$ref": "./examples/Community_Get_MinimumSet_Gen.json" - } - } - }, - "put": { - "tags": [ - "Community" - ], - "operationId": "Community_CreateOrUpdate", - "description": "Create a communityResource", - "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/communityResource.communityName" - }, - { - "name": "resource", - "in": "body", - "required": true, - "description": "Resource create parameters.", - "schema": { - "$ref": "#/definitions/communityResource" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResource" - } - }, - "201": { - "description": "ARM create operation completed successfully.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - }, - "schema": { - "$ref": "#/definitions/communityResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Community_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/Community_CreateOrUpdate_MaximumSet_Gen.json" - }, - "Community_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/Community_CreateOrUpdate_MinimumSet_Gen.json" - } - } - }, - "patch": { - "tags": [ - "Community" - ], - "operationId": "Community_Update", - "description": "Update a communityResource", - "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/communityResource.communityName" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/communityResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/communityResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update_MaximumSet_Gen": { - "$ref": "./examples/Community_Update_MaximumSet_Gen.json" - }, - "Community_Update_MinimumSet_Gen": { - "$ref": "./examples/Community_Update_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "Community" - ], - "operationId": "Community_Delete", - "description": "Delete a communityResource", - "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/communityResource.communityName" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - } - }, - "204": { - "description": "Resource deleted successfully." - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Community_Delete_MaximumSet_Gen": { - "$ref": "./examples/Community_Delete_MaximumSet_Gen.json" - }, - "Community_Delete_MinimumSet_Gen": { - "$ref": "./examples/Community_Delete_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_ListByResourceGroup", - "description": "List enclaveResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResourceListResult" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup_MaximumSet_Gen.json" - }, - "VirtualEnclave_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup_MinimumSet_Gen.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Get", - "description": "Get a enclaveResource", - "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/enclaveResource.virtualEnclaveName" - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Get_MaximumSet_Gen.json" - }, - "VirtualEnclave_Get_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Get_MinimumSet_Gen.json" - } - } - }, - "put": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_CreateOrUpdate", - "description": "Create a enclaveResource", - "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/enclaveResource.virtualEnclaveName" - }, - { - "name": "resource", - "in": "body", - "required": true, - "description": "Resource create parameters.", - "schema": { - "$ref": "#/definitions/enclaveResource" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResource" - } - }, - "201": { - "description": "ARM create operation completed successfully.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - }, - "schema": { - "$ref": "#/definitions/enclaveResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MaximumSet_Gen.json" - }, - "VirtualEnclave_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate_MinimumSet_Gen.json" - } - } - }, - "patch": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Update", - "description": "Update a enclaveResource", - "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/enclaveResource.virtualEnclaveName" - }, - { - "name": "properties", - "in": "body", - "required": true, - "description": "The resource properties to be updated.", - "schema": { - "$ref": "#/definitions/enclaveResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "schema": { - "$ref": "#/definitions/enclaveResource" - } - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Update_MaximumSet_Gen.json" - }, - "VirtualEnclave_Update_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Update_MinimumSet_Gen.json" - } - } - }, - "delete": { - "tags": [ - "VirtualEnclave" - ], - "operationId": "VirtualEnclave_Delete", - "description": "Delete a enclaveResource", - "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/enclaveResource.virtualEnclaveName" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Retry-After": { - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": "integer", - "format": "int32" - } - } - }, - "204": { - "description": "Resource deleted successfully." - }, - "default": { - "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "VirtualEnclave_Delete_MaximumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Delete_MaximumSet_Gen.json" - }, - "VirtualEnclave_Delete_MinimumSet_Gen": { - "$ref": "./examples/VirtualEnclave_Delete_MinimumSet_Gen.json" - } - } - } - } - }, - "definitions": { - "communityProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Community Description." - }, - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "items": { - "type": "string" - }, - "x-cadl-name": "string[]", - "description": "Dns Servers." - }, - "provisioningState": { - "$ref": "#/definitions/provisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "description": "Community Resource Properties" - }, - "communityResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/communityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-client-flatten": true - } - }, - "description": "Community Model Resource", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "communityResourceListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/communityResource" - }, - "x-cadl-name": "communityResource[]", - "description": "The communityResource items on this page" - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" - } - }, - "description": "The response of a communityResource list operation.", - "required": [ - "value" - ] - }, - "communityResourceUpdate": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "properties": { - "$ref": "#/definitions/communityResourceUpdateProperties" - } - }, - "description": "The type used for update operations of the communityResource." - }, - "communityResourceUpdateProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Community Description." - }, - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "items": { - "type": "string" - }, - "x-cadl-name": "string[]", - "description": "Dns Servers." - } - }, - "description": "The updatable properties of the communityResource." - }, - "enclaveCore": { - "type": "object", - "properties": { - "enclaveKeyVault": { - "$ref": "#/definitions/enclaveKeyVault", - "description": "Virtual Enclave's centrally shared Key Vault." - }, - "ipAddress": { - "type": "string", - "description": "Ip Address." - } - }, - "description": "Enclave Core properties" - }, - "enclaveKeyVault": { - "type": "object", - "properties": { - "domainNameValue": { - "type": "string", - "description": "Domain Name." - }, - "domainPasswordSecretValue": { - "type": "string", - "description": "Domain Password Secret Value." - }, - "domainAccountValue": { - "type": "string", - "description": "Domain Account Value." - }, - "localAccountValue": { - "type": "string", - "description": "Local Account Value." - }, - "localPasswordSecretValue": { - "type": "string", - "description": "Local Password Secret Value." - }, - "ouPathValue": { - "type": "string", - "description": "Ou Path Value." - } - }, - "description": "Enclave Key Vault Properties" - }, - "enclaveResource": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/virtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-mutability": [ - "read", - "create" - ], - "x-ms-client-flatten": true - } - }, - "description": "Virtual Enclave Model Resource", - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "enclaveResourceListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/enclaveResource" - }, - "x-cadl-name": "enclaveResource[]", - "description": "The enclaveResource items on this page" - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of items" - } - }, - "description": "The response of a enclaveResource list operation.", - "required": [ - "value" - ] - }, - "enclaveResourceUpdate": { - "type": "object", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "properties": { - "$ref": "#/definitions/enclaveResourceUpdateProperties" - } - }, - "description": "The type used for update operations of the enclaveResource." - }, - "enclaveResourceUpdateProperties": { - "type": "object", - "properties": { - "enclaveResourcesGroupId": { - "type": "string", - "description": "Virtual Enclave Resource Group Id." - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/enclaveVirtualNetwork", - "description": "Virtual Enclave Virtual Network." - }, - "enclaveCore": { - "$ref": "#/definitions/enclaveCore", - "description": "Virtual Enclave Core." - }, - "enclaveAdministratorsObjectId": { - "type": "string", - "description": "Virtual Enclave Administrators Object Id." - }, - "communityResourceId": { - "type": "string", - "description": "Community Resource Id." - } - }, - "description": "The updatable properties of the enclaveResource." - }, - "enclaveVirtualNetwork": { - "type": "object", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - } - }, - "description": "Enclave Virtual Network Properties" - }, - "provisioningState": { - "type": "string", - "description": "Provisioning State Enum", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Unknown", - "Validating", - "Processing", - "Deleting", - "Accepted", - "Completed", - "Deleted" - ], - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - } - }, - "virtualEnclaveProperties": { - "type": "object", - "properties": { - "enclaveResourcesGroupId": { - "type": "string", - "description": "Virtual Enclave Resource Group Id." - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/enclaveVirtualNetwork", - "description": "Virtual Enclave Virtual Network." - }, - "enclaveCore": { - "$ref": "#/definitions/enclaveCore", - "description": "Virtual Enclave Core." - }, - "enclaveAdministratorsObjectId": { - "type": "string", - "description": "Virtual Enclave Administrators Object Id." - }, - "provisioningState": { - "$ref": "#/definitions/provisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "communityResourceId": { - "type": "string", - "description": "Community Resource Id." - }, - "communityResource": { - "$ref": "#/definitions/communityResource", - "description": "Community Resource Object.", - "readOnly": true - } - }, - "description": "Virtual Enclave Resource properties", - "required": [ - "communityResourceId" - ] - } - }, - "parameters": { - "communityResource.communityName": { - "name": "communityName", - "in": "path", - "required": true, - "description": "The name of the communityResource Resource", - "type": "string", - "x-ms-parameter-location": "method" - }, - "enclaveResource.virtualEnclaveName": { - "name": "virtualEnclaveName", - "in": "path", - "required": true, - "description": "The name of the enclaveResource Resource", - "type": "string", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index ac34a7d69d25..61ac5b07a0bf 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -95,36 +95,6 @@ input-file: ``` --- -### Tag: package-2022-12-07-preview - -These settings apply only when `--tag=package-2022-12-07-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-12-07-preview' -input-file: - - Microsoft.Mission/preview/2022-12-07-preview/openapi.json -``` ---- - -### Tag: package-2022-10-31-preview - -These settings apply only when `--tag=package-2022-10-31-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-10-31-preview' -input-file: - - Microsoft.Mission/preview/2022-10-31-preview/openapi.json -``` ---- - -### Tag: package-2022-08-02-preview - -These settings apply only when `--tag=package-2022-08-02-preview` is specified on the command line. - -```yaml $(tag) == 'package-2022-08-02-preview' -input-file: - - Microsoft.Mission/preview/2022-08-02-preview/openapi.json -``` ---- - # Code Generation ## Swagger to SDK From 09e80d15cf7bc597d951b8c0836d671902560fd5 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 13 Feb 2025 09:05:19 -0600 Subject: [PATCH 11/89] Delete versions prior 2024-06-01-preview --- .../Catalog_CreateOrUpdate.json | 106 - .../2023-02-01-preview/Catalog_Delete.json | 19 - .../2023-02-01-preview/Catalog_Get.json | 50 - .../Catalog_ListByResourceGroup.json | 54 - .../Catalog_ListBySubscription.json | 53 - .../2023-02-01-preview/Catalog_Update.json | 78 - .../Community_CreateOrUpdate.json | 143 - .../2023-02-01-preview/Community_Delete.json | 19 - .../2023-02-01-preview/Community_Get.json | 60 - .../Community_ListByResourceGroup.json | 64 - .../Community_ListBySubscription.json | 63 - .../2023-02-01-preview/Community_Update.json | 96 - .../Endpoint_CreateOrUpdate.json | 95 - .../2023-02-01-preview/Endpoint_Delete.json | 20 - .../2023-02-01-preview/Endpoint_Get.json | 44 - .../Endpoint_ListByEnclaveResource.json | 48 - .../Endpoint_ListBySubscription.json | 47 - .../2023-02-01-preview/Endpoint_Update.json | 65 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../ExternalConnections_Delete.json | 19 - .../ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../InternalConnections_Delete.json | 19 - .../InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../InternalConnections_Update.json | 70 - .../2023-02-01-preview/Operations_List.json | 28 - .../VirtualEnclave_CreateOrUpdate.json | 103 - .../VirtualEnclave_Delete.json | 19 - .../VirtualEnclave_Get.json | 48 - .../VirtualEnclave_ListByResourceGroup.json | 52 - .../VirtualEnclave_ListBySubscription.json | 51 - .../VirtualEnclave_Update.json | 74 - .../Workload_CreateOrUpdate.json | 83 - .../2023-02-01-preview/Workload_Delete.json | 20 - .../2023-02-01-preview/Workload_Get.json | 40 - .../Workload_ListByEnclaveResource.json | 44 - .../Workload_ListBySubscription.json | 43 - .../2023-02-01-preview/Workload_Update.json | 57 - .../Catalog_CreateOrUpdate.json | 106 - .../2023-08-01-preview/Catalog_Delete.json | 25 - .../2023-08-01-preview/Catalog_Get.json | 50 - .../Catalog_ListByResourceGroup.json | 54 - .../Catalog_ListBySubscription.json | 53 - .../2023-08-01-preview/Catalog_Update.json | 78 - .../CommunityEndpoints_CreateOrUpdate.json | 107 - .../CommunityEndpoints_Delete.json | 26 - .../CommunityEndpoints_Get.json | 48 - ...nityEndpoints_ListByCommunityResource.json | 53 - ...CommunityEndpoints_ListBySubscription.json | 52 - .../CommunityEndpoints_Update.json | 73 - .../Community_CreateOrUpdate.json | 88 - .../2023-08-01-preview/Community_Delete.json | 25 - .../2023-08-01-preview/Community_Get.json | 41 - .../Community_ListByResourceGroup.json | 45 - .../Community_ListBySubscription.json | 44 - .../2023-08-01-preview/Community_Update.json | 60 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../EnclaveConnection_Delete.json | 25 - .../EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - .../EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 92 - .../EnclaveEndpoints_Delete.json | 26 - .../EnclaveEndpoints_Get.json | 43 - ...nclaveEndpoints_ListByEnclaveResource.json | 47 - .../EnclaveEndpoints_ListBySubscription.json | 46 - .../EnclaveEndpoints_Update.json | 63 - .../Endpoint_CreateOrUpdate.json | 92 - .../2023-08-01-preview/Endpoint_Delete.json | 26 - .../2023-08-01-preview/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../Endpoint_ListBySubscription.json | 46 - .../2023-08-01-preview/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../ExternalConnections_Delete.json | 25 - .../ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../InternalConnections_Delete.json | 25 - .../InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../InternalConnections_Update.json | 70 - .../2023-08-01-preview/Operations_List.json | 28 - .../TransitHub_CreateOrUpdate.json | 98 - .../2023-08-01-preview/TransitHub_Delete.json | 26 - .../2023-08-01-preview/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../2023-08-01-preview/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 100 - .../VirtualEnclave_Delete.json | 25 - .../VirtualEnclave_Get.json | 47 - .../VirtualEnclave_ListByResourceGroup.json | 51 - .../VirtualEnclave_ListBySubscription.json | 50 - ...ave_PostCheckAddressSpaceAvailability.json | 24 - .../VirtualEnclave_Update.json | 72 - .../Workload_CreateOrUpdate.json | 77 - .../2023-08-01-preview/Workload_Delete.json | 26 - .../2023-08-01-preview/Workload_Get.json | 38 - .../Workload_ListByEnclaveResource.json | 42 - .../Workload_ListBySubscription.json | 41 - .../2023-08-01-preview/Workload_Update.json | 53 - .../Catalog_CreateOrUpdate.json | 106 - .../2023-11-01-preview/Catalog_Delete.json | 25 - .../2023-11-01-preview/Catalog_Get.json | 50 - .../Catalog_ListByResourceGroup.json | 54 - .../Catalog_ListBySubscription.json | 53 - .../2023-11-01-preview/Catalog_Update.json | 78 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../CommunityEndpoints_Delete.json | 26 - .../CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../CommunityEndpoints_Update.json | 69 - .../Community_CreateOrUpdate.json | 88 - .../2023-11-01-preview/Community_Delete.json | 25 - .../2023-11-01-preview/Community_Get.json | 41 - .../Community_ListByResourceGroup.json | 45 - .../Community_ListBySubscription.json | 44 - .../2023-11-01-preview/Community_Update.json | 60 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../EnclaveConnection_Delete.json | 25 - .../EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - .../EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../EnclaveEndpoints_Delete.json | 26 - .../EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../EnclaveEndpoints_Update.json | 67 - .../Endpoint_CreateOrUpdate.json | 92 - .../2023-11-01-preview/Endpoint_Delete.json | 26 - .../2023-11-01-preview/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../Endpoint_ListBySubscription.json | 46 - .../2023-11-01-preview/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../ExternalConnections_Delete.json | 25 - .../ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../InternalConnections_Delete.json | 25 - .../InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../InternalConnections_Update.json | 70 - .../2023-11-01-preview/Operations_List.json | 28 - .../TransitHub_CreateOrUpdate.json | 98 - .../2023-11-01-preview/TransitHub_Delete.json | 26 - .../2023-11-01-preview/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../2023-11-01-preview/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 100 - .../VirtualEnclave_Delete.json | 25 - .../VirtualEnclave_Get.json | 47 - .../VirtualEnclave_ListByResourceGroup.json | 51 - .../VirtualEnclave_ListBySubscription.json | 50 - ...ave_PostCheckAddressSpaceAvailability.json | 24 - .../VirtualEnclave_Update.json | 72 - .../Workload_CreateOrUpdate.json | 80 - .../2023-11-01-preview/Workload_Delete.json | 26 - .../2023-11-01-preview/Workload_Get.json | 39 - .../Workload_ListByEnclaveResource.json | 43 - .../Workload_ListBySubscription.json | 42 - .../2023-11-01-preview/Workload_Update.json | 55 - .../Catalog_CreateOrUpdate.json | 106 - .../2024-01-01-preview/Catalog_Delete.json | 25 - .../2024-01-01-preview/Catalog_Get.json | 50 - .../Catalog_ListByResourceGroup.json | 54 - .../Catalog_ListBySubscription.json | 53 - .../2024-01-01-preview/Catalog_Update.json | 78 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../CommunityEndpoints_Delete.json | 26 - .../CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../CommunityEndpoints_Update.json | 69 - .../Community_CreateOrUpdate.json | 88 - .../2024-01-01-preview/Community_Delete.json | 25 - .../2024-01-01-preview/Community_Get.json | 41 - .../Community_ListByResourceGroup.json | 45 - .../Community_ListBySubscription.json | 44 - .../2024-01-01-preview/Community_Update.json | 60 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../EnclaveConnection_Delete.json | 25 - .../EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - .../EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../EnclaveEndpoints_Delete.json | 26 - .../EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../EnclaveEndpoints_Update.json | 67 - .../Endpoint_CreateOrUpdate.json | 92 - .../2024-01-01-preview/Endpoint_Delete.json | 26 - .../2024-01-01-preview/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../Endpoint_ListBySubscription.json | 46 - .../2024-01-01-preview/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../ExternalConnections_Delete.json | 25 - .../ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../InternalConnections_Delete.json | 25 - .../InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../InternalConnections_Update.json | 70 - .../2024-01-01-preview/Operations_List.json | 28 - .../TransitHub_CreateOrUpdate.json | 98 - .../2024-01-01-preview/TransitHub_Delete.json | 26 - .../2024-01-01-preview/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../2024-01-01-preview/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 112 - .../VirtualEnclave_Delete.json | 25 - .../VirtualEnclave_Get.json | 51 - .../VirtualEnclave_ListByResourceGroup.json | 55 - .../VirtualEnclave_ListBySubscription.json | 54 - ...ave_PostCheckAddressSpaceAvailability.json | 24 - .../VirtualEnclave_Update.json | 80 - .../Workload_CreateOrUpdate.json | 80 - .../2024-01-01-preview/Workload_Delete.json | 26 - .../2024-01-01-preview/Workload_Get.json | 39 - .../Workload_ListByEnclaveResource.json | 43 - .../Workload_ListBySubscription.json | 42 - .../2024-01-01-preview/Workload_Update.json | 55 - .../mission/Mission.Management/model.tsp | 18 +- .../resourcetypes/community/community.tsp | 12 +- .../communityEndpoint/communityEndpoint.tsp | 8 +- .../enclaveEndpoint/enclaveEndpoint.tsp | 8 +- .../resourcetypes/endpoint/endpoint.tsp | 6 +- .../internalConnection/internalConnection.tsp | 8 +- .../virtualEnclave/virtualenclave.tsp | 16 +- .../resourcetypes/workload/workload.tsp | 8 +- .../mission/Mission.Management/version.tsp | 20 - .../examples/Catalog_CreateOrUpdate.json | 106 - .../examples/Catalog_Delete.json | 19 - .../examples/Catalog_Get.json | 50 - .../examples/Catalog_ListByResourceGroup.json | 54 - .../examples/Catalog_ListBySubscription.json | 53 - .../examples/Catalog_Update.json | 78 - .../examples/Community_CreateOrUpdate.json | 143 - .../examples/Community_Delete.json | 19 - .../examples/Community_Get.json | 60 - .../Community_ListByResourceGroup.json | 64 - .../Community_ListBySubscription.json | 63 - .../examples/Community_Update.json | 96 - .../examples/Endpoint_CreateOrUpdate.json | 95 - .../examples/Endpoint_Delete.json | 20 - .../examples/Endpoint_Get.json | 44 - .../Endpoint_ListByEnclaveResource.json | 48 - .../examples/Endpoint_ListBySubscription.json | 47 - .../examples/Endpoint_Update.json | 65 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../examples/ExternalConnections_Delete.json | 19 - .../examples/ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../examples/ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../examples/InternalConnections_Delete.json | 19 - .../examples/InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../examples/InternalConnections_Update.json | 70 - .../examples/Operations_List.json | 28 - .../VirtualEnclave_CreateOrUpdate.json | 103 - .../examples/VirtualEnclave_Delete.json | 19 - .../examples/VirtualEnclave_Get.json | 48 - .../VirtualEnclave_ListByResourceGroup.json | 52 - .../VirtualEnclave_ListBySubscription.json | 51 - .../examples/VirtualEnclave_Update.json | 74 - .../examples/Workload_CreateOrUpdate.json | 83 - .../examples/Workload_Delete.json | 20 - .../examples/Workload_Get.json | 40 - .../Workload_ListByEnclaveResource.json | 44 - .../examples/Workload_ListBySubscription.json | 43 - .../examples/Workload_Update.json | 57 - .../preview/2023-02-01-preview/openapi.json | 3788 ---------- .../examples/Catalog_CreateOrUpdate.json | 106 - .../examples/Catalog_Delete.json | 25 - .../examples/Catalog_Get.json | 50 - .../examples/Catalog_ListByResourceGroup.json | 54 - .../examples/Catalog_ListBySubscription.json | 53 - .../examples/Catalog_Update.json | 78 - .../CommunityEndpoints_CreateOrUpdate.json | 107 - .../examples/CommunityEndpoints_Delete.json | 26 - .../examples/CommunityEndpoints_Get.json | 48 - ...nityEndpoints_ListByCommunityResource.json | 53 - ...CommunityEndpoints_ListBySubscription.json | 52 - .../examples/CommunityEndpoints_Update.json | 73 - .../examples/Community_CreateOrUpdate.json | 88 - .../examples/Community_Delete.json | 25 - .../examples/Community_Get.json | 41 - .../Community_ListByResourceGroup.json | 45 - .../Community_ListBySubscription.json | 44 - .../examples/Community_Update.json | 60 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../examples/EnclaveConnection_Delete.json | 25 - .../examples/EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - .../examples/EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 92 - .../examples/EnclaveEndpoints_Delete.json | 26 - .../examples/EnclaveEndpoints_Get.json | 43 - ...nclaveEndpoints_ListByEnclaveResource.json | 47 - .../EnclaveEndpoints_ListBySubscription.json | 46 - .../examples/EnclaveEndpoints_Update.json | 63 - .../examples/Endpoint_CreateOrUpdate.json | 92 - .../examples/Endpoint_Delete.json | 26 - .../examples/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../examples/Endpoint_ListBySubscription.json | 46 - .../examples/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../examples/ExternalConnections_Delete.json | 25 - .../examples/ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../examples/ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../examples/InternalConnections_Delete.json | 25 - .../examples/InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../examples/InternalConnections_Update.json | 70 - .../examples/Operations_List.json | 28 - .../examples/TransitHub_CreateOrUpdate.json | 98 - .../examples/TransitHub_Delete.json | 26 - .../examples/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../examples/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 100 - .../examples/VirtualEnclave_Delete.json | 25 - .../examples/VirtualEnclave_Get.json | 47 - .../VirtualEnclave_ListByResourceGroup.json | 51 - .../VirtualEnclave_ListBySubscription.json | 50 - ...ave_PostCheckAddressSpaceAvailability.json | 24 - .../examples/VirtualEnclave_Update.json | 72 - .../examples/Workload_CreateOrUpdate.json | 77 - .../examples/Workload_Delete.json | 26 - .../examples/Workload_Get.json | 38 - .../Workload_ListByEnclaveResource.json | 42 - .../examples/Workload_ListBySubscription.json | 41 - .../examples/Workload_Update.json | 53 - .../preview/2023-08-01-preview/openapi.json | 6176 ---------------- .../examples/Catalog_CreateOrUpdate.json | 106 - .../examples/Catalog_Delete.json | 25 - .../examples/Catalog_Get.json | 50 - .../examples/Catalog_ListByResourceGroup.json | 54 - .../examples/Catalog_ListBySubscription.json | 53 - .../examples/Catalog_Update.json | 78 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../examples/CommunityEndpoints_Delete.json | 26 - .../examples/CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../examples/CommunityEndpoints_Update.json | 69 - .../examples/Community_CreateOrUpdate.json | 88 - .../examples/Community_Delete.json | 25 - .../examples/Community_Get.json | 41 - .../Community_ListByResourceGroup.json | 45 - .../Community_ListBySubscription.json | 44 - .../examples/Community_Update.json | 60 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../examples/EnclaveConnection_Delete.json | 25 - .../examples/EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - .../examples/EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../examples/EnclaveEndpoints_Delete.json | 26 - .../examples/EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../examples/EnclaveEndpoints_Update.json | 67 - .../examples/Endpoint_CreateOrUpdate.json | 92 - .../examples/Endpoint_Delete.json | 26 - .../examples/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../examples/Endpoint_ListBySubscription.json | 46 - .../examples/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../examples/ExternalConnections_Delete.json | 25 - .../examples/ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../examples/ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../examples/InternalConnections_Delete.json | 25 - .../examples/InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../examples/InternalConnections_Update.json | 70 - .../examples/Operations_List.json | 28 - .../examples/TransitHub_CreateOrUpdate.json | 98 - .../examples/TransitHub_Delete.json | 26 - .../examples/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../examples/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 100 - .../examples/VirtualEnclave_Delete.json | 25 - .../examples/VirtualEnclave_Get.json | 47 - .../VirtualEnclave_ListByResourceGroup.json | 51 - .../VirtualEnclave_ListBySubscription.json | 50 - ...ave_PostCheckAddressSpaceAvailability.json | 24 - .../examples/VirtualEnclave_Update.json | 72 - .../examples/Workload_CreateOrUpdate.json | 80 - .../examples/Workload_Delete.json | 26 - .../examples/Workload_Get.json | 39 - .../Workload_ListByEnclaveResource.json | 43 - .../examples/Workload_ListBySubscription.json | 42 - .../examples/Workload_Update.json | 55 - .../preview/2023-11-01-preview/openapi.json | 6194 ---------------- .../examples/Catalog_CreateOrUpdate.json | 106 - .../examples/Catalog_Delete.json | 25 - .../examples/Catalog_Get.json | 50 - .../examples/Catalog_ListByResourceGroup.json | 54 - .../examples/Catalog_ListBySubscription.json | 53 - .../examples/Catalog_Update.json | 78 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../examples/CommunityEndpoints_Delete.json | 26 - .../examples/CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../examples/CommunityEndpoints_Update.json | 69 - .../examples/Community_CreateOrUpdate.json | 88 - .../examples/Community_Delete.json | 25 - .../examples/Community_Get.json | 41 - .../Community_ListByResourceGroup.json | 45 - .../Community_ListBySubscription.json | 44 - .../examples/Community_Update.json | 60 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../examples/EnclaveConnection_Delete.json | 25 - .../examples/EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - .../examples/EnclaveConnection_Update.json | 54 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../examples/EnclaveEndpoints_Delete.json | 26 - .../examples/EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../examples/EnclaveEndpoints_Update.json | 67 - .../examples/Endpoint_CreateOrUpdate.json | 92 - .../examples/Endpoint_Delete.json | 26 - .../examples/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../examples/Endpoint_ListBySubscription.json | 46 - .../examples/Endpoint_Update.json | 63 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../examples/ExternalConnections_Delete.json | 25 - .../examples/ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../examples/ExternalConnections_Update.json | 70 - .../InternalConnections_CreateOrUpdate.json | 103 - .../examples/InternalConnections_Delete.json | 25 - .../examples/InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../examples/InternalConnections_Update.json | 70 - .../examples/Operations_List.json | 28 - .../examples/TransitHub_CreateOrUpdate.json | 98 - .../examples/TransitHub_Delete.json | 26 - .../examples/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../examples/TransitHub_Update.json | 67 - .../VirtualEnclave_CreateOrUpdate.json | 112 - .../examples/VirtualEnclave_Delete.json | 25 - .../examples/VirtualEnclave_Get.json | 51 - .../VirtualEnclave_ListByResourceGroup.json | 55 - .../VirtualEnclave_ListBySubscription.json | 54 - ...ave_PostCheckAddressSpaceAvailability.json | 24 - .../examples/VirtualEnclave_Update.json | 80 - .../examples/Workload_CreateOrUpdate.json | 80 - .../examples/Workload_Delete.json | 26 - .../examples/Workload_Get.json | 39 - .../Workload_ListByEnclaveResource.json | 43 - .../examples/Workload_ListBySubscription.json | 42 - .../examples/Workload_Update.json | 55 - .../preview/2024-01-01-preview/openapi.json | 6267 ----------------- .../mission/resource-manager/readme.md | 36 - 508 files changed, 42 insertions(+), 49331 deletions(-) delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Operations_List.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Operations_List.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Operations_List.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Operations_List.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Operations_List.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/openapi.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Operations_List.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/openapi.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Operations_List.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/openapi.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Operations_List.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/openapi.json diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_CreateOrUpdate.json deleted file mode 100644 index 315c10e0d628..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_CreateOrUpdate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "title": "Catalog_CreateOrUpdate", - "operationId": "Catalog_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName", - "resource": { - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - } - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Delete.json deleted file mode 100644 index c1bd281f3298..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "Catalog_Delete", - "operationId": "Catalog_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Get.json deleted file mode 100644 index fdaef7bb07ab..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "Catalog_Get", - "operationId": "Catalog_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListByResourceGroup.json deleted file mode 100644 index fbe03390d3ce..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListByResourceGroup.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Catalog_ListByResourceGroup", - "operationId": "Catalog_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListBySubscription.json deleted file mode 100644 index a283b01cd25e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_ListBySubscription.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Catalog_ListBySubscription", - "operationId": "Catalog_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Update.json deleted file mode 100644 index be8d0c34baf0..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Catalog_Update.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "title": "Catalog_Update", - "operationId": "Catalog_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "TestMyCatalog", - "properties": { - "tags": { - "TestKey": "TestValue" - }, - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_CreateOrUpdate.json deleted file mode 100644 index fb49da9f0306..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_CreateOrUpdate.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Delete.json deleted file mode 100644 index c2634b1a0f6c..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Get.json deleted file mode 100644 index 983682799024..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Get.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListByResourceGroup.json deleted file mode 100644 index 24f8a58c6eed..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListByResourceGroup.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListBySubscription.json deleted file mode 100644 index 04f88ee5d71e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_ListBySubscription.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Update.json deleted file mode 100644 index 96cdb1018abc..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Community_Update.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "key327": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index ae8272def9a5..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Delete.json deleted file mode 100644 index e9e937876223..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Get.json deleted file mode 100644 index 33d4c072eff9..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index f5ef1cc610b2..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index a157f6f2c600..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Update.json deleted file mode 100644 index e73b208e3c21..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index cc1991651fba..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index ee6a428ecd56..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Get.json deleted file mode 100644 index 697150566c8c..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 6e8a30e485d3..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 4738de120c28..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Update.json deleted file mode 100644 index fd7a52f2f530..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index dd32749ae923..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Delete.json deleted file mode 100644 index f37010a0ae3a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Get.json deleted file mode 100644 index 72f6b9941835..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index 714e0bd4793e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index f02a6bf6525a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Update.json deleted file mode 100644 index 3109ace031cd..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Operations_List.json deleted file mode 100644 index 4731e499fd19..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "fwljuroljeuiiyalge" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 7a3cca478828..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "properties": { - "description": "valid description goes here", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Delete.json deleted file mode 100644 index f6234c2d2b56..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Get.json deleted file mode 100644 index 3a831803969b..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Get.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index e00fe062e997..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 33b4e2cb7964..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Update.json deleted file mode 100644 index e8cb540b1bb3..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/VirtualEnclave_Update.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "description": "valid description goes here", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_CreateOrUpdate.json deleted file mode 100644 index e5db99d1bb89..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Delete.json deleted file mode 100644 index b7f6606bdc42..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Delete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Get.json deleted file mode 100644 index 2313abbc5f95..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Get.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListByEnclaveResource.json deleted file mode 100644 index eba6c6c6d96b..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListBySubscription.json deleted file mode 100644 index 187078b365f8..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_ListBySubscription.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Update.json deleted file mode 100644 index d69e3b6a1d67..000000000000 --- a/specification/mission/Mission.Management/examples/2023-02-01-preview/Workload_Update.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_CreateOrUpdate.json deleted file mode 100644 index 80e94c6c7478..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_CreateOrUpdate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "title": "Catalog_CreateOrUpdate", - "operationId": "Catalog_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName", - "resource": { - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - } - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Delete.json deleted file mode 100644 index bb1ba9b4264a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Catalog_Delete", - "operationId": "Catalog_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Get.json deleted file mode 100644 index 0478fc6dbffd..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "Catalog_Get", - "operationId": "Catalog_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalog" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListByResourceGroup.json deleted file mode 100644 index 0a4bd14484e9..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListByResourceGroup.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Catalog_ListByResourceGroup", - "operationId": "Catalog_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListBySubscription.json deleted file mode 100644 index d4fcafd0bc3b..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_ListBySubscription.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Catalog_ListBySubscription", - "operationId": "Catalog_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Update.json deleted file mode 100644 index 1e34a5d14676..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Catalog_Update.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "title": "Catalog_Update", - "operationId": "Catalog_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "TestMyCatalog", - "properties": { - "tags": { - "TestKey": "TestValue" - }, - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index d481e0210076..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDNTag", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDNTag", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDNTag", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Delete.json deleted file mode 100644 index 1949961a0920..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Get.json deleted file mode 100644 index ac9a9b18951a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Get.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index 14092cbd1a6a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 9f496aebe93a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Update.json deleted file mode 100644 index 094e20d2fc40..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/CommunityEndpoints_Update.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_CreateOrUpdate.json deleted file mode 100644 index 05d88a94cfdc..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_CreateOrUpdate.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Delete.json deleted file mode 100644 index d0b325d77f6d..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Get.json deleted file mode 100644 index 862d8aad7296..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Get.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListByResourceGroup.json deleted file mode 100644 index 5f02f3fe2f7e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListByResourceGroup.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListBySubscription.json deleted file mode 100644 index 70c93788f4c7..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_ListBySubscription.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Update.json deleted file mode 100644 index 6b8c7433207e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Community_Update.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 654b8df66f00..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Delete.json deleted file mode 100644 index 8dc702fb7bc4..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Get.json deleted file mode 100644 index 41b95be12fa2..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 469a4f86233d..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 32a6fb458619..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Update.json deleted file mode 100644 index 2606a3556665..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 69c7450aac4f..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Delete.json deleted file mode 100644 index 99fa5b597654..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Get.json deleted file mode 100644 index db0b11921981..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 7457e0a45ddf..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index b2c3888aeebf..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Update.json deleted file mode 100644 index b4e67dc7d40b..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 85637b0205cb..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Delete.json deleted file mode 100644 index 9f1af2d1fb96..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Get.json deleted file mode 100644 index d0c88d661c3b..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 0a703fe35c54..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index 3071e7971797..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Update.json deleted file mode 100644 index 7a282dfd260c..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index f113817edcc8..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index d2bec8885b48..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Get.json deleted file mode 100644 index 7a7177026024..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index f56f708b3425..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 2bf98c3e96ae..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Update.json deleted file mode 100644 index f0d678e79c60..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index bf4be64bd96a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Delete.json deleted file mode 100644 index 84df2c4d5b1d..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Get.json deleted file mode 100644 index c6ec1833ef16..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index c7c34d5b1843..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index 867174d1fbf4..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Update.json deleted file mode 100644 index 0f8434e1e4db..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Operations_List.json deleted file mode 100644 index 7cfbba37f381..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2023-08-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "fwljuroljeuiiyalge" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_CreateOrUpdate.json deleted file mode 100644 index 838789b74181..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Delete.json deleted file mode 100644 index 62c7cf86069f..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Get.json deleted file mode 100644 index ed8d44563fdf..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListByCommunityResource.json deleted file mode 100644 index a146a6c95f47..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListBySubscription.json deleted file mode 100644 index bdb4d04af4a6..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Update.json deleted file mode 100644 index d5cffa467c07..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index c1d3a6cc5894..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Delete.json deleted file mode 100644 index cbd0dd51c514..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Get.json deleted file mode 100644 index 71f3e070c19e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Get.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index f6617afde952..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index d69533d9d194..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index a10c6a110074..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "title": "VirtualEnclave_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "MyVirtualEnclave", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small" - } - }, - "api-version": "2023-08-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Update.json deleted file mode 100644 index 4451690b5064..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/VirtualEnclave_Update.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_CreateOrUpdate.json deleted file mode 100644 index d29e1fb36462..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Delete.json deleted file mode 100644 index 89015c5a2781..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Get.json deleted file mode 100644 index 894773b774ae..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListByEnclaveResource.json deleted file mode 100644 index f99d62c34534..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListBySubscription.json deleted file mode 100644 index efcd9f97ead0..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Update.json deleted file mode 100644 index 172df7e98a2b..000000000000 --- a/specification/mission/Mission.Management/examples/2023-08-01-preview/Workload_Update.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_CreateOrUpdate.json deleted file mode 100644 index 03a72f32745d..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_CreateOrUpdate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "title": "Catalog_CreateOrUpdate", - "operationId": "Catalog_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName", - "resource": { - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - } - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Delete.json deleted file mode 100644 index 3caaa95e849e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Catalog_Delete", - "operationId": "Catalog_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Get.json deleted file mode 100644 index ada437319fc9..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "Catalog_Get", - "operationId": "Catalog_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalog" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListByResourceGroup.json deleted file mode 100644 index cb0ceeec019d..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListByResourceGroup.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Catalog_ListByResourceGroup", - "operationId": "Catalog_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListBySubscription.json deleted file mode 100644 index f671598c6334..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_ListBySubscription.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Catalog_ListBySubscription", - "operationId": "Catalog_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Update.json deleted file mode 100644 index 40dfff050b2c..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Catalog_Update.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "title": "Catalog_Update", - "operationId": "Catalog_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "TestMyCatalog", - "properties": { - "tags": { - "TestKey": "TestValue" - }, - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index 76362e58e275..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Delete.json deleted file mode 100644 index f4a6051501de..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Get.json deleted file mode 100644 index c0748bc12ae3..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index d7944505ad4e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 1404161fe190..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Update.json deleted file mode 100644 index 09df08a60c56..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/CommunityEndpoints_Update.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_CreateOrUpdate.json deleted file mode 100644 index 2bd4cb58e737..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_CreateOrUpdate.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Delete.json deleted file mode 100644 index e95d6b563beb..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Get.json deleted file mode 100644 index 917977cb5433..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Get.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListByResourceGroup.json deleted file mode 100644 index 3484e6a4096b..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListByResourceGroup.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListBySubscription.json deleted file mode 100644 index 97077b878cb8..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_ListBySubscription.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Update.json deleted file mode 100644 index b1105bd8a067..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Community_Update.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index a2914c00b39f..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Delete.json deleted file mode 100644 index c7b5f05fa899..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Get.json deleted file mode 100644 index eb5d27f6cd22..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index dd0c56687a90..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index e17564e99aa9..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Update.json deleted file mode 100644 index 945583399378..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 54970f297b2f..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Delete.json deleted file mode 100644 index 80bfb091fcbf..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Get.json deleted file mode 100644 index 8efc34ab2c69..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 43359f8e150f..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 6cd9bd90d492..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Update.json deleted file mode 100644 index 6ade06e57dc4..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 18b83590f2e0..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Delete.json deleted file mode 100644 index 84f94fa31380..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Get.json deleted file mode 100644 index 80de61d865dc..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index fe1e4724edf7..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index 2041e8532dfe..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Update.json deleted file mode 100644 index 3a893ab73ff6..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index fd2b836bcf5c..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index 18056e46f312..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Get.json deleted file mode 100644 index d4319a5e8d09..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index e31257eb8054..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index e1106a079973..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Update.json deleted file mode 100644 index bfc798d2b791..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 2dd86c73ebb1..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Delete.json deleted file mode 100644 index 22716f58d37a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Get.json deleted file mode 100644 index 4de59eca5e37..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index c7125da87975..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index f31c7abd5638..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Update.json deleted file mode 100644 index ad3b562ffecb..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Operations_List.json deleted file mode 100644 index 3f9b06fa98c6..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "fwljuroljeuiiyalge" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_CreateOrUpdate.json deleted file mode 100644 index 14c51e41a0c3..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Delete.json deleted file mode 100644 index 5a42a4593502..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Get.json deleted file mode 100644 index 926b844311ca..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListByCommunityResource.json deleted file mode 100644 index 85691e329958..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListBySubscription.json deleted file mode 100644 index d2a0d512c2b6..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Update.json deleted file mode 100644 index 4399d4ea7e69..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 77e58461e753..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Delete.json deleted file mode 100644 index 2a9d2fba739f..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Get.json deleted file mode 100644 index fe8e4a3bd690..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Get.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index c9185b7c2f28..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 3cc0022c619b..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 2be209c34f3e..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "title": "VirtualEnclave_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "MyVirtualEnclave", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small" - } - }, - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Update.json deleted file mode 100644 index a2edf17df2a2..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/VirtualEnclave_Update.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_CreateOrUpdate.json deleted file mode 100644 index 10765dd58297..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Delete.json deleted file mode 100644 index b0ccc8fb3c72..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Get.json deleted file mode 100644 index 4a1ba19f029a..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Get.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListByEnclaveResource.json deleted file mode 100644 index 39fe0964682f..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListBySubscription.json deleted file mode 100644 index a37cae531803..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Update.json deleted file mode 100644 index 1777ea4dabe6..000000000000 --- a/specification/mission/Mission.Management/examples/2023-11-01-preview/Workload_Update.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_CreateOrUpdate.json deleted file mode 100644 index 40270778afdb..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_CreateOrUpdate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "title": "Catalog_CreateOrUpdate", - "operationId": "Catalog_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName", - "resource": { - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - } - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Delete.json deleted file mode 100644 index c0cab72029f5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Catalog_Delete", - "operationId": "Catalog_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Get.json deleted file mode 100644 index 174c0c8f3572..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "Catalog_Get", - "operationId": "Catalog_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalog" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListByResourceGroup.json deleted file mode 100644 index 423f91d167c0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListByResourceGroup.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Catalog_ListByResourceGroup", - "operationId": "Catalog_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListBySubscription.json deleted file mode 100644 index 706a1bc13bfd..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_ListBySubscription.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Catalog_ListBySubscription", - "operationId": "Catalog_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Update.json deleted file mode 100644 index 7eeb5bc34567..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Catalog_Update.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "title": "Catalog_Update", - "operationId": "Catalog_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "TestMyCatalog", - "properties": { - "tags": { - "TestKey": "TestValue" - }, - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index aa93d91fc235..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Delete.json deleted file mode 100644 index 0a1433b218b8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Get.json deleted file mode 100644 index 39ab070e3a49..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index 5e8302fdef73..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index d40483d5e0bf..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Update.json deleted file mode 100644 index 2ce4d1c4c28d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/CommunityEndpoints_Update.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_CreateOrUpdate.json deleted file mode 100644 index a9cf78a76920..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_CreateOrUpdate.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Delete.json deleted file mode 100644 index 4d65c2eeb70b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Get.json deleted file mode 100644 index ca8ed95b6381..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Get.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListByResourceGroup.json deleted file mode 100644 index 267f23a47db9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListByResourceGroup.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListBySubscription.json deleted file mode 100644 index b09c59a6683b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_ListBySubscription.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Update.json deleted file mode 100644 index e0495b0d5b79..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Community_Update.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 99deee0361a5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Delete.json deleted file mode 100644 index e006005a52bb..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Get.json deleted file mode 100644 index 2be7ead17ce5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 1366e0a4e575..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 7af3bb1a70c2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Update.json deleted file mode 100644 index 1a8d29714629..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index d0cf8b891abf..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Delete.json deleted file mode 100644 index f56d40ca8ae2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Get.json deleted file mode 100644 index ac5b8b427971..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 7af6424a134b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 68347bb63595..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Update.json deleted file mode 100644 index 9379360c618f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 661b3dc46682..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Delete.json deleted file mode 100644 index 1b697b09d91d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Get.json deleted file mode 100644 index 971eb7566709..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 1827a676ab5c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index 97d2d62ceb3c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Update.json deleted file mode 100644 index bf51bb955271..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 4d14385c39f2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index dc4fde946302..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Get.json deleted file mode 100644 index 6a19b47f8794..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index d6485058b3eb..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index ec6e147bcf4b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Update.json deleted file mode 100644 index b8b85258fa08..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index d3248dee7726..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Delete.json deleted file mode 100644 index 7bd9ce503095..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Get.json deleted file mode 100644 index e26574b17fbd..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index ebe79aeb11f6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index c3c6989511d3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Update.json deleted file mode 100644 index fa2fa2e32bc3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Operations_List.json deleted file mode 100644 index a0b2d65258bf..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-01-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "fwljuroljeuiiyalge" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_CreateOrUpdate.json deleted file mode 100644 index 257825be9599..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Delete.json deleted file mode 100644 index f16dbafe306c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Get.json deleted file mode 100644 index 7aa2caf0b2ac..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListByCommunityResource.json deleted file mode 100644 index 747269fcf99b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListBySubscription.json deleted file mode 100644 index a2e7ec372b12..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Update.json deleted file mode 100644 index fffbbf8e2c6d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 15c2b8db7e18..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Delete.json deleted file mode 100644 index 1c269d57cdf6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Get.json deleted file mode 100644 index 231d724009fb..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Get.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 5c5c262a4ad7..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 00cccef6b199..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 889bafa9ce3a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "title": "VirtualEnclave_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "MyVirtualEnclave", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small" - } - }, - "api-version": "2024-01-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Update.json deleted file mode 100644 index 5a0ddf8be207..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/VirtualEnclave_Update.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_CreateOrUpdate.json deleted file mode 100644 index 078b74cd77f0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Delete.json deleted file mode 100644 index 5525f690d66e..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Get.json deleted file mode 100644 index 78d681e1ace9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Get.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListByEnclaveResource.json deleted file mode 100644 index 620083f308a4..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListBySubscription.json deleted file mode 100644 index eecc2078f887..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Update.json deleted file mode 100644 index 3c371b703a0b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-01-01-preview/Workload_Update.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index cadf79c74348..739a259c9591 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -128,7 +128,7 @@ model ExternalConnection is TrackedResource { name: string; } -@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("TransitHub Model Resource") @parentResource(CommunityResource) model TransitHubResource is TrackedResource { @@ -140,7 +140,7 @@ model TransitHubResource is TrackedResource { name: string; } -@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("EnclaveConnection Model Resource") model EnclaveConnectionResource is TrackedResource { @@ -152,7 +152,7 @@ model EnclaveConnectionResource name: string; } -@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("EnclaveEndpoint Model Resource") @parentResource(EnclaveResource) model EnclaveEndpointResource is TrackedResource { @@ -164,7 +164,7 @@ model EnclaveEndpointResource is TrackedResource { name: string; } -@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("CommunityEndpoint Model Resource") @parentResource(CommunityResource) model CommunityEndpointResource @@ -245,7 +245,7 @@ interface VirtualEnclave { @doc("Checks that the IP Address Space to be allocated for this Virtual Enclave is available.") @armResourceAction(EnclaveResource) @post - @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @removed(Microsoft.Mission.Versions.v2024_06_01_preview) checkAddressSpaceAvailability( ...ResourceInstanceParameters, @@ -346,7 +346,7 @@ interface InternalConnections { listBySubscription is ArmListBySubscription; } -@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("TransitHub Interface") @armResourceOperations interface TransitHub { @@ -365,7 +365,7 @@ interface TransitHub { listBySubscription is ArmListBySubscription; } -@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Enclave Connection Interface") @armResourceOperations interface EnclaveConnection { @@ -404,7 +404,7 @@ interface EnclaveConnection { >; } -@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Enclave Endpoint Interface") @armResourceOperations interface EnclaveEndpoints { @@ -443,7 +443,7 @@ interface EnclaveEndpoints { >; } -@added(Microsoft.Mission.Versions.v2023_08_01_preview) +@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Community Endpoint Interface") @armResourceOperations interface CommunityEndpoints { diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 7cf8e557210c..6a535cc49db1 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -17,7 +17,7 @@ using Azure.ResourceManager; namespace Microsoft.Mission; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2023_08_01_preview) +@removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("EnclaveListItem Properties") model EnclaveListItem { @doc("virtual enclave name.") @@ -163,7 +163,7 @@ model ApprovalSettings { @doc("Community Resource Properties") model CommunityProperties { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Community Description.") description?: string; @@ -181,19 +181,19 @@ model CommunityProperties { resourceCollection?: string[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of virtual enclaves that a community contains.") virtualEnclaveList?: EnclaveListItem[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Dictionary of virtual enclaves that a community contains.") virtualEnclaveCollection?: Record; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2023_08_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2023_08_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed resource group configuration.") managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index 6ccb98e546e0..cb01c053ba97 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -64,7 +64,7 @@ union DestinationType { } #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2023_11_01_preview) +@removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Base type for destination rules.") model DestinationRule { @doc("Destination Rule Name.") @@ -101,18 +101,18 @@ model CommunityEndpointDestinationRule is EndpointRuleBase { @doc("Community Endpoint Resource properties") model CommunityEndpointProperties { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." - @added(Microsoft.Mission.Versions.v2023_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", []) @doc("Community Endpoint Rule Collection.") ruleCollection: CommunityEndpointDestinationRule[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_11_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", ["name"]) @doc("Destination Rule Collection.") destinationRuleCollection: DestinationRule[]; - @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource ids created by community endpoint.") resourceCollection?: string[]; diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index 855c0ea386d9..53330b05e1d0 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -41,7 +41,7 @@ union EnclaveEndpointProtocol { } #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2023_11_01_preview) +@removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Enclave Endpoint Rule Properties") model EnclaveEndpointRule { @doc("Endpoint Rule Name.") @@ -66,18 +66,18 @@ model EnclaveEndpointDestinationRule is EndpointRuleBase { @doc("Enclave Endpoint Resource properties") model EnclaveEndpointProperties { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." - @added(Microsoft.Mission.Versions.v2023_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", []) @doc("Enclave Endpoint Rule Collection.") ruleCollection: EnclaveEndpointDestinationRule[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_11_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", ["name"]) @doc("Endpoint Rule Collection.") endpointRuleCollection?: EnclaveEndpointRule[]; - @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource ids created by community endpoint.") resourceCollection?: string[]; diff --git a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp index b0441b92e83e..97bb3cd5d397 100644 --- a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp @@ -43,11 +43,11 @@ union EndpointProtocol { @doc("EndpointRule Properties") model EndpointRule { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Endpoint Rule Id.") id?: string; - @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Endpoint Rule Name.") name?: string; @@ -64,7 +64,7 @@ model EndpointRule { @doc("Endpoint Resource properties") model EndpointProperties { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Endpoint Description.") description?: string; diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp index 7b68e89a408e..b94160a6e759 100644 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -28,15 +28,15 @@ union InternalConnectionType { @doc("Specifies the state of the internalConnection.") union InternalConnectionState { - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("InternalConnectionState Type Pending") Pending: "Pending", - @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("InternalConnectionState Type Pending Approval") PendingApproval: "PendingApproval", - @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("InternalConnectionState Type Pending Update") PendingUpdate: "PendingUpdate", @@ -46,7 +46,7 @@ union InternalConnectionState { @doc("InternalConnectionState Type Active") Active: "Active", - @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("InternalConnectionState Type Failed") Failed: "Failed", diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 08a7fd2daa3d..1eb7cda3564f 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -78,7 +78,7 @@ model EnclaveVirtualNetwork { @added(Microsoft.Mission.Versions.v2024_06_01_preview) allowSubnetCommunication?: boolean; - @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Connect to Azure Services (True or False).") connectToAzureServices?: boolean; } @@ -89,7 +89,7 @@ model EnclaveDefaultSettings { keyVaultResourceId?: KeyVaultResourceId; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_01_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Log Analytics Resource Id.") logAnalyticsResourceId?: LogAnalyticsResourceId; @@ -97,12 +97,12 @@ model EnclaveDefaultSettings { storageAccountResourceId?: StorageAccountResourceId; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." - @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Log Analytics Resource Ids.") logAnalyticsResourceIdCollection?: LogAnalyticsResourceId[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." - @added(Microsoft.Mission.Versions.v2024_01_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Diagnostic Destination.") diagnosticDestination?: DiagnosticDestination; } @@ -134,7 +134,7 @@ model MaintenanceModeConfiguration { @doc("Virtual Enclave Resource properties") model VirtualEnclaveProperties { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Virtual Enclave Description.") description?: string; @@ -145,7 +145,7 @@ model VirtualEnclaveProperties { @doc("Virtual Network.") enclaveVirtualNetwork: EnclaveVirtualNetwork; - @added(Microsoft.Mission.Versions.v2023_08_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @visibility("read") @doc("Enclave Address Spaces") enclaveAddressSpaces?: EnclaveAddressSpaces; @@ -160,8 +160,8 @@ model VirtualEnclaveProperties { resourceCollection?: string[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2023_08_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2023_08_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed resource group configuration.") managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 72d5ea173747..8a6bf629eaaf 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -18,17 +18,17 @@ namespace Microsoft.Mission; @doc("Workload Resource properties") model WorkloadProperties { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Workload Description.") description?: string; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_08_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Virtual Enclave Resource Id.") enclaveResourceId?: VirtualEnclaveResourceId; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2023_11_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed Resource Groups.") managedResourceGroups?: string[]; @@ -37,7 +37,7 @@ model WorkloadProperties { provisioningState?: ProvisioningState; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2023_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed resource group configuration.") managedResourceGroupConfiguration: ManagedResourceGroupConfiguration; diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index b93251540076..a2f780ec6fcb 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -10,26 +10,6 @@ namespace Microsoft.Mission; @doc("Supported API versions for the Microsoft.Mission resource provider.") enum Versions { - @doc("The 2023-02-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_02_01_preview: "2023-02-01-preview", - - @doc("The 2023-08-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_08_01_preview: "2023-08-01-preview", - - @doc("The 2023-11-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2023_11_01_preview: "2023-11-01-preview", - - @doc("The 2024-01-01-preview version.") - @armCommonTypesVersion("v3") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - v2024_01_01_preview: "2024-01-01-preview", - @doc("The 2024-06-01-preview version.") @armCommonTypesVersion("v5") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_CreateOrUpdate.json deleted file mode 100644 index 315c10e0d628..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_CreateOrUpdate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "title": "Catalog_CreateOrUpdate", - "operationId": "Catalog_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName", - "resource": { - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - } - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Delete.json deleted file mode 100644 index c1bd281f3298..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "Catalog_Delete", - "operationId": "Catalog_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Get.json deleted file mode 100644 index fdaef7bb07ab..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "Catalog_Get", - "operationId": "Catalog_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListByResourceGroup.json deleted file mode 100644 index fbe03390d3ce..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListByResourceGroup.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Catalog_ListByResourceGroup", - "operationId": "Catalog_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListBySubscription.json deleted file mode 100644 index a283b01cd25e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_ListBySubscription.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Catalog_ListBySubscription", - "operationId": "Catalog_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Update.json deleted file mode 100644 index be8d0c34baf0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Catalog_Update.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "title": "Catalog_Update", - "operationId": "Catalog_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "TestMyCatalog", - "properties": { - "tags": { - "TestKey": "TestValue" - }, - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_CreateOrUpdate.json deleted file mode 100644 index fb49da9f0306..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_CreateOrUpdate.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Delete.json deleted file mode 100644 index c2634b1a0f6c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Get.json deleted file mode 100644 index 983682799024..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Get.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListByResourceGroup.json deleted file mode 100644 index 24f8a58c6eed..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListByResourceGroup.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListBySubscription.json deleted file mode 100644 index 04f88ee5d71e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_ListBySubscription.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Update.json deleted file mode 100644 index 96cdb1018abc..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Community_Update.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "key327": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "virtualEnclaveCollection": { - "MyKey1": { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - }, - "virtualEnclaveList": [ - { - "name": "TestMyEnclave", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "creationDatetime": "2023-03-17T20:43:17.760Z", - "createdBy": "myAlias", - "provisioningState": "Succeeded" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index ae8272def9a5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index e9e937876223..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index 33d4c072eff9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index f5ef1cc610b2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index a157f6f2c600..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index e73b208e3c21..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "Endpoint Description", - "endpointRuleCollection": [ - { - "id": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index cc1991651fba..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index ee6a428ecd56..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index 697150566c8c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 6e8a30e485d3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 4738de120c28..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index fd7a52f2f530..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index dd32749ae923..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index f37010a0ae3a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index 72f6b9941835..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index 714e0bd4793e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index f02a6bf6525a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index 3109ace031cd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Operations_List.json deleted file mode 100644 index 4731e499fd19..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2023-02-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "fwljuroljeuiiyalge" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 7a3cca478828..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "properties": { - "description": "valid description goes here", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Delete.json deleted file mode 100644 index f6234c2d2b56..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Delete.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Get.json deleted file mode 100644 index 3a831803969b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Get.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index e00fe062e997..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 33b4e2cb7964..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Update.json deleted file mode 100644 index e8cb540b1bb3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/VirtualEnclave_Update.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "description": "valid description goes here", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_CreateOrUpdate.json deleted file mode 100644 index e5db99d1bb89..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Delete.json deleted file mode 100644 index b7f6606bdc42..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Delete.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Get.json deleted file mode 100644 index 2313abbc5f95..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Get.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListByEnclaveResource.json deleted file mode 100644 index eba6c6c6d96b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListBySubscription.json deleted file mode 100644 index 187078b365f8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_ListBySubscription.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Update.json deleted file mode 100644 index d69e3b6a1d67..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/examples/Workload_Update.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2023-02-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "description": "valid description goes here", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/openapi.json deleted file mode 100644 index 94044f7d0fa5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-02-01-preview/openapi.json +++ /dev/null @@ -1,3788 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2023-02-01-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Workload" - }, - { - "name": "Endpoint" - }, - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "CatalogInterface" - }, - { - "name": "InternalConnections" - }, - { - "name": "ExternalConnections" - } - ], - "paths": { - "/providers/Microsoft.Mission/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/catalogs": { - "get": { - "operationId": "Catalog_ListBySubscription", - "tags": [ - "CatalogInterface" - ], - "description": "List CatalogResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_ListBySubscription": { - "$ref": "./examples/Catalog_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListBySubscription", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListBySubscription": { - "$ref": "./examples/Community_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListBySubscription", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription": { - "$ref": "./examples/VirtualEnclave_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListBySubscription", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListBySubscription": { - "$ref": "./examples/Workload_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs": { - "get": { - "operationId": "Catalog_ListByResourceGroup", - "tags": [ - "CatalogInterface" - ], - "description": "List CatalogResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_ListByResourceGroup": { - "$ref": "./examples/Catalog_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs/{catalogName}": { - "get": { - "operationId": "Catalog_Get", - "tags": [ - "CatalogInterface" - ], - "description": "Get a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Get": { - "$ref": "./examples/Catalog_Get.json" - } - } - }, - "put": { - "operationId": "Catalog_CreateOrUpdate", - "tags": [ - "CatalogInterface" - ], - "description": "Create a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CatalogResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CatalogResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "201": { - "description": "Resource 'CatalogResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CatalogResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_CreateOrUpdate": { - "$ref": "./examples/Catalog_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Catalog_Update", - "tags": [ - "CatalogInterface" - ], - "description": "Update a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CatalogResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Update": { - "$ref": "./examples/Catalog_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Catalog_Delete", - "tags": [ - "CatalogInterface" - ], - "description": "Delete a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Delete": { - "$ref": "./examples/Catalog_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListByResourceGroup", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListByResourceGroup": { - "$ref": "./examples/Community_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "operationId": "Community_Get", - "tags": [ - "Community" - ], - "description": "Get a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get": { - "$ref": "./examples/Community_Get.json" - } - } - }, - "put": { - "operationId": "Community_CreateOrUpdate", - "tags": [ - "Community" - ], - "description": "Create a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "201": { - "description": "Resource 'CommunityResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CreateOrUpdate": { - "$ref": "./examples/Community_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Community_Update", - "tags": [ - "Community" - ], - "description": "Update a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", - "tags": [ - "Community" - ], - "description": "Delete a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListByResourceGroup", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { - "get": { - "operationId": "ExternalConnections_Get", - "tags": [ - "ExternalConnections" - ], - "description": "Get a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "ExternalConnections_CreateOrUpdate", - "tags": [ - "ExternalConnections" - ], - "description": "Create a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ExternalConnections_Update", - "tags": [ - "ExternalConnections" - ], - "description": "Update a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", - "tags": [ - "ExternalConnections" - ], - "description": "Delete a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", - "tags": [ - "InternalConnections" - ], - "description": "Get a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { - "$ref": "./examples/Workload_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { - "get": { - "operationId": "Workload_Get", - "tags": [ - "Workload" - ], - "description": "Get a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Get": { - "$ref": "./examples/Workload_Get.json" - } - } - }, - "put": { - "operationId": "Workload_CreateOrUpdate", - "tags": [ - "Workload" - ], - "description": "Create a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'WorkloadResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "201": { - "description": "Resource 'WorkloadResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_CreateOrUpdate": { - "$ref": "./examples/Workload_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Workload_Update", - "tags": [ - "Workload" - ], - "description": "Update a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", - "tags": [ - "Workload" - ], - "description": "Delete a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ] - }, - "BlobCatalog": { - "type": "object", - "description": "Blob Catalog type.", - "properties": { - "catalogStorageType": { - "$ref": "#/definitions/CatalogStorageType", - "description": "Catalog's storage type." - }, - "uri": { - "type": "string", - "description": "Catalog Storage's URI." - } - } - }, - "Catalog": { - "type": "object", - "x-nullable": false, - "allOf": [ - { - "$ref": "#/definitions/BlobCatalog" - } - ] - }, - "CatalogProperties": { - "type": "object", - "description": "Catalog properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "ownedBy": { - "type": "string", - "description": "Owning Resource of the Catalog." - }, - "communityResourceId": { - "type": "string", - "description": "Community Resource Id." - }, - "enclaveResourceId": { - "type": "string", - "description": "Virtual Enclave Resource Id." - }, - "catalog": { - "$ref": "#/definitions/Catalog", - "description": "Catalog Connection properties." - }, - "packageCollection": { - "type": "array", - "description": "List of packages for catalog.", - "items": { - "$ref": "#/definitions/Package" - } - } - } - }, - "CatalogResource": { - "type": "object", - "description": "Catalog Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CatalogProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CatalogResourceListResult": { - "type": "object", - "description": "The response of a CatalogResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CatalogResource items on this page", - "items": { - "$ref": "#/definitions/CatalogResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CatalogResourceUpdate": { - "type": "object", - "description": "Catalog Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CatalogProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CatalogStorageType": { - "type": "string", - "description": "List of storage types support by catalog", - "enum": [ - "BlobCatalog" - ], - "x-ms-enum": { - "name": "CatalogStorageType", - "modelAsString": true, - "values": [ - { - "name": "BlobCatalog", - "value": "BlobCatalog", - "description": "Blob Storage Catalog Type" - } - ] - } - }, - "CommunityProperties": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "description": { - "type": "string", - "description": "Community Description." - }, - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "virtualEnclaveList": { - "type": "array", - "description": "List of virtual enclaves that a community contains.", - "items": { - "$ref": "#/definitions/EnclaveListItem" - } - }, - "virtualEnclaveCollection": { - "type": "object", - "description": "Dictionary of virtual enclaves that a community contains.", - "additionalProperties": { - "$ref": "#/definitions/EnclaveListItem" - } - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", - "items": { - "$ref": "#/definitions/CommunityResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveDefaultSettings": { - "type": "object", - "description": "Virtual Enclave Default Settings", - "properties": { - "keyVaultResourceId": { - "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." - }, - "logAnalyticsResourceId": { - "$ref": "#/definitions/LogAnalyticsResourceId", - "description": "Log Analytics Resource Id." - }, - "storageAccountResourceId": { - "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." - } - } - }, - "EnclaveListItem": { - "type": "object", - "description": "EnclaveListItem Properties", - "properties": { - "name": { - "type": "string", - "description": "virtual enclave name." - }, - "id": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "virtual enclaves resource id." - }, - "creationDatetime": { - "type": "string", - "description": "creation datetime." - }, - "createdBy": { - "type": "string", - "description": "created by." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EnclaveResource": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveResourceListResult": { - "type": "object", - "description": "The response of a EnclaveResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveVirtualNetwork": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - } - }, - "required": [ - "networkSize" - ] - }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "description": { - "type": "string", - "description": "Endpoint Description." - }, - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "id": { - "type": "string", - "description": "Endpoint Rule Id." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] - }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] - } - }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] - }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "InternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "KeyVaultResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "LogAnalyticsResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - }, - "Package": { - "type": "object", - "description": "Package Properties", - "properties": { - "id": { - "type": "string", - "description": "Package Id." - }, - "name": { - "type": "string", - "description": "Package Name." - }, - "metadata": { - "type": "object", - "description": "Package metadata.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning status of the resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted", - "Created", - "Creating", - "Deleted", - "Deleting", - "NotSpecified", - "Ready", - "Running", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Accepted", - "value": "Accepted", - "description": "Provisioning State Type Accepted" - }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Provisioning State Type Creating" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Provisioning State Type Deleting" - }, - { - "name": "NotSpecified", - "value": "NotSpecified", - "description": "Provisioning State Type NotSpecified" - }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, - { - "name": "Running", - "value": "Running", - "description": "Provisioning State Type Running" - }, - { - "name": "Updating", - "value": "Updating", - "description": "Provisioning State Type Updating" - } - ] - }, - "readOnly": true - }, - "StorageAccountResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - } - }, - "VirtualEnclaveProperties": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "description": { - "type": "string", - "description": "Virtual Enclave Description." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] - }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "description": { - "type": "string", - "description": "Virtual Enclave Description." - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - } - } - }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, - "WorkloadProperties": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "description": { - "type": "string", - "description": "Workload Description." - }, - "enclaveResourceId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "Virtual Enclave Resource Id." - }, - "managedResourceGroups": { - "type": "array", - "description": "Managed Resource Groups.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "WorkloadResource": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "WorkloadResourceListResult": { - "type": "object", - "description": "The response of a WorkloadResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadResource items on this page", - "items": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - } - }, - "parameters": {} -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_CreateOrUpdate.json deleted file mode 100644 index 80e94c6c7478..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_CreateOrUpdate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "title": "Catalog_CreateOrUpdate", - "operationId": "Catalog_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName", - "resource": { - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - } - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Delete.json deleted file mode 100644 index bb1ba9b4264a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Catalog_Delete", - "operationId": "Catalog_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Get.json deleted file mode 100644 index 0478fc6dbffd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "Catalog_Get", - "operationId": "Catalog_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalog" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListByResourceGroup.json deleted file mode 100644 index 0a4bd14484e9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListByResourceGroup.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Catalog_ListByResourceGroup", - "operationId": "Catalog_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListBySubscription.json deleted file mode 100644 index d4fcafd0bc3b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_ListBySubscription.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Catalog_ListBySubscription", - "operationId": "Catalog_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Update.json deleted file mode 100644 index 1e34a5d14676..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Catalog_Update.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "title": "Catalog_Update", - "operationId": "Catalog_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "TestMyCatalog", - "properties": { - "tags": { - "TestKey": "TestValue" - }, - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index d481e0210076..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDNTag", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDNTag", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDNTag", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Delete.json deleted file mode 100644 index 1949961a0920..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Get.json deleted file mode 100644 index ac9a9b18951a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Get.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index 14092cbd1a6a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 9f496aebe93a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Update.json deleted file mode 100644 index 094e20d2fc40..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/CommunityEndpoints_Update.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "destinationRuleCollection": [ - { - "destinationType": "FQDN", - "destination": [ - "foo.example.com" - ], - "port": "443", - "protocol": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_CreateOrUpdate.json deleted file mode 100644 index 05d88a94cfdc..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_CreateOrUpdate.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Delete.json deleted file mode 100644 index d0b325d77f6d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Get.json deleted file mode 100644 index 862d8aad7296..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Get.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListByResourceGroup.json deleted file mode 100644 index 5f02f3fe2f7e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListByResourceGroup.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListBySubscription.json deleted file mode 100644 index 70c93788f4c7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_ListBySubscription.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Update.json deleted file mode 100644 index 6b8c7433207e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Community_Update.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 654b8df66f00..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Delete.json deleted file mode 100644 index 8dc702fb7bc4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Get.json deleted file mode 100644 index 41b95be12fa2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 469a4f86233d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 32a6fb458619..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Update.json deleted file mode 100644 index 2606a3556665..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 69c7450aac4f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Delete.json deleted file mode 100644 index 99fa5b597654..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Get.json deleted file mode 100644 index db0b11921981..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 7457e0a45ddf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index b2c3888aeebf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Update.json deleted file mode 100644 index b4e67dc7d40b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 85637b0205cb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 9f1af2d1fb96..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index d0c88d661c3b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 0a703fe35c54..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index 3071e7971797..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index 7a282dfd260c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index f113817edcc8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index d2bec8885b48..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index 7a7177026024..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index f56f708b3425..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 2bf98c3e96ae..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index f0d678e79c60..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index bf4be64bd96a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index 84df2c4d5b1d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index c6ec1833ef16..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index c7c34d5b1843..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index 867174d1fbf4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index 0f8434e1e4db..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Operations_List.json deleted file mode 100644 index 7cfbba37f381..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2023-08-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "fwljuroljeuiiyalge" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_CreateOrUpdate.json deleted file mode 100644 index 838789b74181..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Delete.json deleted file mode 100644 index 62c7cf86069f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Get.json deleted file mode 100644 index ed8d44563fdf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListByCommunityResource.json deleted file mode 100644 index a146a6c95f47..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListBySubscription.json deleted file mode 100644 index bdb4d04af4a6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Update.json deleted file mode 100644 index d5cffa467c07..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index c1d3a6cc5894..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Delete.json deleted file mode 100644 index cbd0dd51c514..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Get.json deleted file mode 100644 index 71f3e070c19e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Get.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index f6617afde952..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index d69533d9d194..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index a10c6a110074..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "title": "VirtualEnclave_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "MyVirtualEnclave", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small" - } - }, - "api-version": "2023-08-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Update.json deleted file mode 100644 index 4451690b5064..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/VirtualEnclave_Update.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_CreateOrUpdate.json deleted file mode 100644 index d29e1fb36462..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Delete.json deleted file mode 100644 index 89015c5a2781..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Get.json deleted file mode 100644 index 894773b774ae..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListByEnclaveResource.json deleted file mode 100644 index f99d62c34534..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListBySubscription.json deleted file mode 100644 index efcd9f97ead0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Update.json deleted file mode 100644 index 172df7e98a2b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/examples/Workload_Update.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2023-08-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "managedResourceGroups": [ - "MC_Deploy_TestMyRg" - ], - "provisioningState": "Succeeded" - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/openapi.json deleted file mode 100644 index 1b1037eee33c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-08-01-preview/openapi.json +++ /dev/null @@ -1,6176 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2023-08-01-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Workload" - }, - { - "name": "Endpoint" - }, - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "CatalogInterface" - }, - { - "name": "InternalConnections" - }, - { - "name": "TransitHub" - }, - { - "name": "EnclaveConnection" - }, - { - "name": "EnclaveEndpoints" - }, - { - "name": "CommunityEndpoints" - }, - { - "name": "ExternalConnections" - } - ], - "paths": { - "/providers/Microsoft.Mission/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/catalogs": { - "get": { - "operationId": "Catalog_ListBySubscription", - "tags": [ - "CatalogInterface" - ], - "description": "List CatalogResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_ListBySubscription": { - "$ref": "./examples/Catalog_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListBySubscription", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListBySubscription": { - "$ref": "./examples/Community_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListBySubscription", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListBySubscription": { - "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListBySubscription", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListBySubscription": { - "$ref": "./examples/TransitHub_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListBySubscription", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListBySubscription": { - "$ref": "./examples/EnclaveConnection_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListBySubscription", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription": { - "$ref": "./examples/VirtualEnclave_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListBySubscription", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListBySubscription": { - "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListBySubscription", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListBySubscription": { - "$ref": "./examples/Workload_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs": { - "get": { - "operationId": "Catalog_ListByResourceGroup", - "tags": [ - "CatalogInterface" - ], - "description": "List CatalogResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_ListByResourceGroup": { - "$ref": "./examples/Catalog_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs/{catalogName}": { - "get": { - "operationId": "Catalog_Get", - "tags": [ - "CatalogInterface" - ], - "description": "Get a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Get": { - "$ref": "./examples/Catalog_Get.json" - } - } - }, - "put": { - "operationId": "Catalog_CreateOrUpdate", - "tags": [ - "CatalogInterface" - ], - "description": "Create a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CatalogResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CatalogResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "201": { - "description": "Resource 'CatalogResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CatalogResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_CreateOrUpdate": { - "$ref": "./examples/Catalog_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Catalog_Update", - "tags": [ - "CatalogInterface" - ], - "description": "Update a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CatalogResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Update": { - "$ref": "./examples/Catalog_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Catalog_Delete", - "tags": [ - "CatalogInterface" - ], - "description": "Delete a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Delete": { - "$ref": "./examples/Catalog_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListByResourceGroup", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListByResourceGroup": { - "$ref": "./examples/Community_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "operationId": "Community_Get", - "tags": [ - "Community" - ], - "description": "Get a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get": { - "$ref": "./examples/Community_Get.json" - } - } - }, - "put": { - "operationId": "Community_CreateOrUpdate", - "tags": [ - "Community" - ], - "description": "Create a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "201": { - "description": "Resource 'CommunityResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CreateOrUpdate": { - "$ref": "./examples/Community_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Community_Update", - "tags": [ - "Community" - ], - "description": "Update a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", - "tags": [ - "Community" - ], - "description": "Delete a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListByCommunityResource", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListByCommunityResource": { - "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { - "get": { - "operationId": "CommunityEndpoints_Get", - "tags": [ - "CommunityEndpoints" - ], - "description": "Get a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Get": { - "$ref": "./examples/CommunityEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "CommunityEndpoints_CreateOrUpdate", - "tags": [ - "CommunityEndpoints" - ], - "description": "Create a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "201": { - "description": "Resource 'CommunityEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_CreateOrUpdate": { - "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CommunityEndpoints_Update", - "tags": [ - "CommunityEndpoints" - ], - "description": "Update a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", - "tags": [ - "CommunityEndpoints" - ], - "description": "Delete a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListByCommunityResource", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListByCommunityResource": { - "$ref": "./examples/TransitHub_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { - "get": { - "operationId": "TransitHub_Get", - "tags": [ - "TransitHub" - ], - "description": "Get a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Get": { - "$ref": "./examples/TransitHub_Get.json" - } - } - }, - "put": { - "operationId": "TransitHub_CreateOrUpdate", - "tags": [ - "TransitHub" - ], - "description": "Create a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'TransitHubResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "201": { - "description": "Resource 'TransitHubResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_CreateOrUpdate": { - "$ref": "./examples/TransitHub_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "TransitHub_Update", - "tags": [ - "TransitHub" - ], - "description": "Update a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", - "tags": [ - "TransitHub" - ], - "description": "Delete a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListByResourceGroup", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListByResourceGroup": { - "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { - "get": { - "operationId": "EnclaveConnection_Get", - "tags": [ - "EnclaveConnection" - ], - "description": "Get a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Get": { - "$ref": "./examples/EnclaveConnection_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveConnection_CreateOrUpdate", - "tags": [ - "EnclaveConnection" - ], - "description": "Create a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveConnectionResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "201": { - "description": "Resource 'EnclaveConnectionResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_CreateOrUpdate": { - "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveConnection_Update", - "tags": [ - "EnclaveConnection" - ], - "description": "Update a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", - "tags": [ - "EnclaveConnection" - ], - "description": "Delete a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListByResourceGroup", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { - "get": { - "operationId": "ExternalConnections_Get", - "tags": [ - "ExternalConnections" - ], - "description": "Get a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "ExternalConnections_CreateOrUpdate", - "tags": [ - "ExternalConnections" - ], - "description": "Create a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ExternalConnections_Update", - "tags": [ - "ExternalConnections" - ], - "description": "Update a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", - "tags": [ - "ExternalConnections" - ], - "description": "Delete a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", - "tags": [ - "InternalConnections" - ], - "description": "Get a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "tags": [ - "VirtualEnclave" - ], - "description": "Checks that the IP Address Space to be allocated for this Virtual Enclave is available.", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CheckAddressSpaceAvailability": { - "$ref": "./examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Delete a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { - "$ref": "./examples/Workload_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { - "get": { - "operationId": "Workload_Get", - "tags": [ - "Workload" - ], - "description": "Get a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Get": { - "$ref": "./examples/Workload_Get.json" - } - } - }, - "put": { - "operationId": "Workload_CreateOrUpdate", - "tags": [ - "Workload" - ], - "description": "Create a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'WorkloadResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "201": { - "description": "Resource 'WorkloadResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_CreateOrUpdate": { - "$ref": "./examples/Workload_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Workload_Update", - "tags": [ - "Workload" - ], - "description": "Update a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", - "tags": [ - "Workload" - ], - "description": "Delete a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ] - }, - "BlobCatalog": { - "type": "object", - "description": "Blob Catalog type.", - "properties": { - "catalogStorageType": { - "$ref": "#/definitions/CatalogStorageType", - "description": "Catalog's storage type." - }, - "uri": { - "type": "string", - "description": "Catalog Storage's URI." - } - } - }, - "Catalog": { - "type": "object", - "x-nullable": false, - "allOf": [ - { - "$ref": "#/definitions/BlobCatalog" - } - ] - }, - "CatalogProperties": { - "type": "object", - "description": "Catalog properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "ownedBy": { - "type": "string", - "description": "Owning Resource of the Catalog." - }, - "communityResourceId": { - "type": "string", - "description": "Community Resource Id." - }, - "enclaveResourceId": { - "type": "string", - "description": "Virtual Enclave Resource Id." - }, - "catalog": { - "$ref": "#/definitions/Catalog", - "description": "Catalog Connection properties." - }, - "packageCollection": { - "type": "array", - "description": "List of packages for catalog.", - "items": { - "$ref": "#/definitions/Package" - } - } - } - }, - "CatalogResource": { - "type": "object", - "description": "Catalog Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CatalogProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CatalogResourceListResult": { - "type": "object", - "description": "The response of a CatalogResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CatalogResource items on this page", - "items": { - "$ref": "#/definitions/CatalogResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CatalogResourceUpdate": { - "type": "object", - "description": "Catalog Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CatalogProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CatalogStorageType": { - "type": "string", - "description": "List of storage types support by catalog", - "enum": [ - "BlobCatalog" - ], - "x-ms-enum": { - "name": "CatalogStorageType", - "modelAsString": true, - "values": [ - { - "name": "BlobCatalog", - "value": "BlobCatalog", - "description": "Blob Storage Catalog Type" - } - ] - } - }, - "CheckAddressSpaceAvailabilityRequest": { - "type": "object", - "description": "Request to the action call to check address space availability.", - "properties": { - "communityResourceId": { - "type": "string", - "description": "Resource Id of the Community" - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Information about the enclave virtual network" - } - }, - "required": [ - "communityResourceId", - "enclaveVirtualNetwork" - ] - }, - "CheckAddressSpaceAvailabilityResponse": { - "type": "object", - "description": "Response of availability of the requested address space.", - "properties": { - "value": { - "type": "boolean", - "description": "Boolean representing whether the address space is available." - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointProperties": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "destinationRuleCollection": { - "type": "array", - "description": "Destination Rule Collection.", - "items": { - "$ref": "#/definitions/DestinationRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "required": [ - "destinationRuleCollection" - ] - }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "destinationRuleCollection": { - "type": "array", - "description": "Destination Rule Collection.", - "items": { - "$ref": "#/definitions/DestinationRule" - }, - "x-ms-identifiers": [ - "name" - ] - } - } - }, - "CommunityEndpointProtocol": { - "type": "string", - "description": "Community Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH", - "HTTPS", - "HTTP" - ], - "x-ms-enum": { - "name": "CommunityEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "CommunityEndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "CommunityEndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "CommunityEndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "CommunityEndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "CommunityEndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "CommunityEndpointProtocol Type AH" - }, - { - "name": "HTTPS", - "value": "HTTPS", - "description": "CommunityEndpointProtocol Type HTTPS" - }, - { - "name": "HTTP", - "value": "HTTP", - "description": "CommunityEndpointProtocol Type HTTP" - } - ] - } - }, - "CommunityEndpointResource": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityEndpointResourceListResult": { - "type": "object", - "description": "The response of a CommunityEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityEndpointResource items on this page", - "items": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CommunityProperties": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", - "items": { - "$ref": "#/definitions/CommunityResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "DestinationEndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" - }, - { - "type": "Microsoft.Mission/communities/communityEndpoints" - } - ] - } - }, - "DestinationRule": { - "type": "object", - "description": "Base type for destination rules.", - "properties": { - "name": { - "type": "string", - "description": "Destination Rule Name." - }, - "destinationType": { - "$ref": "#/definitions/DestinationType", - "description": "Destination Type." - }, - "destination": { - "type": "array", - "description": "Destination must follow the format for FQDNs if it is selected as the destination type (no IP/CIDR or full web URLs).", - "items": { - "type": "string" - } - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "type": "array", - "description": "Protocol. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/CommunityEndpointProtocol" - } - }, - "transitHubResourceId": { - "$ref": "#/definitions/TransitHubResourceId", - "description": "Transit Hub Resource Id." - } - }, - "required": [ - "destination" - ] - }, - "DestinationType": { - "type": "string", - "description": "Destination Type Enum", - "enum": [ - "FQDN", - "FQDNTag", - "IPAddress", - "PrivateNetwork" - ], - "x-ms-enum": { - "name": "DestinationType", - "modelAsString": true, - "values": [ - { - "name": "FQDN", - "value": "FQDN", - "description": "DestinationType Type FQDN" - }, - { - "name": "FQDNTag", - "value": "FQDNTag", - "description": "DestinationType Type FQDNTag" - }, - { - "name": "IPAddress", - "value": "IPAddress", - "description": "DestinationType Type IPAddress" - }, - { - "name": "PrivateNetwork", - "value": "PrivateNetwork", - "description": "DestinationType Type PrivateNetwork" - } - ] - } - }, - "EnclaveAddressSpaces": { - "type": "object", - "description": "Enclave Address Spaces", - "properties": { - "enclaveAddressSpace": { - "type": "string", - "description": "Enclave Address Space" - }, - "managedAddressSpace": { - "type": "string", - "description": "Managed Address Space" - } - }, - "required": [ - "enclaveAddressSpace", - "managedAddressSpace" - ] - }, - "EnclaveConnectionProperties": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] - }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionResource": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveConnectionResourceListResult": { - "type": "object", - "description": "The response of a EnclaveConnectionResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveConnectionResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveConnectionSourceResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - }, - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "EnclaveConnectionState": { - "type": "string", - "description": "Specifies the state of the enclave connection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed", - "Connected", - "Disconnected" - ], - "x-ms-enum": { - "name": "EnclaveConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "EnclaveConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "EnclaveConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "EnclaveConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "EnclaveConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "EnclaveConnectionState Type Failed" - }, - { - "name": "Connected", - "value": "Connected", - "description": "EnclaveConnectionState Type Connected" - }, - { - "name": "Disconnected", - "value": "Disconnected", - "description": "EnclaveConnectionState Type Disconnected" - } - ] - } - }, - "EnclaveDefaultSettings": { - "type": "object", - "description": "Virtual Enclave Default Settings", - "properties": { - "keyVaultResourceId": { - "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." - }, - "logAnalyticsResourceId": { - "$ref": "#/definitions/LogAnalyticsResourceId", - "description": "Log Analytics Resource Id." - }, - "storageAccountResourceId": { - "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." - } - } - }, - "EnclaveEndpointProperties": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EnclaveEndpointProtocol": { - "type": "string", - "description": "Enclave Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EnclaveEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EnclaveEndpointResource": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveEndpointResourceListResult": { - "type": "object", - "description": "The response of a EnclaveEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveEndpointResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveEndpointRule": { - "type": "object", - "description": "Enclave Endpoint Rule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EnclaveEndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "EnclaveResource": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveResourceListResult": { - "type": "object", - "description": "The response of a EnclaveResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveVirtualNetwork": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - } - }, - "required": [ - "networkSize" - ] - }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] - }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] - } - }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "IPGroupResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/IpGroups" - } - ] - } - }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] - }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "KeyVaultResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "LogAnalyticsResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - }, - "ManagedResourceGroupConfiguration": { - "type": "object", - "description": "ManagedResourceGroup related properties", - "properties": { - "name": { - "type": "string", - "description": "Name of managed resource group" - }, - "location": { - "type": "string", - "description": "Managed Resource Group location" - } - } - }, - "Package": { - "type": "object", - "description": "Package Properties", - "properties": { - "id": { - "type": "string", - "description": "Package Id." - }, - "name": { - "type": "string", - "description": "Package Name." - }, - "metadata": { - "type": "object", - "description": "Package metadata.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning status of the resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted", - "Created", - "Creating", - "Deleted", - "Deleting", - "NotSpecified", - "Ready", - "Running", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Accepted", - "value": "Accepted", - "description": "Provisioning State Type Accepted" - }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Provisioning State Type Creating" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Provisioning State Type Deleting" - }, - { - "name": "NotSpecified", - "value": "NotSpecified", - "description": "Provisioning State Type NotSpecified" - }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, - { - "name": "Running", - "value": "Running", - "description": "Provisioning State Type Running" - }, - { - "name": "Updating", - "value": "Updating", - "description": "Provisioning State Type Updating" - } - ] - }, - "readOnly": true - }, - "StorageAccountResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - } - }, - "TransitHubProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubResource": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "TransitHubResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "TransitHubResourceListResult": { - "type": "object", - "description": "The response of a TransitHubResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The TransitHubResource items on this page", - "items": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "TransitHubState": { - "type": "string", - "description": "Specifies the state of the transitHub.", - "enum": [ - "PendingApproval", - "Approved", - "PendingUpdate", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "TransitHubState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "TransitHubState Type PendingApproval" - }, - { - "name": "Approved", - "value": "Approved", - "description": "TransitHubState Type Approved" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "TransitHubState Type PendingUpdate" - }, - { - "name": "Active", - "value": "Active", - "description": "TransitHubState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "TransitHubState Type Failed" - } - ] - } - }, - "TransitOption": { - "type": "object", - "description": "TransitOption Properties", - "properties": { - "type": { - "$ref": "#/definitions/TransitOptionType", - "description": "Transit Option Type." - }, - "params": { - "$ref": "#/definitions/TransitOptionParams", - "description": "Transit Option Params" - } - } - }, - "TransitOptionParams": { - "type": "object", - "description": "TransitOptionParams Properties", - "properties": { - "scaleUnits": { - "type": "integer", - "format": "int64", - "description": "Transit Option Params scaleUnits." - }, - "remoteVirtualNetworkId": { - "type": "string", - "description": "Transit Option Params remoteVirtualNetworkId." - } - } - }, - "TransitOptionType": { - "type": "string", - "description": "Specifies the type of the transitOption.", - "enum": [ - "ExpressRoute", - "Gateway", - "Peering" - ], - "x-ms-enum": { - "name": "TransitOptionType", - "modelAsString": true, - "values": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute", - "description": "TransitOptionType ExpressRoute" - }, - { - "name": "Gateway", - "value": "Gateway", - "description": "TransitOptionType Gateway" - }, - { - "name": "Peering", - "value": "Peering", - "description": "TransitOptionType Peering" - } - ] - } - }, - "VirtualEnclaveProperties": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] - }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - } - }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, - "WorkloadProperties": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "managedResourceGroups": { - "type": "array", - "description": "Managed Resource Groups.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "WorkloadResource": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "WorkloadResourceListResult": { - "type": "object", - "description": "The response of a WorkloadResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadResource items on this page", - "items": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - } - }, - "parameters": {} -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_CreateOrUpdate.json deleted file mode 100644 index 03a72f32745d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_CreateOrUpdate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "title": "Catalog_CreateOrUpdate", - "operationId": "Catalog_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName", - "resource": { - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - } - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Delete.json deleted file mode 100644 index 3caaa95e849e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Catalog_Delete", - "operationId": "Catalog_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Get.json deleted file mode 100644 index ada437319fc9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "Catalog_Get", - "operationId": "Catalog_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalog" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListByResourceGroup.json deleted file mode 100644 index cb0ceeec019d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListByResourceGroup.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Catalog_ListByResourceGroup", - "operationId": "Catalog_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListBySubscription.json deleted file mode 100644 index f671598c6334..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_ListBySubscription.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Catalog_ListBySubscription", - "operationId": "Catalog_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Update.json deleted file mode 100644 index 40dfff050b2c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Catalog_Update.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "title": "Catalog_Update", - "operationId": "Catalog_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "TestMyCatalog", - "properties": { - "tags": { - "TestKey": "TestValue" - }, - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index 76362e58e275..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Delete.json deleted file mode 100644 index f4a6051501de..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Get.json deleted file mode 100644 index c0748bc12ae3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index d7944505ad4e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 1404161fe190..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Update.json deleted file mode 100644 index 09df08a60c56..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/CommunityEndpoints_Update.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_CreateOrUpdate.json deleted file mode 100644 index 2bd4cb58e737..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_CreateOrUpdate.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Delete.json deleted file mode 100644 index e95d6b563beb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Get.json deleted file mode 100644 index 917977cb5433..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Get.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListByResourceGroup.json deleted file mode 100644 index 3484e6a4096b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListByResourceGroup.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListBySubscription.json deleted file mode 100644 index 97077b878cb8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_ListBySubscription.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Update.json deleted file mode 100644 index b1105bd8a067..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Community_Update.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index a2914c00b39f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Delete.json deleted file mode 100644 index c7b5f05fa899..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Get.json deleted file mode 100644 index eb5d27f6cd22..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index dd0c56687a90..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index e17564e99aa9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Update.json deleted file mode 100644 index 945583399378..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 54970f297b2f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Delete.json deleted file mode 100644 index 80bfb091fcbf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Get.json deleted file mode 100644 index 8efc34ab2c69..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 43359f8e150f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 6cd9bd90d492..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Update.json deleted file mode 100644 index 6ade06e57dc4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 18b83590f2e0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 84f94fa31380..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index 80de61d865dc..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index fe1e4724edf7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index 2041e8532dfe..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index 3a893ab73ff6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index fd2b836bcf5c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index 18056e46f312..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index d4319a5e8d09..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index e31257eb8054..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index e1106a079973..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index bfc798d2b791..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 2dd86c73ebb1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index 22716f58d37a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index 4de59eca5e37..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index c7125da87975..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index f31c7abd5638..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index ad3b562ffecb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Operations_List.json deleted file mode 100644 index 3f9b06fa98c6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "fwljuroljeuiiyalge" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_CreateOrUpdate.json deleted file mode 100644 index 14c51e41a0c3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Delete.json deleted file mode 100644 index 5a42a4593502..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Get.json deleted file mode 100644 index 926b844311ca..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListByCommunityResource.json deleted file mode 100644 index 85691e329958..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListBySubscription.json deleted file mode 100644 index d2a0d512c2b6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Update.json deleted file mode 100644 index 4399d4ea7e69..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 77e58461e753..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Delete.json deleted file mode 100644 index 2a9d2fba739f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Get.json deleted file mode 100644 index fe8e4a3bd690..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Get.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index c9185b7c2f28..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 3cc0022c619b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 2be209c34f3e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "title": "VirtualEnclave_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "MyVirtualEnclave", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small" - } - }, - "api-version": "2023-11-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Update.json deleted file mode 100644 index a2edf17df2a2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/VirtualEnclave_Update.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "logAnalyticsResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_CreateOrUpdate.json deleted file mode 100644 index 10765dd58297..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Delete.json deleted file mode 100644 index b0ccc8fb3c72..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Get.json deleted file mode 100644 index 4a1ba19f029a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Get.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListByEnclaveResource.json deleted file mode 100644 index 39fe0964682f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListBySubscription.json deleted file mode 100644 index a37cae531803..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Update.json deleted file mode 100644 index 1777ea4dabe6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/examples/Workload_Update.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2023-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/openapi.json deleted file mode 100644 index 532f945747c6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2023-11-01-preview/openapi.json +++ /dev/null @@ -1,6194 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2023-11-01-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Workload" - }, - { - "name": "Endpoint" - }, - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "CatalogInterface" - }, - { - "name": "InternalConnections" - }, - { - "name": "TransitHub" - }, - { - "name": "EnclaveConnection" - }, - { - "name": "EnclaveEndpoints" - }, - { - "name": "CommunityEndpoints" - }, - { - "name": "ExternalConnections" - } - ], - "paths": { - "/providers/Microsoft.Mission/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/catalogs": { - "get": { - "operationId": "Catalog_ListBySubscription", - "tags": [ - "CatalogInterface" - ], - "description": "List CatalogResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_ListBySubscription": { - "$ref": "./examples/Catalog_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListBySubscription", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListBySubscription": { - "$ref": "./examples/Community_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListBySubscription", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListBySubscription": { - "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListBySubscription", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListBySubscription": { - "$ref": "./examples/TransitHub_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListBySubscription", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListBySubscription": { - "$ref": "./examples/EnclaveConnection_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListBySubscription", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription": { - "$ref": "./examples/VirtualEnclave_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListBySubscription", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListBySubscription": { - "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListBySubscription", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListBySubscription": { - "$ref": "./examples/Workload_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs": { - "get": { - "operationId": "Catalog_ListByResourceGroup", - "tags": [ - "CatalogInterface" - ], - "description": "List CatalogResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_ListByResourceGroup": { - "$ref": "./examples/Catalog_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs/{catalogName}": { - "get": { - "operationId": "Catalog_Get", - "tags": [ - "CatalogInterface" - ], - "description": "Get a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Get": { - "$ref": "./examples/Catalog_Get.json" - } - } - }, - "put": { - "operationId": "Catalog_CreateOrUpdate", - "tags": [ - "CatalogInterface" - ], - "description": "Create a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CatalogResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CatalogResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "201": { - "description": "Resource 'CatalogResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CatalogResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_CreateOrUpdate": { - "$ref": "./examples/Catalog_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Catalog_Update", - "tags": [ - "CatalogInterface" - ], - "description": "Update a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CatalogResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Update": { - "$ref": "./examples/Catalog_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Catalog_Delete", - "tags": [ - "CatalogInterface" - ], - "description": "Delete a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Delete": { - "$ref": "./examples/Catalog_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListByResourceGroup", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListByResourceGroup": { - "$ref": "./examples/Community_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "operationId": "Community_Get", - "tags": [ - "Community" - ], - "description": "Get a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get": { - "$ref": "./examples/Community_Get.json" - } - } - }, - "put": { - "operationId": "Community_CreateOrUpdate", - "tags": [ - "Community" - ], - "description": "Create a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "201": { - "description": "Resource 'CommunityResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CreateOrUpdate": { - "$ref": "./examples/Community_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Community_Update", - "tags": [ - "Community" - ], - "description": "Update a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", - "tags": [ - "Community" - ], - "description": "Delete a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListByCommunityResource", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListByCommunityResource": { - "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { - "get": { - "operationId": "CommunityEndpoints_Get", - "tags": [ - "CommunityEndpoints" - ], - "description": "Get a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Get": { - "$ref": "./examples/CommunityEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "CommunityEndpoints_CreateOrUpdate", - "tags": [ - "CommunityEndpoints" - ], - "description": "Create a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "201": { - "description": "Resource 'CommunityEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_CreateOrUpdate": { - "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CommunityEndpoints_Update", - "tags": [ - "CommunityEndpoints" - ], - "description": "Update a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", - "tags": [ - "CommunityEndpoints" - ], - "description": "Delete a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListByCommunityResource", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListByCommunityResource": { - "$ref": "./examples/TransitHub_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { - "get": { - "operationId": "TransitHub_Get", - "tags": [ - "TransitHub" - ], - "description": "Get a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Get": { - "$ref": "./examples/TransitHub_Get.json" - } - } - }, - "put": { - "operationId": "TransitHub_CreateOrUpdate", - "tags": [ - "TransitHub" - ], - "description": "Create a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'TransitHubResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "201": { - "description": "Resource 'TransitHubResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_CreateOrUpdate": { - "$ref": "./examples/TransitHub_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "TransitHub_Update", - "tags": [ - "TransitHub" - ], - "description": "Update a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", - "tags": [ - "TransitHub" - ], - "description": "Delete a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListByResourceGroup", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListByResourceGroup": { - "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { - "get": { - "operationId": "EnclaveConnection_Get", - "tags": [ - "EnclaveConnection" - ], - "description": "Get a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Get": { - "$ref": "./examples/EnclaveConnection_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveConnection_CreateOrUpdate", - "tags": [ - "EnclaveConnection" - ], - "description": "Create a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveConnectionResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "201": { - "description": "Resource 'EnclaveConnectionResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_CreateOrUpdate": { - "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveConnection_Update", - "tags": [ - "EnclaveConnection" - ], - "description": "Update a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", - "tags": [ - "EnclaveConnection" - ], - "description": "Delete a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListByResourceGroup", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { - "get": { - "operationId": "ExternalConnections_Get", - "tags": [ - "ExternalConnections" - ], - "description": "Get a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "ExternalConnections_CreateOrUpdate", - "tags": [ - "ExternalConnections" - ], - "description": "Create a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ExternalConnections_Update", - "tags": [ - "ExternalConnections" - ], - "description": "Update a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", - "tags": [ - "ExternalConnections" - ], - "description": "Delete a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", - "tags": [ - "InternalConnections" - ], - "description": "Get a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "tags": [ - "VirtualEnclave" - ], - "description": "Checks that the IP Address Space to be allocated for this Virtual Enclave is available.", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CheckAddressSpaceAvailability": { - "$ref": "./examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Delete a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { - "$ref": "./examples/Workload_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { - "get": { - "operationId": "Workload_Get", - "tags": [ - "Workload" - ], - "description": "Get a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Get": { - "$ref": "./examples/Workload_Get.json" - } - } - }, - "put": { - "operationId": "Workload_CreateOrUpdate", - "tags": [ - "Workload" - ], - "description": "Create a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'WorkloadResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "201": { - "description": "Resource 'WorkloadResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_CreateOrUpdate": { - "$ref": "./examples/Workload_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Workload_Update", - "tags": [ - "Workload" - ], - "description": "Update a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", - "tags": [ - "Workload" - ], - "description": "Delete a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ] - }, - "BlobCatalog": { - "type": "object", - "description": "Blob Catalog type.", - "properties": { - "catalogStorageType": { - "$ref": "#/definitions/CatalogStorageType", - "description": "Catalog's storage type." - }, - "uri": { - "type": "string", - "description": "Catalog Storage's URI." - } - } - }, - "Catalog": { - "type": "object", - "x-nullable": false, - "allOf": [ - { - "$ref": "#/definitions/BlobCatalog" - } - ] - }, - "CatalogProperties": { - "type": "object", - "description": "Catalog properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "ownedBy": { - "type": "string", - "description": "Owning Resource of the Catalog." - }, - "communityResourceId": { - "type": "string", - "description": "Community Resource Id." - }, - "enclaveResourceId": { - "type": "string", - "description": "Virtual Enclave Resource Id." - }, - "catalog": { - "$ref": "#/definitions/Catalog", - "description": "Catalog Connection properties." - }, - "packageCollection": { - "type": "array", - "description": "List of packages for catalog.", - "items": { - "$ref": "#/definitions/Package" - } - } - } - }, - "CatalogResource": { - "type": "object", - "description": "Catalog Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CatalogProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CatalogResourceListResult": { - "type": "object", - "description": "The response of a CatalogResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CatalogResource items on this page", - "items": { - "$ref": "#/definitions/CatalogResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CatalogResourceUpdate": { - "type": "object", - "description": "Catalog Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CatalogProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CatalogStorageType": { - "type": "string", - "description": "List of storage types support by catalog", - "enum": [ - "BlobCatalog" - ], - "x-ms-enum": { - "name": "CatalogStorageType", - "modelAsString": true, - "values": [ - { - "name": "BlobCatalog", - "value": "BlobCatalog", - "description": "Blob Storage Catalog Type" - } - ] - } - }, - "CheckAddressSpaceAvailabilityRequest": { - "type": "object", - "description": "Request to the action call to check address space availability.", - "properties": { - "communityResourceId": { - "type": "string", - "description": "Resource Id of the Community" - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Information about the enclave virtual network" - } - }, - "required": [ - "communityResourceId", - "enclaveVirtualNetwork" - ] - }, - "CheckAddressSpaceAvailabilityResponse": { - "type": "object", - "description": "Response of availability of the requested address space.", - "properties": { - "value": { - "type": "boolean", - "description": "Boolean representing whether the address space is available." - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointDestinationRule": { - "type": "object", - "description": "Base type for destination rules.", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "destinationType": { - "$ref": "#/definitions/DestinationType", - "description": "Destination Type." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/CommunityEndpointProtocol" - } - }, - "transitHubResourceId": { - "$ref": "#/definitions/TransitHubResourceId", - "description": "Transit Hub Resource Id." - } - } - }, - "CommunityEndpointProperties": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "required": [ - "ruleCollection" - ] - }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - } - } - }, - "CommunityEndpointProtocol": { - "type": "string", - "description": "Community Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH", - "HTTPS", - "HTTP" - ], - "x-ms-enum": { - "name": "CommunityEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "CommunityEndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "CommunityEndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "CommunityEndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "CommunityEndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "CommunityEndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "CommunityEndpointProtocol Type AH" - }, - { - "name": "HTTPS", - "value": "HTTPS", - "description": "CommunityEndpointProtocol Type HTTPS" - }, - { - "name": "HTTP", - "value": "HTTP", - "description": "CommunityEndpointProtocol Type HTTP" - } - ] - } - }, - "CommunityEndpointResource": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityEndpointResourceListResult": { - "type": "object", - "description": "The response of a CommunityEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityEndpointResource items on this page", - "items": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CommunityProperties": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", - "items": { - "$ref": "#/definitions/CommunityResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "DestinationEndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" - }, - { - "type": "Microsoft.Mission/communities/communityEndpoints" - } - ] - } - }, - "DestinationType": { - "type": "string", - "description": "Destination Type Enum", - "enum": [ - "FQDN", - "FQDNTag", - "IPAddress", - "PrivateNetwork" - ], - "x-ms-enum": { - "name": "DestinationType", - "modelAsString": true, - "values": [ - { - "name": "FQDN", - "value": "FQDN", - "description": "DestinationType Type FQDN" - }, - { - "name": "FQDNTag", - "value": "FQDNTag", - "description": "DestinationType Type FQDNTag" - }, - { - "name": "IPAddress", - "value": "IPAddress", - "description": "DestinationType Type IPAddress" - }, - { - "name": "PrivateNetwork", - "value": "PrivateNetwork", - "description": "DestinationType Type PrivateNetwork" - } - ] - } - }, - "EnclaveAddressSpaces": { - "type": "object", - "description": "Enclave Address Spaces", - "properties": { - "enclaveAddressSpace": { - "type": "string", - "description": "Enclave Address Space" - }, - "managedAddressSpace": { - "type": "string", - "description": "Managed Address Space" - } - }, - "required": [ - "enclaveAddressSpace", - "managedAddressSpace" - ] - }, - "EnclaveConnectionProperties": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] - }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionResource": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveConnectionResourceListResult": { - "type": "object", - "description": "The response of a EnclaveConnectionResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveConnectionResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveConnectionSourceResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - }, - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "EnclaveConnectionState": { - "type": "string", - "description": "Specifies the state of the enclave connection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed", - "Connected", - "Disconnected" - ], - "x-ms-enum": { - "name": "EnclaveConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "EnclaveConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "EnclaveConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "EnclaveConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "EnclaveConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "EnclaveConnectionState Type Failed" - }, - { - "name": "Connected", - "value": "Connected", - "description": "EnclaveConnectionState Type Connected" - }, - { - "name": "Disconnected", - "value": "Disconnected", - "description": "EnclaveConnectionState Type Disconnected" - } - ] - } - }, - "EnclaveDefaultSettings": { - "type": "object", - "description": "Virtual Enclave Default Settings", - "properties": { - "keyVaultResourceId": { - "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." - }, - "logAnalyticsResourceId": { - "$ref": "#/definitions/LogAnalyticsResourceId", - "description": "Log Analytics Resource Id." - }, - "storageAccountResourceId": { - "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." - } - } - }, - "EnclaveEndpointDestinationRule": { - "type": "object", - "description": "Enclave Endpoint Rule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/EnclaveEndpointProtocol" - } - } - } - }, - "EnclaveEndpointProperties": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "required": [ - "ruleCollection" - ] - }, - "EnclaveEndpointPropertiesUpdate": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - } - } - }, - "EnclaveEndpointProtocol": { - "type": "string", - "description": "Enclave Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EnclaveEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EnclaveEndpointResource": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveEndpointResourceListResult": { - "type": "object", - "description": "The response of a EnclaveEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveEndpointResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveResource": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveResourceListResult": { - "type": "object", - "description": "The response of a EnclaveResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveVirtualNetwork": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - } - }, - "required": [ - "networkSize" - ] - }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] - }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] - } - }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "IPGroupResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/IpGroups" - } - ] - } - }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] - }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "KeyVaultResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "LogAnalyticsResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - }, - "ManagedResourceGroupConfiguration": { - "type": "object", - "description": "ManagedResourceGroup related properties", - "properties": { - "name": { - "type": "string", - "description": "Name of managed resource group" - }, - "location": { - "type": "string", - "description": "Managed Resource Group location" - } - } - }, - "Package": { - "type": "object", - "description": "Package Properties", - "properties": { - "id": { - "type": "string", - "description": "Package Id." - }, - "name": { - "type": "string", - "description": "Package Name." - }, - "metadata": { - "type": "object", - "description": "Package metadata.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning status of the resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted", - "Created", - "Creating", - "Deleted", - "Deleting", - "NotSpecified", - "Ready", - "Running", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Accepted", - "value": "Accepted", - "description": "Provisioning State Type Accepted" - }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Provisioning State Type Creating" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Provisioning State Type Deleting" - }, - { - "name": "NotSpecified", - "value": "NotSpecified", - "description": "Provisioning State Type NotSpecified" - }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, - { - "name": "Running", - "value": "Running", - "description": "Provisioning State Type Running" - }, - { - "name": "Updating", - "value": "Updating", - "description": "Provisioning State Type Updating" - } - ] - }, - "readOnly": true - }, - "StorageAccountResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - } - }, - "TransitHubProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubResource": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "TransitHubResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "TransitHubResourceListResult": { - "type": "object", - "description": "The response of a TransitHubResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The TransitHubResource items on this page", - "items": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "TransitHubState": { - "type": "string", - "description": "Specifies the state of the transitHub.", - "enum": [ - "PendingApproval", - "Approved", - "PendingUpdate", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "TransitHubState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "TransitHubState Type PendingApproval" - }, - { - "name": "Approved", - "value": "Approved", - "description": "TransitHubState Type Approved" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "TransitHubState Type PendingUpdate" - }, - { - "name": "Active", - "value": "Active", - "description": "TransitHubState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "TransitHubState Type Failed" - } - ] - } - }, - "TransitOption": { - "type": "object", - "description": "TransitOption Properties", - "properties": { - "type": { - "$ref": "#/definitions/TransitOptionType", - "description": "Transit Option Type." - }, - "params": { - "$ref": "#/definitions/TransitOptionParams", - "description": "Transit Option Params" - } - } - }, - "TransitOptionParams": { - "type": "object", - "description": "TransitOptionParams Properties", - "properties": { - "scaleUnits": { - "type": "integer", - "format": "int64", - "description": "Transit Option Params scaleUnits." - }, - "remoteVirtualNetworkId": { - "type": "string", - "description": "Transit Option Params remoteVirtualNetworkId." - } - } - }, - "TransitOptionType": { - "type": "string", - "description": "Specifies the type of the transitOption.", - "enum": [ - "ExpressRoute", - "Gateway", - "Peering" - ], - "x-ms-enum": { - "name": "TransitOptionType", - "modelAsString": true, - "values": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute", - "description": "TransitOptionType ExpressRoute" - }, - { - "name": "Gateway", - "value": "Gateway", - "description": "TransitOptionType Gateway" - }, - { - "name": "Peering", - "value": "Peering", - "description": "TransitOptionType Peering" - } - ] - } - }, - "VirtualEnclaveProperties": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] - }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - } - }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, - "WorkloadProperties": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - }, - "required": [ - "managedResourceGroupConfiguration" - ] - }, - "WorkloadPropertiesUpdate": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - } - }, - "WorkloadResource": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "WorkloadResourceListResult": { - "type": "object", - "description": "The response of a WorkloadResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadResource items on this page", - "items": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - } - }, - "parameters": {} -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_CreateOrUpdate.json deleted file mode 100644 index 40270778afdb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_CreateOrUpdate.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "title": "Catalog_CreateOrUpdate", - "operationId": "Catalog_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "893733DE-927A-400D-B5C9-D4A34C9E16A8", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName", - "resource": { - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - } - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Delete.json deleted file mode 100644 index c0cab72029f5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Catalog_Delete", - "operationId": "Catalog_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalogName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Get.json deleted file mode 100644 index 174c0c8f3572..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "Catalog_Get", - "operationId": "Catalog_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "testCatalog" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListByResourceGroup.json deleted file mode 100644 index 423f91d167c0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListByResourceGroup.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Catalog_ListByResourceGroup", - "operationId": "Catalog_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListBySubscription.json deleted file mode 100644 index 706a1bc13bfd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_ListBySubscription.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "title": "Catalog_ListBySubscription", - "operationId": "Catalog_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Update.json deleted file mode 100644 index 7eeb5bc34567..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Catalog_Update.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "title": "Catalog_Update", - "operationId": "Catalog_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "6734EA51-4A64-421C-9FFE-59D0B8B22B1E", - "resourceGroupName": "rgopenapi", - "catalogName": "TestMyCatalog", - "properties": { - "tags": { - "TestKey": "TestValue" - }, - "properties": { - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "ownedBy": "myAlias", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave", - "catalog": { - "uri": "https://testcommunitysa.blob.core.windows.net/testcatalog", - "catalogStorageType": "BlobCatalog" - }, - "packageCollection": [ - { - "id": "f7236eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "name": "jira", - "metadata": { - "samplekey": "samplevalue" - } - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/catalogs/testCatalogName", - "name": "testCatalogName", - "type": "Microsoft.Mission/catalogs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-22T19:01:26.380Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-22T19:01:26.380Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index aa93d91fc235..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Delete.json deleted file mode 100644 index 0a1433b218b8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Get.json deleted file mode 100644 index 39ab070e3a49..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index 5e8302fdef73..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index d40483d5e0bf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Update.json deleted file mode 100644 index 2ce4d1c4c28d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/CommunityEndpoints_Update.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_CreateOrUpdate.json deleted file mode 100644 index a9cf78a76920..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_CreateOrUpdate.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Delete.json deleted file mode 100644 index 4d65c2eeb70b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Get.json deleted file mode 100644 index ca8ed95b6381..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Get.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListByResourceGroup.json deleted file mode 100644 index 267f23a47db9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListByResourceGroup.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListBySubscription.json deleted file mode 100644 index b09c59a6683b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_ListBySubscription.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Update.json deleted file mode 100644 index e0495b0d5b79..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Community_Update.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 99deee0361a5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Delete.json deleted file mode 100644 index e006005a52bb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Get.json deleted file mode 100644 index 2be7ead17ce5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 1366e0a4e575..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 7af3bb1a70c2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Update.json deleted file mode 100644 index 1a8d29714629..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveConnection_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index d0cf8b891abf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Delete.json deleted file mode 100644 index f56d40ca8ae2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Get.json deleted file mode 100644 index ac5b8b427971..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 7af6424a134b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 68347bb63595..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Update.json deleted file mode 100644 index 9379360c618f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 661b3dc46682..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 1b697b09d91d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index 971eb7566709..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 1827a676ab5c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index 97d2d62ceb3c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index bf51bb955271..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 4d14385c39f2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index dc4fde946302..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index 6a19b47f8794..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index d6485058b3eb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index ec6e147bcf4b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index b8b85258fa08..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index d3248dee7726..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index 7bd9ce503095..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index e26574b17fbd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index ebe79aeb11f6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index c3c6989511d3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index fa2fa2e32bc3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Operations_List.json deleted file mode 100644 index a0b2d65258bf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-01-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "fwljuroljeuiiyalge" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_CreateOrUpdate.json deleted file mode 100644 index 257825be9599..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "kr", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Delete.json deleted file mode 100644 index f16dbafe306c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Get.json deleted file mode 100644 index 7aa2caf0b2ac..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListByCommunityResource.json deleted file mode 100644 index 747269fcf99b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListBySubscription.json deleted file mode 100644 index a2e7ec372b12..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Update.json deleted file mode 100644 index fffbbf8e2c6d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/TransitHub_Update.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "ekrrqjtbhhlqxfvcadlxmxzakde", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 15c2b8db7e18..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Delete.json deleted file mode 100644 index 1c269d57cdf6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Get.json deleted file mode 100644 index 231d724009fb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Get.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 5c5c262a4ad7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 00cccef6b199..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 889bafa9ce3a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "title": "VirtualEnclave_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "MyVirtualEnclave", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small" - } - }, - "api-version": "2024-01-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Update.json deleted file mode 100644 index 5a0ddf8be207..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/VirtualEnclave_Update.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24" - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_CreateOrUpdate.json deleted file mode 100644 index 078b74cd77f0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Delete.json deleted file mode 100644 index 5525f690d66e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Get.json deleted file mode 100644 index 78d681e1ace9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Get.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListByEnclaveResource.json deleted file mode 100644 index 620083f308a4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListBySubscription.json deleted file mode 100644 index eecc2078f887..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Update.json deleted file mode 100644 index 3c371b703a0b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/examples/Workload_Update.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-01-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "managedResourceGroupConfiguration": { - "name": "TestMRG", - "location": "westcentralus" - } - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "vwekezpoqpteloczdwpprqtxgqnwdx", - "name": "kxzylwqnmxtivpmupnlho", - "type": "aqqqaeqtnsjkwjhswevntabodl", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/openapi.json deleted file mode 100644 index cf9ad80e3333..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-01-01-preview/openapi.json +++ /dev/null @@ -1,6267 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2024-01-01-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Workload" - }, - { - "name": "Endpoint" - }, - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "CatalogInterface" - }, - { - "name": "InternalConnections" - }, - { - "name": "TransitHub" - }, - { - "name": "EnclaveConnection" - }, - { - "name": "EnclaveEndpoints" - }, - { - "name": "CommunityEndpoints" - }, - { - "name": "ExternalConnections" - } - ], - "paths": { - "/providers/Microsoft.Mission/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/catalogs": { - "get": { - "operationId": "Catalog_ListBySubscription", - "tags": [ - "CatalogInterface" - ], - "description": "List CatalogResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_ListBySubscription": { - "$ref": "./examples/Catalog_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListBySubscription", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListBySubscription": { - "$ref": "./examples/Community_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListBySubscription", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListBySubscription": { - "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListBySubscription", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListBySubscription": { - "$ref": "./examples/TransitHub_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListBySubscription", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListBySubscription": { - "$ref": "./examples/EnclaveConnection_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListBySubscription", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription": { - "$ref": "./examples/VirtualEnclave_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListBySubscription", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListBySubscription": { - "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListBySubscription", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListBySubscription": { - "$ref": "./examples/Workload_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs": { - "get": { - "operationId": "Catalog_ListByResourceGroup", - "tags": [ - "CatalogInterface" - ], - "description": "List CatalogResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_ListByResourceGroup": { - "$ref": "./examples/Catalog_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/catalogs/{catalogName}": { - "get": { - "operationId": "Catalog_Get", - "tags": [ - "CatalogInterface" - ], - "description": "Get a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Get": { - "$ref": "./examples/Catalog_Get.json" - } - } - }, - "put": { - "operationId": "Catalog_CreateOrUpdate", - "tags": [ - "CatalogInterface" - ], - "description": "Create a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CatalogResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CatalogResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "201": { - "description": "Resource 'CatalogResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CatalogResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_CreateOrUpdate": { - "$ref": "./examples/Catalog_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Catalog_Update", - "tags": [ - "CatalogInterface" - ], - "description": "Update a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CatalogResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CatalogResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Update": { - "$ref": "./examples/Catalog_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Catalog_Delete", - "tags": [ - "CatalogInterface" - ], - "description": "Delete a CatalogResource", - "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": "catalogName", - "in": "path", - "description": "The name of the catalogResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Catalog_Delete": { - "$ref": "./examples/Catalog_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListByResourceGroup", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListByResourceGroup": { - "$ref": "./examples/Community_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "operationId": "Community_Get", - "tags": [ - "Community" - ], - "description": "Get a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get": { - "$ref": "./examples/Community_Get.json" - } - } - }, - "put": { - "operationId": "Community_CreateOrUpdate", - "tags": [ - "Community" - ], - "description": "Create a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "201": { - "description": "Resource 'CommunityResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CreateOrUpdate": { - "$ref": "./examples/Community_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Community_Update", - "tags": [ - "Community" - ], - "description": "Update a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", - "tags": [ - "Community" - ], - "description": "Delete a CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListByCommunityResource", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListByCommunityResource": { - "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { - "get": { - "operationId": "CommunityEndpoints_Get", - "tags": [ - "CommunityEndpoints" - ], - "description": "Get a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Get": { - "$ref": "./examples/CommunityEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "CommunityEndpoints_CreateOrUpdate", - "tags": [ - "CommunityEndpoints" - ], - "description": "Create a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "201": { - "description": "Resource 'CommunityEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_CreateOrUpdate": { - "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CommunityEndpoints_Update", - "tags": [ - "CommunityEndpoints" - ], - "description": "Update a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", - "tags": [ - "CommunityEndpoints" - ], - "description": "Delete a CommunityEndpointResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListByCommunityResource", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by CommunityResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListByCommunityResource": { - "$ref": "./examples/TransitHub_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { - "get": { - "operationId": "TransitHub_Get", - "tags": [ - "TransitHub" - ], - "description": "Get a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Get": { - "$ref": "./examples/TransitHub_Get.json" - } - } - }, - "put": { - "operationId": "TransitHub_CreateOrUpdate", - "tags": [ - "TransitHub" - ], - "description": "Create a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'TransitHubResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "201": { - "description": "Resource 'TransitHubResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_CreateOrUpdate": { - "$ref": "./examples/TransitHub_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "TransitHub_Update", - "tags": [ - "TransitHub" - ], - "description": "Update a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", - "tags": [ - "TransitHub" - ], - "description": "Delete a TransitHubResource", - "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": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListByResourceGroup", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListByResourceGroup": { - "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { - "get": { - "operationId": "EnclaveConnection_Get", - "tags": [ - "EnclaveConnection" - ], - "description": "Get a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Get": { - "$ref": "./examples/EnclaveConnection_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveConnection_CreateOrUpdate", - "tags": [ - "EnclaveConnection" - ], - "description": "Create a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveConnectionResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "201": { - "description": "Resource 'EnclaveConnectionResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_CreateOrUpdate": { - "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveConnection_Update", - "tags": [ - "EnclaveConnection" - ], - "description": "Update a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", - "tags": [ - "EnclaveConnection" - ], - "description": "Delete a EnclaveConnectionResource", - "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": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListByResourceGroup", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { - "get": { - "operationId": "ExternalConnections_Get", - "tags": [ - "ExternalConnections" - ], - "description": "Get a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "ExternalConnections_CreateOrUpdate", - "tags": [ - "ExternalConnections" - ], - "description": "Create a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ExternalConnections_Update", - "tags": [ - "ExternalConnections" - ], - "description": "Update a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", - "tags": [ - "ExternalConnections" - ], - "description": "Delete a ExternalConnection", - "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": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", - "tags": [ - "InternalConnections" - ], - "description": "Get a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "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": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "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" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "VirtualEnclave_CheckAddressSpaceAvailability", - "tags": [ - "VirtualEnclave" - ], - "description": "Checks that the IP Address Space to be allocated for this Virtual Enclave is available.", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CheckAddressSpaceAvailability": { - "$ref": "./examples/VirtualEnclave_PostCheckAddressSpaceAvailability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Delete a EnclaveEndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { - "$ref": "./examples/Workload_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { - "get": { - "operationId": "Workload_Get", - "tags": [ - "Workload" - ], - "description": "Get a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Get": { - "$ref": "./examples/Workload_Get.json" - } - } - }, - "put": { - "operationId": "Workload_CreateOrUpdate", - "tags": [ - "Workload" - ], - "description": "Create a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'WorkloadResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "201": { - "description": "Resource 'WorkloadResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_CreateOrUpdate": { - "$ref": "./examples/Workload_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Workload_Update", - "tags": [ - "Workload" - ], - "description": "Update a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", - "tags": [ - "Workload" - ], - "description": "Delete a WorkloadResource", - "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": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Resource deleted successfully." - }, - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" - } - ] - }, - "BlobCatalog": { - "type": "object", - "description": "Blob Catalog type.", - "properties": { - "catalogStorageType": { - "$ref": "#/definitions/CatalogStorageType", - "description": "Catalog's storage type." - }, - "uri": { - "type": "string", - "description": "Catalog Storage's URI." - } - } - }, - "Catalog": { - "type": "object", - "x-nullable": false, - "allOf": [ - { - "$ref": "#/definitions/BlobCatalog" - } - ] - }, - "CatalogProperties": { - "type": "object", - "description": "Catalog properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "ownedBy": { - "type": "string", - "description": "Owning Resource of the Catalog." - }, - "communityResourceId": { - "type": "string", - "description": "Community Resource Id." - }, - "enclaveResourceId": { - "type": "string", - "description": "Virtual Enclave Resource Id." - }, - "catalog": { - "$ref": "#/definitions/Catalog", - "description": "Catalog Connection properties." - }, - "packageCollection": { - "type": "array", - "description": "List of packages for catalog.", - "items": { - "$ref": "#/definitions/Package" - } - } - } - }, - "CatalogResource": { - "type": "object", - "description": "Catalog Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CatalogProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CatalogResourceListResult": { - "type": "object", - "description": "The response of a CatalogResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CatalogResource items on this page", - "items": { - "$ref": "#/definitions/CatalogResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CatalogResourceUpdate": { - "type": "object", - "description": "Catalog Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CatalogProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CatalogStorageType": { - "type": "string", - "description": "List of storage types support by catalog", - "enum": [ - "BlobCatalog" - ], - "x-ms-enum": { - "name": "CatalogStorageType", - "modelAsString": true, - "values": [ - { - "name": "BlobCatalog", - "value": "BlobCatalog", - "description": "Blob Storage Catalog Type" - } - ] - } - }, - "CheckAddressSpaceAvailabilityRequest": { - "type": "object", - "description": "Request to the action call to check address space availability.", - "properties": { - "communityResourceId": { - "type": "string", - "description": "Resource Id of the Community" - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Information about the enclave virtual network" - } - }, - "required": [ - "communityResourceId", - "enclaveVirtualNetwork" - ] - }, - "CheckAddressSpaceAvailabilityResponse": { - "type": "object", - "description": "Response of availability of the requested address space.", - "properties": { - "value": { - "type": "boolean", - "description": "Boolean representing whether the address space is available." - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointDestinationRule": { - "type": "object", - "description": "Base type for destination rules.", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "destinationType": { - "$ref": "#/definitions/DestinationType", - "description": "Destination Type." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/CommunityEndpointProtocol" - } - }, - "transitHubResourceId": { - "$ref": "#/definitions/TransitHubResourceId", - "description": "Transit Hub Resource Id." - } - } - }, - "CommunityEndpointProperties": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "required": [ - "ruleCollection" - ] - }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - } - } - }, - "CommunityEndpointProtocol": { - "type": "string", - "description": "Community Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH", - "HTTPS", - "HTTP" - ], - "x-ms-enum": { - "name": "CommunityEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "CommunityEndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "CommunityEndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "CommunityEndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "CommunityEndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "CommunityEndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "CommunityEndpointProtocol Type AH" - }, - { - "name": "HTTPS", - "value": "HTTPS", - "description": "CommunityEndpointProtocol Type HTTPS" - }, - { - "name": "HTTP", - "value": "HTTP", - "description": "CommunityEndpointProtocol Type HTTP" - } - ] - } - }, - "CommunityEndpointResource": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityEndpointResourceListResult": { - "type": "object", - "description": "The response of a CommunityEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityEndpointResource items on this page", - "items": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "CommunityProperties": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", - "items": { - "$ref": "#/definitions/CommunityResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "DestinationEndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" - }, - { - "type": "Microsoft.Mission/communities/communityEndpoints" - } - ] - } - }, - "DestinationType": { - "type": "string", - "description": "Destination Type Enum", - "enum": [ - "FQDN", - "FQDNTag", - "IPAddress", - "PrivateNetwork" - ], - "x-ms-enum": { - "name": "DestinationType", - "modelAsString": true, - "values": [ - { - "name": "FQDN", - "value": "FQDN", - "description": "DestinationType Type FQDN" - }, - { - "name": "FQDNTag", - "value": "FQDNTag", - "description": "DestinationType Type FQDNTag" - }, - { - "name": "IPAddress", - "value": "IPAddress", - "description": "DestinationType Type IPAddress" - }, - { - "name": "PrivateNetwork", - "value": "PrivateNetwork", - "description": "DestinationType Type PrivateNetwork" - } - ] - } - }, - "DiagnosticDestination": { - "type": "string", - "description": "Specifies the destination of where to store diagnostic logs.", - "enum": [ - "CommunityOnly", - "EnclaveOnly", - "Both" - ], - "x-ms-enum": { - "name": "DiagnosticDestination", - "modelAsString": true, - "values": [ - { - "name": "CommunityOnly", - "value": "CommunityOnly", - "description": "DiagnosticDestination Type CommunityOnly" - }, - { - "name": "EnclaveOnly", - "value": "EnclaveOnly", - "description": "DiagnosticDestination Type EnclaveOnly" - }, - { - "name": "Both", - "value": "Both", - "description": "DiagnosticDestination Type Both" - } - ] - } - }, - "EnclaveAddressSpaces": { - "type": "object", - "description": "Enclave Address Spaces", - "properties": { - "enclaveAddressSpace": { - "type": "string", - "description": "Enclave Address Space" - }, - "managedAddressSpace": { - "type": "string", - "description": "Managed Address Space" - } - }, - "required": [ - "enclaveAddressSpace", - "managedAddressSpace" - ] - }, - "EnclaveConnectionProperties": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] - }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionResource": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveConnectionResourceListResult": { - "type": "object", - "description": "The response of a EnclaveConnectionResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveConnectionResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveConnectionSourceResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - }, - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "EnclaveConnectionState": { - "type": "string", - "description": "Specifies the state of the enclave connection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed", - "Connected", - "Disconnected" - ], - "x-ms-enum": { - "name": "EnclaveConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "EnclaveConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "EnclaveConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "EnclaveConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "EnclaveConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "EnclaveConnectionState Type Failed" - }, - { - "name": "Connected", - "value": "Connected", - "description": "EnclaveConnectionState Type Connected" - }, - { - "name": "Disconnected", - "value": "Disconnected", - "description": "EnclaveConnectionState Type Disconnected" - } - ] - } - }, - "EnclaveDefaultSettings": { - "type": "object", - "description": "Virtual Enclave Default Settings", - "properties": { - "keyVaultResourceId": { - "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." - }, - "storageAccountResourceId": { - "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." - }, - "logAnalyticsResourceIdCollection": { - "type": "array", - "description": "Log Analytics Resource Ids.", - "items": { - "$ref": "#/definitions/LogAnalyticsResourceId" - } - }, - "diagnosticDestination": { - "$ref": "#/definitions/DiagnosticDestination", - "description": "Diagnostic Destination." - } - } - }, - "EnclaveEndpointDestinationRule": { - "type": "object", - "description": "Enclave Endpoint Rule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/EnclaveEndpointProtocol" - } - } - } - }, - "EnclaveEndpointProperties": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - }, - "required": [ - "ruleCollection" - ] - }, - "EnclaveEndpointPropertiesUpdate": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveEndpointProtocol": { - "type": "string", - "description": "Enclave Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EnclaveEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EnclaveEndpointResource": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveEndpointResourceListResult": { - "type": "object", - "description": "The response of a EnclaveEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveEndpointResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveResource": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveResourceListResult": { - "type": "object", - "description": "The response of a EnclaveResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EnclaveVirtualNetwork": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - }, - "required": [ - "networkSize" - ] - }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] - }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] - } - }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "IPGroupResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/IpGroups" - } - ] - } - }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] - }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "KeyVaultResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "LogAnalyticsResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - }, - "ManagedResourceGroupConfiguration": { - "type": "object", - "description": "ManagedResourceGroup related properties", - "properties": { - "name": { - "type": "string", - "description": "Name of managed resource group" - }, - "location": { - "type": "string", - "description": "Managed Resource Group location" - } - } - }, - "Package": { - "type": "object", - "description": "Package Properties", - "properties": { - "id": { - "type": "string", - "description": "Package Id." - }, - "name": { - "type": "string", - "description": "Package Name." - }, - "metadata": { - "type": "object", - "description": "Package metadata.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning status of the resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted", - "Created", - "Creating", - "Deleted", - "Deleting", - "NotSpecified", - "Ready", - "Running", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Accepted", - "value": "Accepted", - "description": "Provisioning State Type Accepted" - }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Provisioning State Type Creating" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Provisioning State Type Deleting" - }, - { - "name": "NotSpecified", - "value": "NotSpecified", - "description": "Provisioning State Type NotSpecified" - }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, - { - "name": "Running", - "value": "Running", - "description": "Provisioning State Type Running" - }, - { - "name": "Updating", - "value": "Updating", - "description": "Provisioning State Type Updating" - } - ] - }, - "readOnly": true - }, - "StorageAccountResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - } - }, - "TransitHubProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubResource": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "TransitHubResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "TransitHubResourceListResult": { - "type": "object", - "description": "The response of a TransitHubResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The TransitHubResource items on this page", - "items": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, - "TransitHubState": { - "type": "string", - "description": "Specifies the state of the transitHub.", - "enum": [ - "PendingApproval", - "Approved", - "PendingUpdate", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "TransitHubState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "TransitHubState Type PendingApproval" - }, - { - "name": "Approved", - "value": "Approved", - "description": "TransitHubState Type Approved" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "TransitHubState Type PendingUpdate" - }, - { - "name": "Active", - "value": "Active", - "description": "TransitHubState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "TransitHubState Type Failed" - } - ] - } - }, - "TransitOption": { - "type": "object", - "description": "TransitOption Properties", - "properties": { - "type": { - "$ref": "#/definitions/TransitOptionType", - "description": "Transit Option Type." - }, - "params": { - "$ref": "#/definitions/TransitOptionParams", - "description": "Transit Option Params" - } - } - }, - "TransitOptionParams": { - "type": "object", - "description": "TransitOptionParams Properties", - "properties": { - "scaleUnits": { - "type": "integer", - "format": "int64", - "description": "Transit Option Params scaleUnits." - }, - "remoteVirtualNetworkId": { - "type": "string", - "description": "Transit Option Params remoteVirtualNetworkId." - } - } - }, - "TransitOptionType": { - "type": "string", - "description": "Specifies the type of the transitOption.", - "enum": [ - "ExpressRoute", - "Gateway", - "Peering" - ], - "x-ms-enum": { - "name": "TransitOptionType", - "modelAsString": true, - "values": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute", - "description": "TransitOptionType ExpressRoute" - }, - { - "name": "Gateway", - "value": "Gateway", - "description": "TransitOptionType Gateway" - }, - { - "name": "Peering", - "value": "Peering", - "description": "TransitOptionType Peering" - } - ] - } - }, - "VirtualEnclaveProperties": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] - }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - } - }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, - "WorkloadProperties": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - }, - "required": [ - "managedResourceGroupConfiguration" - ] - }, - "WorkloadPropertiesUpdate": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - } - } - }, - "WorkloadResource": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" - } - ] - }, - "WorkloadResourceListResult": { - "type": "object", - "description": "The response of a WorkloadResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadResource items on this page", - "items": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - } - }, - "parameters": {} -} diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index 61ac5b07a0bf..36a60453726a 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -57,42 +57,6 @@ These settings apply only when `--tag=package-2024-06-01-preview` is specified o input-file: - Microsoft.Mission/preview/2024-06-01-preview/openapi.json ``` - -### Tag: package-2024-01-01-preview - -These settings apply only when `--tag=package-2024-01-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2024-01-01-preview' -input-file: - - Microsoft.Mission/preview/2024-01-01-preview/openapi.json -``` - -### Tag: package-2023-11-01-preview - -These settings apply only when `--tag=package-2023-11-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-11-01-preview' -input-file: - - Microsoft.Mission/preview/2023-11-01-preview/openapi.json -``` - -### Tag: package-2023-08-01-preview - -These settings apply only when `--tag=package-2023-08-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-08-01-preview' -input-file: - - Microsoft.Mission/preview/2023-08-01-preview/openapi.json -``` - -### Tag: package-2023-02-01-preview - -These settings apply only when `--tag=package-2023-02-01-preview` is specified on the command line. - -```yaml $(tag) == 'package-2023-02-01-preview' -input-file: - - Microsoft.Mission/preview/2023-02-01-preview/openapi.json -``` --- # Code Generation From f7ad6e21fe2860457a286e4471e62210a1163fc5 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 13 Feb 2025 10:24:07 -0600 Subject: [PATCH 12/89] remove status 200 of delete operations --- .../mission/Mission.Management/model.tsp | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 739a259c9591..b2f12af3ef2f 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -201,7 +201,7 @@ interface Workload { update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByEnclaveResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; } @@ -219,7 +219,7 @@ interface Endpoint { update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByEnclaveResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; } @@ -237,7 +237,7 @@ interface VirtualEnclave { update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -286,7 +286,7 @@ interface Community { update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -341,7 +341,7 @@ interface InternalConnections { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; } @@ -360,7 +360,7 @@ interface TransitHub { update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByCommunityResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; } @@ -382,7 +382,7 @@ interface EnclaveConnection { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -421,7 +421,7 @@ interface EnclaveEndpoints { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByEnclaveResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -460,7 +460,7 @@ interface CommunityEndpoints { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByCommunityResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -498,7 +498,7 @@ interface ExternalConnections { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; + delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; } From 03b2e09df0924d17195ec77859317fc18d223576 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 13 Feb 2025 10:32:54 -0600 Subject: [PATCH 13/89] remove status 200 from openapi.json --- .../preview/2024-06-01-preview/openapi.json | 30 ------------------- .../preview/2024-10-01-preview/openapi.json | 30 ------------------- .../preview/2024-11-01-preview/openapi.json | 30 ------------------- 3 files changed, 90 deletions(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index c2507d5c5674..ba9a34745629 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -1156,9 +1156,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -1551,9 +1548,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -1890,9 +1884,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2189,9 +2180,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2636,9 +2624,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2935,9 +2920,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3234,9 +3216,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3573,9 +3552,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3912,9 +3888,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -4251,9 +4224,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 9d2ccc086f42..1f0ff6c43fcd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -1156,9 +1156,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -1551,9 +1548,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -1890,9 +1884,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2189,9 +2180,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2636,9 +2624,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2935,9 +2920,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3234,9 +3216,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3573,9 +3552,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3912,9 +3888,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -4251,9 +4224,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 420ce7c3b19f..58388b170559 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -1156,9 +1156,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -1551,9 +1548,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2054,9 +2048,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2353,9 +2344,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -2800,9 +2788,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3099,9 +3084,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3398,9 +3380,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -3885,9 +3864,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -4388,9 +4364,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { @@ -4727,9 +4700,6 @@ } ], "responses": { - "200": { - "description": "Resource deleted successfully." - }, "202": { "description": "Resource deletion accepted.", "headers": { From f0e4f3f756bfcc57d565846c64c4cb88ded8b00c Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 13 Feb 2025 12:01:10 -0600 Subject: [PATCH 14/89] remove status 200 from example files --- .../examples/2024-06-01-preview/CommunityEndpoints_Delete.json | 1 - .../examples/2024-06-01-preview/Community_Delete.json | 1 - .../examples/2024-06-01-preview/EnclaveConnection_Delete.json | 1 - .../examples/2024-06-01-preview/Endpoint_Delete.json | 1 - .../examples/2024-06-01-preview/ExternalConnections_Delete.json | 1 - .../examples/2024-06-01-preview/InternalConnections_Delete.json | 1 - .../examples/2024-06-01-preview/TransitHub_Delete.json | 1 - .../examples/2024-06-01-preview/VirtualEnclave_Delete.json | 1 - .../examples/2024-06-01-preview/Workload_Delete.json | 1 - .../examples/2024-10-01-preview/CommunityEndpoints_Delete.json | 1 - .../examples/2024-10-01-preview/Community_Delete.json | 1 - .../examples/2024-10-01-preview/EnclaveConnection_Delete.json | 1 - .../examples/2024-10-01-preview/EnclaveEndpoints_Delete.json | 1 - .../examples/2024-10-01-preview/Endpoint_Delete.json | 1 - .../examples/2024-10-01-preview/ExternalConnections_Delete.json | 1 - .../examples/2024-10-01-preview/InternalConnections_Delete.json | 1 - .../examples/2024-10-01-preview/TransitHub_Delete.json | 1 - .../examples/2024-10-01-preview/VirtualEnclave_Delete.json | 1 - .../examples/2024-10-01-preview/Workload_Delete.json | 1 - .../examples/2024-11-01-preview/CommunityEndpoints_Delete.json | 1 - .../examples/2024-11-01-preview/Community_Delete.json | 1 - .../examples/2024-11-01-preview/EnclaveConnection_Delete.json | 1 - .../examples/2024-11-01-preview/EnclaveEndpoints_Delete.json | 1 - .../examples/2024-11-01-preview/Endpoint_Delete.json | 1 - .../examples/2024-11-01-preview/ExternalConnections_Delete.json | 1 - .../examples/2024-11-01-preview/InternalConnections_Delete.json | 1 - .../examples/2024-11-01-preview/TransitHub_Delete.json | 1 - .../examples/2024-11-01-preview/VirtualEnclave_Delete.json | 1 - .../examples/2024-11-01-preview/Workload_Delete.json | 1 - .../2024-06-01-preview/examples/CommunityEndpoints_Delete.json | 1 - .../preview/2024-06-01-preview/examples/Community_Delete.json | 1 - .../2024-06-01-preview/examples/EnclaveConnection_Delete.json | 1 - .../preview/2024-06-01-preview/examples/Endpoint_Delete.json | 1 - .../2024-06-01-preview/examples/ExternalConnections_Delete.json | 1 - .../2024-06-01-preview/examples/InternalConnections_Delete.json | 1 - .../preview/2024-06-01-preview/examples/TransitHub_Delete.json | 1 - .../2024-06-01-preview/examples/VirtualEnclave_Delete.json | 1 - .../preview/2024-06-01-preview/examples/Workload_Delete.json | 1 - .../2024-10-01-preview/examples/CommunityEndpoints_Delete.json | 1 - .../preview/2024-10-01-preview/examples/Community_Delete.json | 1 - .../2024-10-01-preview/examples/EnclaveConnection_Delete.json | 1 - .../2024-10-01-preview/examples/EnclaveEndpoints_Delete.json | 1 - .../preview/2024-10-01-preview/examples/Endpoint_Delete.json | 1 - .../2024-10-01-preview/examples/ExternalConnections_Delete.json | 1 - .../2024-10-01-preview/examples/InternalConnections_Delete.json | 1 - .../preview/2024-10-01-preview/examples/TransitHub_Delete.json | 1 - .../2024-10-01-preview/examples/VirtualEnclave_Delete.json | 1 - .../preview/2024-10-01-preview/examples/Workload_Delete.json | 1 - .../2024-11-01-preview/examples/CommunityEndpoints_Delete.json | 1 - .../preview/2024-11-01-preview/examples/Community_Delete.json | 1 - .../2024-11-01-preview/examples/EnclaveConnection_Delete.json | 1 - .../2024-11-01-preview/examples/EnclaveEndpoints_Delete.json | 1 - .../preview/2024-11-01-preview/examples/Endpoint_Delete.json | 1 - .../2024-11-01-preview/examples/ExternalConnections_Delete.json | 1 - .../2024-11-01-preview/examples/InternalConnections_Delete.json | 1 - .../preview/2024-11-01-preview/examples/TransitHub_Delete.json | 1 - .../2024-11-01-preview/examples/VirtualEnclave_Delete.json | 1 - .../preview/2024-11-01-preview/examples/Workload_Delete.json | 1 - 58 files changed, 58 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json index 69004ced5d20..bb98bd68dde3 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Delete.json @@ -9,7 +9,6 @@ "communityEndpointName": "TestMyCommunityEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json index 6b197f36646f..5d5d5416861c 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Delete.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json index 00c0a30615b4..84af8ab84f38 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Delete.json @@ -8,7 +8,6 @@ "enclaveConnectionName": "TestMyEnclaveConnection" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json index 1d8e3b476724..56a5b4463dd5 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json @@ -9,7 +9,6 @@ "endpointName": "TestMyEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json index e7067ba7a88f..762297fc8df3 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json @@ -8,7 +8,6 @@ "externalConnectionName": "TestEcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json index ebddfc1f5737..3f3413498ee7 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json @@ -8,7 +8,6 @@ "internalConnectionName": "TestIcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json index d258ea734eec..cb7056404587 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Delete.json @@ -9,7 +9,6 @@ "transitHubName": "TestThName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json index 064c12f5f292..b8b1e797b847 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Delete.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json index 9ce19f4440e1..31d0354f3ba7 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Delete.json @@ -9,7 +9,6 @@ "workloadName": "TestMyWorkload" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json index a914cfaa7b54..36bd6ec27717 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json @@ -9,7 +9,6 @@ "communityEndpointName": "TestMyCommunityEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json index 15a266c726e9..89b24ca578cd 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json index f2c400575e0e..49874ddaff4f 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json @@ -8,7 +8,6 @@ "enclaveConnectionName": "TestMyEnclaveConnection" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json index 81c56e193c3c..3cf51fd7ffb6 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json @@ -9,7 +9,6 @@ "enclaveEndpointName": "TestMyEnclaveEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json index 81e88f82b374..258a549bbd13 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json @@ -9,7 +9,6 @@ "endpointName": "TestMyEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json index b6d95b7d2e7f..d31b96148716 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json @@ -8,7 +8,6 @@ "externalConnectionName": "TestEcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json index 1de204c66f1b..1da99f630d14 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json @@ -8,7 +8,6 @@ "internalConnectionName": "TestIcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json index 942729f39024..55a69d09f8de 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json @@ -9,7 +9,6 @@ "transitHubName": "TestThName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json index 22109d1c8257..3dc3faec3fe4 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json index 6e06ea6e513c..09ad56c68c1e 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json @@ -9,7 +9,6 @@ "workloadName": "TestMyWorkload" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json index 35525da9da3d..eed4cb22a0d8 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json @@ -9,7 +9,6 @@ "communityEndpointName": "TestMyCommunityEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json index 47295abde527..33ce401428cc 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json index 39e950d99243..616f887d6eed 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json @@ -8,7 +8,6 @@ "enclaveConnectionName": "TestMyEnclaveConnection" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json index f1a99653a16e..d8aa1de66957 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json @@ -9,7 +9,6 @@ "enclaveEndpointName": "TestMyEnclaveEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json index 9d44a8339371..64fa36e6e46c 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json @@ -9,7 +9,6 @@ "endpointName": "TestMyEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json index b84630f98c24..8c2250e052fe 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json @@ -8,7 +8,6 @@ "externalConnectionName": "TestEcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json index 6a1e987578ef..2f9fc7f69801 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json @@ -8,7 +8,6 @@ "internalConnectionName": "TestIcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json index e5a54daabf04..d98742217624 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json @@ -9,7 +9,6 @@ "transitHubName": "TestThName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json index 628a62de4302..eebf06d89258 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json index 89fdfe748753..f7842e7e4228 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json @@ -9,7 +9,6 @@ "workloadName": "TestMyWorkload" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json index 69004ced5d20..bb98bd68dde3 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Delete.json @@ -9,7 +9,6 @@ "communityEndpointName": "TestMyCommunityEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json index 6b197f36646f..5d5d5416861c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Delete.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json index 00c0a30615b4..84af8ab84f38 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Delete.json @@ -8,7 +8,6 @@ "enclaveConnectionName": "TestMyEnclaveConnection" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json index 1d8e3b476724..56a5b4463dd5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json @@ -9,7 +9,6 @@ "endpointName": "TestMyEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json index e7067ba7a88f..762297fc8df3 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json @@ -8,7 +8,6 @@ "externalConnectionName": "TestEcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json index ebddfc1f5737..3f3413498ee7 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json @@ -8,7 +8,6 @@ "internalConnectionName": "TestIcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json index d258ea734eec..cb7056404587 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Delete.json @@ -9,7 +9,6 @@ "transitHubName": "TestThName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json index 064c12f5f292..b8b1e797b847 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Delete.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json index 9ce19f4440e1..31d0354f3ba7 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Delete.json @@ -9,7 +9,6 @@ "workloadName": "TestMyWorkload" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json index a914cfaa7b54..36bd6ec27717 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json @@ -9,7 +9,6 @@ "communityEndpointName": "TestMyCommunityEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json index 15a266c726e9..89b24ca578cd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json index f2c400575e0e..49874ddaff4f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json @@ -8,7 +8,6 @@ "enclaveConnectionName": "TestMyEnclaveConnection" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json index 81c56e193c3c..3cf51fd7ffb6 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json @@ -9,7 +9,6 @@ "enclaveEndpointName": "TestMyEnclaveEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json index 81e88f82b374..258a549bbd13 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json @@ -9,7 +9,6 @@ "endpointName": "TestMyEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json index b6d95b7d2e7f..d31b96148716 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json @@ -8,7 +8,6 @@ "externalConnectionName": "TestEcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json index 1de204c66f1b..1da99f630d14 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json @@ -8,7 +8,6 @@ "internalConnectionName": "TestIcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json index 942729f39024..55a69d09f8de 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json @@ -9,7 +9,6 @@ "transitHubName": "TestThName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json index 22109d1c8257..3dc3faec3fe4 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json index 6e06ea6e513c..09ad56c68c1e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json @@ -9,7 +9,6 @@ "workloadName": "TestMyWorkload" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json index 35525da9da3d..eed4cb22a0d8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json @@ -9,7 +9,6 @@ "communityEndpointName": "TestMyCommunityEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json index 47295abde527..33ce401428cc 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json index 39e950d99243..616f887d6eed 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json @@ -8,7 +8,6 @@ "enclaveConnectionName": "TestMyEnclaveConnection" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json index f1a99653a16e..d8aa1de66957 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json @@ -9,7 +9,6 @@ "enclaveEndpointName": "TestMyEnclaveEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json index 9d44a8339371..64fa36e6e46c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json @@ -9,7 +9,6 @@ "endpointName": "TestMyEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json index b84630f98c24..8c2250e052fe 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json @@ -8,7 +8,6 @@ "externalConnectionName": "TestEcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json index 6a1e987578ef..2f9fc7f69801 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json @@ -8,7 +8,6 @@ "internalConnectionName": "TestIcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json index e5a54daabf04..d98742217624 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json @@ -9,7 +9,6 @@ "transitHubName": "TestThName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json index 628a62de4302..eebf06d89258 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json index 89fdfe748753..f7842e7e4228 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json @@ -9,7 +9,6 @@ "workloadName": "TestMyWorkload" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { From 7aca020f326bbf3a4af677be22fb2c990f57ccd2 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 13 Feb 2025 12:12:34 -0600 Subject: [PATCH 15/89] remove status 200 from EnclaveEndpoints_Delete.json --- .../examples/2024-06-01-preview/EnclaveEndpoints_Delete.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json index 49b07e7bcf1c..7113940e5bfc 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Delete.json @@ -9,7 +9,6 @@ "enclaveEndpointName": "TestMyEnclaveEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { From f147a0375adc45e3a318da4659d04e0a9613f838 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 13 Feb 2025 13:33:10 -0600 Subject: [PATCH 16/89] remove the status 200 when compiling --- .../2024-06-01-preview/examples/EnclaveEndpoints_Delete.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json index 49b07e7bcf1c..7113940e5bfc 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Delete.json @@ -9,7 +9,6 @@ "enclaveEndpointName": "TestMyEnclaveEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { From a0dc0954e2e3c5c258dc339b074a4906d4dc1fb3 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 17 Feb 2025 08:10:48 -0600 Subject: [PATCH 17/89] change ArmResourcePatchAsync to ArnCustomPatch --- .../mission/Mission.Management/model.tsp | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index b2f12af3ef2f..62212ecf7461 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -198,7 +198,7 @@ interface Workload { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -216,7 +216,7 @@ interface Endpoint { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -234,7 +234,7 @@ interface VirtualEnclave { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -283,7 +283,7 @@ interface Community { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -317,7 +317,7 @@ interface CatalogInterface { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteAsync; @@ -335,7 +335,7 @@ interface InternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< InternalConnection, InternalConnectionProperties >; @@ -357,7 +357,7 @@ interface TransitHub { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -376,7 +376,7 @@ interface EnclaveConnection { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< EnclaveConnectionResource, EnclaveConnectionProperties >; @@ -415,7 +415,7 @@ interface EnclaveEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< EnclaveEndpointResource, EnclaveEndpointProperties >; @@ -454,7 +454,7 @@ interface CommunityEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< CommunityEndpointResource, CommunityEndpointProperties >; @@ -492,7 +492,7 @@ interface ExternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< ExternalConnection, ExternalConnectionProperties >; @@ -515,7 +515,7 @@ interface Approval { ArmAsyncOperationHeader >; listByParent is ArmResourceListByParent; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") @armResourceAction(ApprovalResource) From e43b48baea9f6da5504ef44644c13a1bf4ebe1ee Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 17 Feb 2025 08:14:23 -0600 Subject: [PATCH 18/89] compile file with ArmCustomPatch --- .../preview/2024-06-01-preview/openapi.json | 247 +----------------- .../preview/2024-10-01-preview/openapi.json | 247 +----------------- .../preview/2024-11-01-preview/openapi.json | 247 +----------------- 3 files changed, 33 insertions(+), 708 deletions(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index ba9a34745629..5319338e1e49 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" + "$ref": "#/definitions/ApprovalPropertiesUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" + "$ref": "#/definitions/CommunityProperties" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" + "$ref": "#/definitions/TransitHubProperties" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" + "$ref": "#/definitions/InternalConnectionPropertiesUpdate" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" + "$ref": "#/definitions/EndpointProperties" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" + "$ref": "#/definitions/WorkloadProperties" } } ], @@ -4428,22 +4428,6 @@ "value" ] }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, "ApprovalStatus": { "type": "string", "description": "Approval Status Enum", @@ -4474,47 +4458,6 @@ ] } }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4734,22 +4677,6 @@ "value" ] }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -4843,26 +4770,6 @@ "value" ] }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5079,22 +4986,6 @@ "value" ] }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -5357,22 +5248,6 @@ "value" ] }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -5414,26 +5289,6 @@ "value" ] }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -5621,22 +5476,6 @@ "value" ] }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -5806,22 +5645,6 @@ ] } }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6125,22 +5948,6 @@ ] } }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -6627,22 +6434,6 @@ "value" ] }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -6898,22 +6689,6 @@ "required": [ "value" ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] } }, "parameters": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 1f0ff6c43fcd..e13ac56d29d8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" + "$ref": "#/definitions/ApprovalPropertiesUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" + "$ref": "#/definitions/CommunityProperties" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" + "$ref": "#/definitions/TransitHubProperties" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" + "$ref": "#/definitions/InternalConnectionPropertiesUpdate" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" + "$ref": "#/definitions/EndpointProperties" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" + "$ref": "#/definitions/WorkloadProperties" } } ], @@ -4502,22 +4502,6 @@ "value" ] }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, "ApprovalStatus": { "type": "string", "description": "Approval Status Enum", @@ -4572,47 +4556,6 @@ "lastUpdatedAt" ] }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4832,22 +4775,6 @@ "value" ] }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -4948,26 +4875,6 @@ "value" ] }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5184,22 +5091,6 @@ "value" ] }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -5462,22 +5353,6 @@ "value" ] }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -5519,26 +5394,6 @@ "value" ] }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -5726,22 +5581,6 @@ "value" ] }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -5911,22 +5750,6 @@ ] } }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6230,22 +6053,6 @@ ] } }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -6752,22 +6559,6 @@ "value" ] }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -7051,22 +6842,6 @@ "required": [ "value" ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] } }, "parameters": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 58388b170559..34b0a55d9933 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" + "$ref": "#/definitions/ApprovalPropertiesUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" + "$ref": "#/definitions/CommunityPropertiesUpdate" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" } } ], @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" + "$ref": "#/definitions/TransitHubProperties" } } ], @@ -2276,7 +2276,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" } } ], @@ -2720,7 +2720,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" } } ], @@ -3016,7 +3016,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" + "$ref": "#/definitions/InternalConnectionPropertiesUpdate" } } ], @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" } } ], @@ -3788,7 +3788,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" } } ], @@ -4288,7 +4288,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" + "$ref": "#/definitions/EndpointProperties" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" + "$ref": "#/definitions/WorkloadProperties" } } ], @@ -5001,22 +5001,6 @@ "value" ] }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, "ApprovalSettings": { "type": "object", "description": "ApprovalSettings Properties", @@ -5140,47 +5124,6 @@ "lastUpdatedAt" ] }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5400,22 +5343,6 @@ "value" ] }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -5574,26 +5501,6 @@ "value" ] }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5810,22 +5717,6 @@ "value" ] }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -6088,22 +5979,6 @@ "value" ] }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -6145,26 +6020,6 @@ "value" ] }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -6352,22 +6207,6 @@ "value" ] }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -6537,22 +6376,6 @@ ] } }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6856,22 +6679,6 @@ ] } }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -7395,22 +7202,6 @@ "value" ] }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -7694,22 +7485,6 @@ "required": [ "value" ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] } }, "parameters": { From e0bed0f5b58d5c18087aa428c6ba760164af7378 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 17 Feb 2025 08:19:10 -0600 Subject: [PATCH 19/89] rollback to ArmResourcePatch --- .../mission/Mission.Management/model.tsp | 24 +- .../preview/2024-06-01-preview/openapi.json | 247 +++++++++++++++++- .../preview/2024-10-01-preview/openapi.json | 247 +++++++++++++++++- .../preview/2024-11-01-preview/openapi.json | 247 +++++++++++++++++- 4 files changed, 720 insertions(+), 45 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 62212ecf7461..b2f12af3ef2f 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -198,7 +198,7 @@ interface Workload { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync; + update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -216,7 +216,7 @@ interface Endpoint { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync; + update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -234,7 +234,7 @@ interface VirtualEnclave { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync; + update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -283,7 +283,7 @@ interface Community { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync; + update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -317,7 +317,7 @@ interface CatalogInterface { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync; + update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteAsync; @@ -335,7 +335,7 @@ interface InternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync< + update is ArmResourcePatchAsync< InternalConnection, InternalConnectionProperties >; @@ -357,7 +357,7 @@ interface TransitHub { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync; + update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -376,7 +376,7 @@ interface EnclaveConnection { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync< + update is ArmResourcePatchAsync< EnclaveConnectionResource, EnclaveConnectionProperties >; @@ -415,7 +415,7 @@ interface EnclaveEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync< + update is ArmResourcePatchAsync< EnclaveEndpointResource, EnclaveEndpointProperties >; @@ -454,7 +454,7 @@ interface CommunityEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync< + update is ArmResourcePatchAsync< CommunityEndpointResource, CommunityEndpointProperties >; @@ -492,7 +492,7 @@ interface ExternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmCustomPatchAsync< + update is ArmResourcePatchAsync< ExternalConnection, ExternalConnectionProperties >; @@ -515,7 +515,7 @@ interface Approval { ArmAsyncOperationHeader >; listByParent is ArmResourceListByParent; - update is ArmCustomPatchAsync; + update is ArmResourcePatchAsync; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") @armResourceAction(ApprovalResource) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 5319338e1e49..ba9a34745629 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPropertiesUpdate" + "$ref": "#/definitions/ApprovalResourceUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityProperties" + "$ref": "#/definitions/CommunityResourceUpdate" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" + "$ref": "#/definitions/CommunityEndpointResourceUpdate" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubProperties" + "$ref": "#/definitions/TransitHubResourceUpdate" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" + "$ref": "#/definitions/ExternalConnectionUpdate" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate" + "$ref": "#/definitions/InternalConnectionUpdate" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" + "$ref": "#/definitions/EnclaveResourceUpdate" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointProperties" + "$ref": "#/definitions/EndpointResourceUpdate" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadProperties" + "$ref": "#/definitions/WorkloadResourceUpdate" } } ], @@ -4428,6 +4428,22 @@ "value" ] }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, "ApprovalStatus": { "type": "string", "description": "Approval Status Enum", @@ -4458,6 +4474,47 @@ ] } }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4677,6 +4734,22 @@ "value" ] }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -4770,6 +4843,26 @@ "value" ] }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -4986,6 +5079,22 @@ "value" ] }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -5248,6 +5357,22 @@ "value" ] }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -5289,6 +5414,26 @@ "value" ] }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -5476,6 +5621,22 @@ "value" ] }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -5645,6 +5806,22 @@ ] } }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -5948,6 +6125,22 @@ ] } }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -6434,6 +6627,22 @@ "value" ] }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -6689,6 +6898,22 @@ "required": [ "value" ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] } }, "parameters": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index e13ac56d29d8..1f0ff6c43fcd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPropertiesUpdate" + "$ref": "#/definitions/ApprovalResourceUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityProperties" + "$ref": "#/definitions/CommunityResourceUpdate" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" + "$ref": "#/definitions/CommunityEndpointResourceUpdate" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubProperties" + "$ref": "#/definitions/TransitHubResourceUpdate" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" + "$ref": "#/definitions/ExternalConnectionUpdate" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate" + "$ref": "#/definitions/InternalConnectionUpdate" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" + "$ref": "#/definitions/EnclaveResourceUpdate" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointProperties" + "$ref": "#/definitions/EndpointResourceUpdate" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadProperties" + "$ref": "#/definitions/WorkloadResourceUpdate" } } ], @@ -4502,6 +4502,22 @@ "value" ] }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, "ApprovalStatus": { "type": "string", "description": "Approval Status Enum", @@ -4556,6 +4572,47 @@ "lastUpdatedAt" ] }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4775,6 +4832,22 @@ "value" ] }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -4875,6 +4948,26 @@ "value" ] }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5091,6 +5184,22 @@ "value" ] }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -5353,6 +5462,22 @@ "value" ] }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -5394,6 +5519,26 @@ "value" ] }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -5581,6 +5726,22 @@ "value" ] }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -5750,6 +5911,22 @@ ] } }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6053,6 +6230,22 @@ ] } }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -6559,6 +6752,22 @@ "value" ] }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -6842,6 +7051,22 @@ "required": [ "value" ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] } }, "parameters": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 34b0a55d9933..58388b170559 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPropertiesUpdate" + "$ref": "#/definitions/ApprovalResourceUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPropertiesUpdate" + "$ref": "#/definitions/CommunityResourceUpdate" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" + "$ref": "#/definitions/CommunityEndpointResourceUpdate" } } ], @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubProperties" + "$ref": "#/definitions/TransitHubResourceUpdate" } } ], @@ -2276,7 +2276,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" } } ], @@ -2720,7 +2720,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" + "$ref": "#/definitions/ExternalConnectionUpdate" } } ], @@ -3016,7 +3016,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate" + "$ref": "#/definitions/InternalConnectionUpdate" } } ], @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" + "$ref": "#/definitions/EnclaveResourceUpdate" } } ], @@ -3788,7 +3788,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" } } ], @@ -4288,7 +4288,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointProperties" + "$ref": "#/definitions/EndpointResourceUpdate" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadProperties" + "$ref": "#/definitions/WorkloadResourceUpdate" } } ], @@ -5001,6 +5001,22 @@ "value" ] }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, "ApprovalSettings": { "type": "object", "description": "ApprovalSettings Properties", @@ -5124,6 +5140,47 @@ "lastUpdatedAt" ] }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5343,6 +5400,22 @@ "value" ] }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -5501,6 +5574,26 @@ "value" ] }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5717,6 +5810,22 @@ "value" ] }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -5979,6 +6088,22 @@ "value" ] }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -6020,6 +6145,26 @@ "value" ] }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -6207,6 +6352,22 @@ "value" ] }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -6376,6 +6537,22 @@ ] } }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6679,6 +6856,22 @@ ] } }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -7202,6 +7395,22 @@ "value" ] }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -7485,6 +7694,22 @@ "required": [ "value" ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] } }, "parameters": { From cd8eaae973c77f61a5e0da9249ffd1fd7e7d6941 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 17 Feb 2025 09:12:33 -0600 Subject: [PATCH 20/89] added version 2024-12-01 --- .../Approvals_CreateOrUpdate.json | 108 + .../2024-12-01-preview/Approvals_Delete.json | 25 + .../2024-12-01-preview/Approvals_Get.json | 49 + .../Approvals_InitiatorCallback.json | 28 + .../Approvals_ListByParent.json | 54 + .../2024-12-01-preview/Approvals_Update.json | 75 + ...ityEndpoints_ApprovalDeletionCallback.json | 28 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 26 + .../CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + ...mmunityEndpoints_PostApprovalCallback.json | 29 + .../CommunityEndpoints_Update.json | 69 + .../Community_CreateOrUpdate.json | 616 ++ .../2024-12-01-preview/Community_Delete.json | 25 + .../2024-12-01-preview/Community_Get.json | 228 + .../Community_ListByResourceGroup.json | 232 + .../Community_ListBySubscription.json | 231 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../2024-12-01-preview/Community_Update.json | 361 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 25 + .../EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../EnclaveConnection_Update.json | 54 + ...aveEndpoints_ApprovalDeletionCallback.json | 28 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 26 + .../EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + ...EnclaveEndpoints_PostApprovalCallback.json | 29 + .../EnclaveEndpoints_Update.json | 67 + .../Endpoint_CreateOrUpdate.json | 92 + .../2024-12-01-preview/Endpoint_Delete.json | 26 + .../2024-12-01-preview/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../Endpoint_ListBySubscription.json | 46 + .../2024-12-01-preview/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../ExternalConnections_Delete.json | 25 + .../ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../InternalConnections_Delete.json | 25 + .../InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../InternalConnections_Update.json | 70 + .../2024-12-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 98 + .../2024-12-01-preview/TransitHub_Delete.json | 26 + .../2024-12-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2024-12-01-preview/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 329 + .../VirtualEnclave_Delete.json | 25 + .../VirtualEnclave_Get.json | 129 + .../VirtualEnclave_ListByResourceGroup.json | 133 + .../VirtualEnclave_ListBySubscription.json | 132 + .../VirtualEnclave_PostApprovalCallback.json | 29 + ...lEnclave_PostApprovalDeletionCallback.json | 27 + .../VirtualEnclave_Update.json | 225 + .../Workload_CreateOrUpdate.json | 71 + .../2024-12-01-preview/Workload_Delete.json | 26 + .../2024-12-01-preview/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../Workload_ListBySubscription.json | 41 + .../2024-12-01-preview/Workload_Update.json | 53 + .../resourcetypes/approvals/approvals.tsp | 24 +- .../resourcetypes/community/community.tsp | 28 + .../communityEndpoint/communityEndpoint.tsp | 1 + .../enclaveEndpoint/enclaveEndpoint.tsp | 1 + .../mission/Mission.Management/version.tsp | 6 + .../examples/Approvals_CreateOrUpdate.json | 108 + .../examples/Approvals_Delete.json | 25 + .../examples/Approvals_Get.json | 49 + .../examples/Approvals_InitiatorCallback.json | 28 + .../examples/Approvals_ListByParent.json | 54 + .../examples/Approvals_Update.json | 75 + ...ityEndpoints_ApprovalDeletionCallback.json | 28 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 26 + .../examples/CommunityEndpoints_Get.json | 46 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + ...mmunityEndpoints_PostApprovalCallback.json | 29 + .../examples/CommunityEndpoints_Update.json | 69 + .../examples/Community_CreateOrUpdate.json | 616 ++ .../examples/Community_Delete.json | 25 + .../examples/Community_Get.json | 228 + .../Community_ListByResourceGroup.json | 232 + .../Community_ListBySubscription.json | 231 + ...ity_PostCheckAddressSpaceAvailability.json | 33 + .../examples/Community_Update.json | 361 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 25 + .../examples/EnclaveConnection_Get.json | 38 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...nclaveConnection_PostApprovalCallback.json | 29 + .../examples/EnclaveConnection_Update.json | 54 + ...aveEndpoints_ApprovalDeletionCallback.json | 28 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 26 + .../examples/EnclaveEndpoints_Get.json | 45 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + ...EnclaveEndpoints_PostApprovalCallback.json | 29 + .../examples/EnclaveEndpoints_Update.json | 67 + .../examples/Endpoint_CreateOrUpdate.json | 92 + .../examples/Endpoint_Delete.json | 26 + .../examples/Endpoint_Get.json | 43 + .../Endpoint_ListByEnclaveResource.json | 47 + .../examples/Endpoint_ListBySubscription.json | 46 + .../examples/Endpoint_Update.json | 63 + .../ExternalConnections_CreateOrUpdate.json | 100 + .../examples/ExternalConnections_Delete.json | 25 + .../examples/ExternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...xternalConnections_ListBySubscription.json | 49 + .../examples/ExternalConnections_Update.json | 70 + .../InternalConnections_CreateOrUpdate.json | 103 + .../examples/InternalConnections_Delete.json | 25 + .../examples/InternalConnections_Get.json | 46 + ...ternalConnections_ListByResourceGroup.json | 50 + ...nternalConnections_ListBySubscription.json | 49 + .../examples/InternalConnections_Update.json | 70 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 98 + .../examples/TransitHub_Delete.json | 26 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 67 + .../VirtualEnclave_CreateOrUpdate.json | 329 + .../examples/VirtualEnclave_Delete.json | 25 + .../examples/VirtualEnclave_Get.json | 129 + .../VirtualEnclave_ListByResourceGroup.json | 133 + .../VirtualEnclave_ListBySubscription.json | 132 + .../VirtualEnclave_PostApprovalCallback.json | 29 + ...lEnclave_PostApprovalDeletionCallback.json | 27 + .../examples/VirtualEnclave_Update.json | 225 + .../examples/Workload_CreateOrUpdate.json | 71 + .../examples/Workload_Delete.json | 26 + .../examples/Workload_Get.json | 38 + .../Workload_ListByEnclaveResource.json | 42 + .../examples/Workload_ListBySubscription.json | 41 + .../examples/Workload_Update.json | 53 + .../preview/2024-12-01-preview/openapi.json | 7747 +++++++++++++++++ .../mission/resource-manager/readme.md | 11 +- 159 files changed, 19519 insertions(+), 5 deletions(-) create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_ListByParent.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_ListByParent.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_PostApprovalCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..56b5226b6cb3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_CreateOrUpdate.json @@ -0,0 +1,108 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Delete.json new file mode 100644 index 000000000000..8d0b4841aab2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Get.json new file mode 100644 index 000000000000..ec062ed4e94a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Get.json @@ -0,0 +1,49 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..63939b3c181f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_ListByParent.json new file mode 100644 index 000000000000..1d7e72c7a143 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_ListByParent.json @@ -0,0 +1,54 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Update.json new file mode 100644 index 000000000000..8c85569915b0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Update.json @@ -0,0 +1,75 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..fa398f9853ef --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "title": "CommunityEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..20a98ce1c8f1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..3a08181af44a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..bcc51c769d67 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..b827d5a8e169 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..73ec29456211 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..c7c35fba91b5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_ApprovalCallback", + "title": "CommunityEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..83360b167fa2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..7e230c7f013b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,616 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "approvalSettings": { + "endpointCreation": "NotRequired", + "endpointUpdate": "Required", + "endpointDeletion": "NotRequired", + "connectionCreation": "Required", + "connectionUpdate": "Required", + "connectionUpdateMode": "Manual", + "connectionDeletion": "NotRequired", + "enclaveCreation": "NotRequired", + "enclaveDeletion": "NotRequired", + "maintenanceMode": "NotRequired", + "serviceCatalogDeployment": "NotRequired", + "notificationOnApprovalCreation": "NotRequired", + "notificationOnApprovalAction": "NotRequired", + "notificationOnApprovalDeletion": "NotRequired", + "mandatoryApprovers": [ + { + "approverEntraId": "string" + } + ], + "minimumApproversRequired": 0 + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Delete.json new file mode 100644 index 000000000000..6427d6c4d6c8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Get.json new file mode 100644 index 000000000000..89216c841dc6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Get.json @@ -0,0 +1,228 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..6bff3f7f7ee5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,232 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..3cbb49e39f8a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_ListBySubscription.json @@ -0,0 +1,231 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..1855637bff96 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-12-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json new file mode 100644 index 000000000000..e025bbd0c8c9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json @@ -0,0 +1,361 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..c858a8845ec0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..87c36c9aac13 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..0839765a3926 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..203c445fb889 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..8604ecfca65d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..170e87db1f8e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..2b60a2383061 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..ae478c0fb1ab --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..dd2a57fb4804 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "title": "EnclaveEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..344891e840f3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..84f3bf664445 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..7b2124dcc5f8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..f08df0b1416f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..cfbcc8ae3450 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..c348942e7450 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalCallback", + "title": "EnclaveEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..1af3f3f216cb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..47e01b1f2116 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json new file mode 100644 index 000000000000..ad8051436d53 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Get.json new file mode 100644 index 000000000000..b07d4050f531 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..6a592f895368 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..90f0baa4e0a1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json new file mode 100644 index 000000000000..509c42878b3e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..935a7293a93b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json new file mode 100644 index 000000000000..f3daca923e21 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Get.json new file mode 100644 index 000000000000..f324dda09d34 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..73c7bc702f44 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..19adaee14668 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json new file mode 100644 index 000000000000..4dc65366c28d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..d6e0e12456d8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json new file mode 100644 index 000000000000..d51da6d566cb --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Get.json new file mode 100644 index 000000000000..c60f39e5b2e7 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..54e7b59facd0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..dbb4a2aef5db --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json new file mode 100644 index 000000000000..fcc837863b96 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Operations_List.json new file mode 100644 index 000000000000..d494dc5ec820 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..f70b958f9569 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..0cac5ebb1e86 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..84166b8378e9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..171f9b188efc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..88b931594a3b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..57cc192a394a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..1295ada79683 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,329 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..71a0337f4b49 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..e2950442126e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,129 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..19da941fd34c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,133 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..ed5ea19bcc23 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_PostApprovalCallback.json new file mode 100644 index 000000000000..2237f8ffc0bc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_ApprovalCallback", + "title": "VirtualEnclave_ApprovalCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json new file mode 100644 index 000000000000..cfa29b89657f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_ApprovalDeletionCallback", + "title": "VirtualEnclave_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..3ab5f815a208 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,225 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..958d114c8332 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..2ded21f9fd82 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Get.json new file mode 100644 index 000000000000..fad104de4185 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..56759b0e4fa2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..2329cd7c0d4c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json new file mode 100644 index 000000000000..3b3db03beb9f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index 26c17721d021..090b384fac91 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -56,16 +56,18 @@ model RequestMetadata { approvalStatus?: ApprovalStatus; @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Route name for the approval callback") - approvalCallbackRoute: string; + approvalCallbackRoute?: string; @added(Microsoft.Mission.Versions.v2024_11_01_preview) @doc("Payload to be sent upon any action on approval request") approvalCallbackPayload?: string; } +@renamedFrom(Microsoft.Mission.Versions.v2024_12_01_preview, "Approvers") @doc("Approver Metadata for approvals request.") -model Approvers { +model Approver { @doc("EntraId of the approver") approverEntraId: string; @@ -94,14 +96,28 @@ model ApprovalProperties { @added(Microsoft.Mission.Versions.v2024_10_01_preview) @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) @doc("List of approvers for the approval request") - approvers?: Approvers[]; + approvers?: Approver[]; @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) @doc("List of mandatory approvers for the approval request") - mandatoryApprovers?: Approvers[]; + mandatoryApprovers?: Approver[]; @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Minimum number of approvers required for the approval request") minimumApproversRequired?: int64; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Ticket ID for the approval request") + ticketId?: string; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Approval request creation time") + createdAt?: utcDateTime; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Approval request state change time, time at which approval request state changed from pending to approved or rejected.") + stateChangedAt?: utcDateTime; } diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 6a535cc49db1..8a1f48a10f3f 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -123,6 +123,13 @@ union ApprovalPolicy { NotRequired: "NotRequired", } +@added(Microsoft.Mission.Versions.v2024_12_01_preview) +@doc("Approver Metadata for approvals request.") +model MandatoryApprover { + @doc("EntraId of the approver") + approverEntraId: string; +} + @added(Microsoft.Mission.Versions.v2024_11_01_preview) @doc("ApprovalSettings Properties") model ApprovalSettings { @@ -158,6 +165,27 @@ model ApprovalSettings { @doc("Approval required for deploying service catalog templates (Required or NotRequired).") serviceCatalogDeployment?: ApprovalPolicy; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Notification will be sent on creation of an Approval Request") + notificationOnApprovalCreation?: ApprovalPolicy; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Notification will be sent on any action taken (Approve/Reject) on an Approval Request") + notificationOnApprovalAction?: ApprovalPolicy; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Notification will be sent on deletion of an Approval Request") + notificationOnApprovalDeletion?: ApprovalPolicy; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) + @doc("List of mandatory approvers for the approval request") + mandatoryApprovers?: MandatoryApprover[]; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Minimum number of approvers required for the approval request") + minimumApproversRequired?: int64; } @doc("Community Resource Properties") diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index cb01c053ba97..39150d8b3ac4 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -121,6 +121,7 @@ model CommunityEndpointProperties { provisioningState?: ProvisioningState; @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Whether approval is needed for the connection (True or False).") approvalRequired?: boolean; } diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index 53330b05e1d0..8590088ba263 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -86,6 +86,7 @@ model EnclaveEndpointProperties { provisioningState?: ProvisioningState; @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Whether approval is needed for the connection (True or False).") approvalRequired?: boolean; } diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index a2f780ec6fcb..b76f8ff3b7f7 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -27,4 +27,10 @@ enum Versions { @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_11_01_preview: "2024-11-01-preview", + + @doc("The 2024-12-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2024_12_01_preview: "2024-12-01-preview", } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..56b5226b6cb3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_CreateOrUpdate.json @@ -0,0 +1,108 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Delete.json new file mode 100644 index 000000000000..8d0b4841aab2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Get.json new file mode 100644 index 000000000000..ec062ed4e94a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Get.json @@ -0,0 +1,49 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..63939b3c181f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "Approval_InitiatorCallback", + "title": "Approval_InitiatorCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval initiator callback handled successfully" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_ListByParent.json new file mode 100644 index 000000000000..1d7e72c7a143 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_ListByParent.json @@ -0,0 +1,54 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Update.json new file mode 100644 index 000000000000..8c85569915b0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Update.json @@ -0,0 +1,75 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parent1": "string", + "parent2": "string", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "string", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..fa398f9853ef --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "title": "CommunityEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..20a98ce1c8f1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..3a08181af44a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..bcc51c769d67 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..b827d5a8e169 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..73ec29456211 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..c7c35fba91b5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_ApprovalCallback", + "title": "CommunityEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..83360b167fa2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,69 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "port": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..7e230c7f013b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,616 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "approvalSettings": { + "endpointCreation": "NotRequired", + "endpointUpdate": "Required", + "endpointDeletion": "NotRequired", + "connectionCreation": "Required", + "connectionUpdate": "Required", + "connectionUpdateMode": "Manual", + "connectionDeletion": "NotRequired", + "enclaveCreation": "NotRequired", + "enclaveDeletion": "NotRequired", + "maintenanceMode": "NotRequired", + "serviceCatalogDeployment": "NotRequired", + "notificationOnApprovalCreation": "NotRequired", + "notificationOnApprovalAction": "NotRequired", + "notificationOnApprovalDeletion": "NotRequired", + "mandatoryApprovers": [ + { + "approverEntraId": "string" + } + ], + "minimumApproversRequired": 0 + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..6427d6c4d6c8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..89216c841dc6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Get.json @@ -0,0 +1,228 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..6bff3f7f7ee5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,232 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..3cbb49e39f8a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,231 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..1855637bff96 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,33 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + } + }, + "api-version": "2024-12-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..e025bbd0c8c9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json @@ -0,0 +1,361 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + }, + { + "id": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "resCollection" + ], + "governedServiceList": [ + { + "id": "AKS", + "name": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "id": "AppService", + "name": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "id": "ContainerRegistry", + "name": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "id": "CosmosDB", + "name": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "id": "KeyVault", + "name": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "id": "MicrosoftSQL", + "name": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "id": "Monitoring", + "name": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "id": "PostgreSQL", + "name": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "id": "ServiceBus", + "name": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "id": "Storage", + "name": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "id": "AzureFirewalls", + "name": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Insights", + "name": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "Logic", + "name": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "PrivateDNSZones", + "name": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + }, + { + "id": "DataConnectors", + "name": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "auditOnly": false, + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..c858a8845ec0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..87c36c9aac13 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..0839765a3926 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..203c445fb889 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..8604ecfca65d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..170e87db1f8e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..2b60a2383061 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..ae478c0fb1ab --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,54 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..dd2a57fb4804 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "title": "EnclaveEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..344891e840f3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..84f3bf664445 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..7b2124dcc5f8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..f08df0b1416f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..cfbcc8ae3450 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..c348942e7450 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalCallback", + "title": "EnclaveEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..1af3f3f216cb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,67 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "port": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_CreateOrUpdate.json new file mode 100644 index 000000000000..47e01b1f2116 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_CreateOrUpdate.json @@ -0,0 +1,92 @@ +{ + "title": "Endpoint_CreateOrUpdate", + "operationId": "Endpoint_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "resource": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json new file mode 100644 index 000000000000..ad8051436d53 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Endpoint_Delete", + "operationId": "Endpoint_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Get.json new file mode 100644 index 000000000000..b07d4050f531 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Get.json @@ -0,0 +1,43 @@ +{ + "title": "Endpoint_Get", + "operationId": "Endpoint_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListByEnclaveResource.json new file mode 100644 index 000000000000..6a592f895368 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListByEnclaveResource.json @@ -0,0 +1,47 @@ +{ + "title": "Endpoint_ListByEnclaveResource", + "operationId": "Endpoint_ListByEnclaveResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListBySubscription.json new file mode 100644 index 000000000000..90f0baa4e0a1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListBySubscription.json @@ -0,0 +1,46 @@ +{ + "title": "Endpoint_ListBySubscription", + "operationId": "Endpoint_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json new file mode 100644 index 000000000000..509c42878b3e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json @@ -0,0 +1,63 @@ +{ + "title": "Endpoint_Update", + "operationId": "Endpoint_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "endpointName": "TestMyEndpoint", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "endpointRuleCollection": [ + { + "name": "MyTestEndpointRule", + "address": "10.0.0.0/24", + "port": "443", + "protocol": "TCP" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", + "name": "TestMyEndpoint", + "type": "Microsoft.Mission/virtualenclaves/endpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..935a7293a93b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_CreateOrUpdate.json @@ -0,0 +1,100 @@ +{ + "title": "ExternalConnections_CreateOrUpdate", + "operationId": "ExternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "resource": { + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json new file mode 100644 index 000000000000..f3daca923e21 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "ExternalConnections_Delete", + "operationId": "ExternalConnections_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Get.json new file mode 100644 index 000000000000..f324dda09d34 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "ExternalConnections_Get", + "operationId": "ExternalConnections_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..73c7bc702f44 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "ExternalConnections_ListByResourceGroup", + "operationId": "ExternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..19adaee14668 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "ExternalConnections_ListBySubscription", + "operationId": "ExternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json new file mode 100644 index 000000000000..4dc65366c28d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "ExternalConnections_Update", + "operationId": "ExternalConnections_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "externalConnectionName": "TestEcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "Pending", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveIds": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" + ], + "externalCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/externalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_CreateOrUpdate.json new file mode 100644 index 000000000000..d6e0e12456d8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_CreateOrUpdate.json @@ -0,0 +1,103 @@ +{ + "title": "InternalConnections_CreateOrUpdate", + "operationId": "InternalConnections_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "resource": { + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json new file mode 100644 index 000000000000..d51da6d566cb --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "InternalConnections_Delete", + "operationId": "InternalConnections_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Get.json new file mode 100644 index 000000000000..c60f39e5b2e7 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Get.json @@ -0,0 +1,46 @@ +{ + "title": "InternalConnections_Get", + "operationId": "InternalConnections_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListByResourceGroup.json new file mode 100644 index 000000000000..54e7b59facd0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListByResourceGroup.json @@ -0,0 +1,50 @@ +{ + "title": "InternalConnections_ListByResourceGroup", + "operationId": "InternalConnections_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListBySubscription.json new file mode 100644 index 000000000000..dbb4a2aef5db --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListBySubscription.json @@ -0,0 +1,49 @@ +{ + "title": "InternalConnections_ListBySubscription", + "operationId": "InternalConnections_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json new file mode 100644 index 000000000000..fcc837863b96 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json @@ -0,0 +1,70 @@ +{ + "title": "InternalConnections_Update", + "operationId": "InternalConnections_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "internalConnectionName": "TestIcName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "connectionType": "PrivateLink", + "state": "PendingApproval", + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", + "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", + "sourceCidrs": [ + "192.168.0.1/24" + ], + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/internalconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..d494dc5ec820 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2024-12-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..f70b958f9569 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..0cac5ebb1e86 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..84166b8378e9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..171f9b188efc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..88b931594a3b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..57cc192a394a --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,67 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "resCollection" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..1295ada79683 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,329 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..71a0337f4b49 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..e2950442126e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,129 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..19da941fd34c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,133 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..ed5ea19bcc23 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_PostApprovalCallback.json new file mode 100644 index 000000000000..2237f8ffc0bc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_ApprovalCallback", + "title": "VirtualEnclave_ApprovalCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json new file mode 100644 index 000000000000..cfa29b89657f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_ApprovalDeletionCallback", + "title": "VirtualEnclave_ApprovalDeletionCallback", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..3ab5f815a208 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,225 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "name": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true, + "connectToAzureServices": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "g" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..958d114c8332 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..2ded21f9fd82 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Delete.json @@ -0,0 +1,26 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": {}, + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..fad104de4185 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Get.json @@ -0,0 +1,38 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..56759b0e4fa2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..2329cd7c0d4c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..3b3db03beb9f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json @@ -0,0 +1,53 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2024-12-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json new file mode 100644 index 000000000000..81bf1f426be3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -0,0 +1,7747 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft Mission", + "version": "2024-12-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "Endpoint" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "InternalConnections" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "ExternalConnections" + }, + { + "name": "Approval" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.Mission/approvals": { + "get": { + "operationId": "Approval_ListByParent", + "tags": [ + "Approval" + ], + "description": "List ApprovalResource resources by parent", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_ListByParent": { + "$ref": "./examples/Approvals_ListByParent.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { + "get": { + "operationId": "Approval_Get", + "tags": [ + "Approval" + ], + "description": "Get a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Get": { + "$ref": "./examples/Approvals_Get.json" + } + } + }, + "put": { + "operationId": "Approval_CreateOrUpdate", + "tags": [ + "Approval" + ], + "description": "Create a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApprovalResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "201": { + "description": "Resource 'ApprovalResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_CreateOrUpdate": { + "$ref": "./examples/Approvals_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Approval_Update", + "tags": [ + "Approval" + ], + "description": "Update a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Approval_Delete", + "tags": [ + "Approval" + ], + "description": "Delete a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { + "post": { + "operationId": "Approval_InitiatorCallback", + "tags": [ + "Approval" + ], + "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/InitiatorCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InitiatorCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_InitiatorCallback": { + "$ref": "./examples/Approvals_InitiatorCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListBySubscription", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListBySubscription": { + "$ref": "./examples/ExternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListBySubscription", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListBySubscription": { + "$ref": "./examples/InternalConnections_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListBySubscription", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListBySubscription": { + "$ref": "./examples/Endpoint_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", + "tags": [ + "Community" + ], + "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalCallback": { + "post": { + "operationId": "CommunityEndpoints_ApprovalCallback", + "tags": [ + "CommunityEndpoints" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ApprovalCallback": { + "$ref": "./examples/CommunityEndpoints_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalDeletionCallback": { + "post": { + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "tags": [ + "CommunityEndpoints" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/CommunityEndpoints_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "get": { + "operationId": "ExternalConnections_ListByResourceGroup", + "tags": [ + "ExternalConnections" + ], + "description": "List ExternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_ListByResourceGroup": { + "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "get": { + "operationId": "ExternalConnections_Get", + "tags": [ + "ExternalConnections" + ], + "description": "Get a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Get": { + "$ref": "./examples/ExternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "ExternalConnections_CreateOrUpdate", + "tags": [ + "ExternalConnections" + ], + "description": "Create a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "201": { + "description": "Resource 'ExternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_CreateOrUpdate": { + "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExternalConnections_Update", + "tags": [ + "ExternalConnections" + ], + "description": "Update a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExternalConnections_Delete", + "tags": [ + "ExternalConnections" + ], + "description": "Delete a ExternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "externalConnectionName", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "get": { + "operationId": "InternalConnections_ListByResourceGroup", + "tags": [ + "InternalConnections" + ], + "description": "List InternalConnection resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_ListByResourceGroup": { + "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "get": { + "operationId": "InternalConnections_Get", + "tags": [ + "InternalConnections" + ], + "description": "Get a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Get": { + "$ref": "./examples/InternalConnections_Get.json" + } + } + }, + "put": { + "operationId": "InternalConnections_CreateOrUpdate", + "tags": [ + "InternalConnections" + ], + "description": "Create a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InternalConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "201": { + "description": "Resource 'InternalConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/InternalConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_CreateOrUpdate": { + "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "InternalConnections_Update", + "tags": [ + "InternalConnections" + ], + "description": "Update a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InternalConnections_Delete", + "tags": [ + "InternalConnections" + ], + "description": "Delete a InternalConnection", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "internalConnectionName", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalCallback": { + "post": { + "operationId": "VirtualEnclave_ApprovalCallback", + "tags": [ + "VirtualEnclave" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ApprovalCallback": { + "$ref": "./examples/VirtualEnclave_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalDeletionCallback": { + "post": { + "operationId": "VirtualEnclave_ApprovalDeletionCallback", + "tags": [ + "VirtualEnclave" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ApprovalDeletionCallback": { + "$ref": "./examples/VirtualEnclave_PostApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { + "post": { + "operationId": "EnclaveEndpoints_ApprovalCallback", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ApprovalCallback": { + "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { + "get": { + "operationId": "Endpoint_ListByEnclaveResource", + "tags": [ + "Endpoint" + ], + "description": "List EndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_ListByEnclaveResource": { + "$ref": "./examples/Endpoint_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { + "get": { + "operationId": "Endpoint_Get", + "tags": [ + "Endpoint" + ], + "description": "Get a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Get": { + "$ref": "./examples/Endpoint_Get.json" + } + } + }, + "put": { + "operationId": "Endpoint_CreateOrUpdate", + "tags": [ + "Endpoint" + ], + "description": "Create a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "201": { + "description": "Resource 'EndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_CreateOrUpdate": { + "$ref": "./examples/Endpoint_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Endpoint_Update", + "tags": [ + "Endpoint" + ], + "description": "Update a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Endpoint_Delete", + "tags": [ + "Endpoint" + ], + "description": "Delete a EndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "endpointName", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResourceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ActionPerformed": { + "type": "string", + "description": "Specifies the action performed by the approver", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "ActionPerformed", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ActionPerformed Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ActionPerformed Type Rejected" + } + ] + } + }, + "ApprovalCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", + "enum": [ + "Create", + "Delete", + "Update", + "Reset" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload requested by client upon approval action" + } + }, + "required": [ + "resourceRequestAction", + "approvalStatus" + ] + }, + "ApprovalCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalDeletionCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", + "enum": [ + "Create", + "Delete", + "Update" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceRequestAction" + ] + }, + "ApprovalDeletionCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalDeletionCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalPolicy": { + "type": "string", + "description": "Approval Policy.", + "enum": [ + "Required", + "NotRequired" + ], + "x-ms-enum": { + "name": "ApprovalPolicy", + "modelAsString": true, + "values": [ + { + "name": "Required", + "value": "Required", + "description": "Approval will be required for the specified action." + }, + { + "name": "NotRequired", + "value": "NotRequired", + "description": "Approval will not be required for the specified action." + } + ] + } + }, + "ApprovalProperties": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approver" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "ticketId": { + "type": "string", + "description": "Ticket ID for the approval request" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Approval request creation time" + }, + "stateChangedAt": { + "type": "string", + "format": "date-time", + "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." + } + }, + "required": [ + "requestMetadata" + ] + }, + "ApprovalPropertiesUpdate": { + "type": "object", + "description": "Approvals Resource Properties", + "properties": { + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdate", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approver" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "ticketId": { + "type": "string", + "description": "Ticket ID for the approval request" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Approval request creation time" + }, + "stateChangedAt": { + "type": "string", + "format": "date-time", + "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." + } + } + }, + "ApprovalResource": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalResourceListResult": { + "type": "object", + "description": "The response of a ApprovalResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApprovalResource items on this page", + "items": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApprovalResourceUpdate": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalSettings": { + "type": "object", + "description": "ApprovalSettings Properties", + "properties": { + "endpointCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint creation (Required or NotRequired)." + }, + "endpointUpdate": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint update (Required or NotRequired)." + }, + "endpointDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint deletion (Required or NotRequired)." + }, + "connectionCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection creation (Required or NotRequired)." + }, + "connectionUpdate": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection update (Required or NotRequired)." + }, + "connectionUpdateMode": { + "type": "string", + "description": "Behavior of enclave connection update workflow after endpoint update is approved (Automatic or Manual).", + "enum": [ + "Automatic", + "Manual" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "connectionDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection deletion (Required or NotRequired)." + }, + "enclaveCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for virtual enclave creation (Required or NotRequired)." + }, + "enclaveDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for virtual enclave deletion (Required or NotRequired)." + }, + "maintenanceMode": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for toggling maintenance mode (Required or NotRequired)." + }, + "serviceCatalogDeployment": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for deploying service catalog templates (Required or NotRequired)." + }, + "notificationOnApprovalCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Notification will be sent on creation of an Approval Request" + }, + "notificationOnApprovalAction": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Notification will be sent on any action taken (Approve/Reject) on an Approval Request" + }, + "notificationOnApprovalDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Notification will be sent on deletion of an Approval Request" + }, + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/MandatoryApprover" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "minimumApproversRequired": { + "type": "integer", + "format": "int64", + "description": "Minimum number of approvers required for the approval request" + } + } + }, + "ApprovalStatus": { + "type": "string", + "description": "Approval Status Enum", + "enum": [ + "Approved", + "Rejected", + "Pending", + "Deleted", + "Expired" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "ApprovalStatus Type Deleted" + }, + { + "name": "Expired", + "value": "Expired", + "description": "ApprovalStatus Type Expired" + } + ] + } + }, + "Approver": { + "type": "object", + "description": "Approver Metadata for approvals request.", + "properties": { + "approverEntraId": { + "type": "string", + "description": "EntraId of the approver" + }, + "actionPerformed": { + "$ref": "#/definitions/ActionPerformed", + "description": "Action Performed by approver" + }, + "lastUpdatedAt": { + "type": "string", + "format": "date-time", + "description": "approval request last updated at" + } + }, + "required": [ + "approverEntraId", + "actionPerformed", + "lastUpdatedAt" + ] + }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, + "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { + "type": "object", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "type": "string", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointPropertiesUpdate": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + } + } + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointResourceUpdate": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + } + } + }, + "CommunityPropertiesUpdate": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", + "description": "Maintenance Mode configuration." + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityResourceUpdate": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "DiagnosticDestination": { + "type": "string", + "description": "Specifies the destination of where to store diagnostic logs.", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + }, + "EnclaveAddressSpaces": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + } + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionPropertiesUpdate": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionResourceUpdate": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettings": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id." + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id." + }, + "logAnalyticsResourceIdCollection": { + "type": "array", + "description": "Log Analytics Resource Ids.", + "items": { + "$ref": "#/definitions/LogAnalyticsResourceId" + } + }, + "diagnosticDestination": { + "$ref": "#/definitions/DiagnosticDestination", + "description": "Diagnostic Destination." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointPropertiesUpdate": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveEndpointResourceUpdate": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResourceUpdate": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EnclaveVirtualNetwork": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + }, + "required": [ + "networkSize" + ] + }, + "EnclaveVirtualNetworkUpdate": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "name": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size." + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + } + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." + }, + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." + } + } + }, + "EndpointProperties": { + "type": "object", + "description": "Endpoint Resource properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointProtocol": { + "type": "string", + "description": "Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EndpointResource": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/endpoints" + } + ] + } + }, + "EndpointResourceListResult": { + "type": "object", + "description": "The response of a EndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EndpointResource items on this page", + "items": { + "$ref": "#/definitions/EndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EndpointResourceUpdate": { + "type": "object", + "description": "Endpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "EndpointRule": { + "type": "object", + "description": "EndpointRule Properties", + "properties": { + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "address": { + "type": "string", + "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + }, + "protocol": { + "$ref": "#/definitions/EndpointProtocol", + "description": "Protocol. Options specified by Endpoint Protocol Enum." + } + } + }, + "ExternalConnection": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "ExternalConnectionListResult": { + "type": "object", + "description": "The response of a ExternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExternalConnection items on this page", + "items": { + "$ref": "#/definitions/ExternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] + }, + "ExternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionState": { + "type": "string", + "description": "Specifies the state of the externalConnection.", + "enum": [ + "Pending", + "Approved", + "Active" + ], + "x-ms-enum": { + "name": "ExternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending", + "description": "ExternalConnectionState Type Pending" + }, + { + "name": "Approved", + "value": "Approved", + "description": "ExternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "ExternalConnectionState Type Active" + } + ] + } + }, + "ExternalConnectionUpdate": { + "type": "object", + "description": "Describes an External Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "GovernedServiceItem": { + "type": "object", + "description": "GovernedServiceItem Properties", + "properties": { + "id": { + "$ref": "#/definitions/ServiceIdentifier", + "description": "service id" + }, + "name": { + "type": "string", + "description": "service name", + "readOnly": true + }, + "option": { + "type": "string", + "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "enum": [ + "Allow", + "Deny", + "ExceptionOnly", + "NotApplicable" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "enforcement": { + "type": "string", + "description": "initiative enforcement (Enabled or Disabled).", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "auditOnly": { + "type": "boolean", + "description": "policies set to auditOnly (True or False)." + }, + "initiatives": { + "type": "array", + "description": "initiatives associated with this service", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "id" + ] + }, + "IPGroupResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/IpGroups" + } + ] + } + }, + "InitiatorCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "InitiatorCallbackResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "InternalConnection": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "InternalConnectionListResult": { + "type": "object", + "description": "The response of a InternalConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InternalConnection items on this page", + "items": { + "$ref": "#/definitions/InternalConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] + }, + "InternalConnectionPropertiesUpdate": { + "type": "object", + "description": "Describes the properties of an Internal Connection.", + "properties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { + "type": "string" + } + } + } + }, + "InternalConnectionState": { + "type": "string", + "description": "Specifies the state of the internalConnection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "InternalConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "InternalConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "InternalConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "InternalConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "InternalConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "InternalConnectionState Type Failed" + } + ] + } + }, + "InternalConnectionType": { + "type": "string", + "description": "Specifies the different types of network connections.", + "enum": [ + "PrivateLink", + "NetworkSecurityGroup" + ], + "x-ms-enum": { + "name": "InternalConnectionType", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink", + "description": "InternalConnectionType Type PrivateLink" + }, + { + "name": "NetworkSecurityGroup", + "value": "NetworkSecurityGroup", + "description": "InternalConnectionType Type NetworkSecurityGroup." + } + ] + } + }, + "InternalConnectionUpdate": { + "type": "object", + "description": "Describes an Internal Connection.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionPropertiesUpdate", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "MaintenanceModeConfiguration": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "mode" + ] + }, + "MaintenanceModeConfigurationUpdate": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, + "ManagedResourceGroupConfiguration": { + "type": "object", + "description": "ManagedResourceGroup related properties", + "properties": { + "name": { + "type": "string", + "description": "Name of managed resource group" + }, + "location": { + "type": "string", + "description": "Managed Resource Group location" + } + } + }, + "MandatoryApprover": { + "type": "object", + "description": "Approver Metadata for approvals request.", + "properties": { + "approverEntraId": { + "type": "string", + "description": "EntraId of the approver" + } + }, + "required": [ + "approverEntraId" + ] + }, + "Principal": { + "type": "object", + "description": "Principal for maintenance mode or role assignments", + "properties": { + "id": { + "type": "string", + "description": "The object id associated with the principal" + }, + "type": { + "type": "string", + "description": "The type of the object id. We currently allow users, groups, and service principals", + "enum": [ + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "id", + "type" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Created", + "Creating", + "Deleted", + "Deleting", + "NotSpecified", + "Ready", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Created", + "value": "Created", + "description": "Provisioning State Type Created" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "Provisioning State Type Deleted" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Ready", + "value": "Ready", + "description": "Provisioning State Type Ready" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "RequestMetadata": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + }, + "approvalCallbackRoute": { + "type": "string", + "description": "Route name for the approval callback" + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload to be sent upon any action on approval request" + } + }, + "required": [ + "resourceAction" + ] + }, + "RequestMetadataUpdate": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + }, + "approvalCallbackRoute": { + "type": "string", + "description": "Route name for the approval callback" + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload to be sent upon any action on approval request" + } + } + }, + "RoleAssignmentItem": { + "type": "object", + "description": "Role assignment item that indicates which principals should be assigned this role definition", + "properties": { + "id": { + "type": "string", + "description": "Role definition identifier" + }, + "principals": { + "type": "array", + "description": "List of principal IDs to which to assign this role definition", + "items": { + "$ref": "#/definitions/Principal" + } + } + }, + "required": [ + "id" + ] + }, + "ServiceIdentifier": { + "type": "string", + "description": "Identifier for governed services.", + "enum": [ + "AKS", + "AppService", + "AzureFirewalls", + "ContainerRegistry", + "CosmosDB", + "DataConnectors", + "Insights", + "KeyVault", + "Logic", + "MicrosoftSQL", + "Monitoring", + "PostgreSQL", + "PrivateDNSZones", + "ServiceBus", + "Storage" + ], + "x-ms-enum": { + "name": "ServiceIdentifier", + "modelAsString": true, + "values": [ + { + "name": "AKS", + "value": "AKS", + "description": "Service identifier for AKS" + }, + { + "name": "AppService", + "value": "AppService", + "description": "Service identifier for App Service" + }, + { + "name": "AzureFirewalls", + "value": "AzureFirewalls", + "description": "Service identifier for Azure Firewalls" + }, + { + "name": "ContainerRegistry", + "value": "ContainerRegistry", + "description": "Service identifier for Container Registry" + }, + { + "name": "CosmosDB", + "value": "CosmosDB", + "description": "Service identifier for CosmosDB" + }, + { + "name": "DataConnectors", + "value": "DataConnectors", + "description": "Service identifier for Data Connectors" + }, + { + "name": "Insights", + "value": "Insights", + "description": "Service identifier for Insights" + }, + { + "name": "KeyVault", + "value": "KeyVault", + "description": "Service identifier for Key Vault" + }, + { + "name": "Logic", + "value": "Logic", + "description": "Service identifier for Logic" + }, + { + "name": "MicrosoftSql", + "value": "MicrosoftSQL", + "description": "Service identifier for Microsoft SQL" + }, + { + "name": "Monitoring", + "value": "Monitoring", + "description": "Service identifier for Monitoring" + }, + { + "name": "PostgreSql", + "value": "PostgreSQL", + "description": "Service identifier for PostgreSQL" + }, + { + "name": "PrivateDNSZones", + "value": "PrivateDNSZones", + "description": "Service identifier for Private DNS Zones" + }, + { + "name": "ServiceBus", + "value": "ServiceBus", + "description": "Service identifier for Service Bus" + }, + { + "name": "Storage", + "value": "Storage", + "description": "Service identifier for Storage" + } + ] + } + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "SubnetConfiguration": { + "type": "object", + "description": "Subnet Configuration", + "properties": { + "name": { + "type": "string", + "description": "Subnet name." + }, + "id": { + "type": "string", + "format": "arm-id", + "description": "Subnet ID.", + "readOnly": true + }, + "networkPrefixSize": { + "type": "integer", + "format": "int32", + "description": "Network prefix size." + }, + "subnetDelegation": { + "type": "string", + "description": "Subnet delegation." + }, + "addressPrefix": { + "type": "string", + "description": "Address prefix.", + "readOnly": true + }, + "networkSecurityGroupId": { + "type": "string", + "format": "arm-id", + "description": "Network security group ID.", + "readOnly": true + } + }, + "required": [ + "name", + "networkPrefixSize" + ] + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubResourceUpdate": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "type": "string", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualEnclavePropertiesUpdate": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", + "description": "Virtual Network." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, + "VirtualEnclaveResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + } + ] + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WorkloadResourceUpdate": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" + } + ] + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index 36a60453726a..35175c0bbca3 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -28,7 +28,16 @@ These are the global settings for the mission. title: missionClient openapi-type: arm openapi-subtype: rpaas -tag: package-2024-11-01-preview +tag: package-2024-12-01-preview +``` + +### Tag: package-2024-12-01-preview + +These settings apply only when `--tag=package-2024-12-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2024-12-01-preview' +input-file: + - Microsoft.Mission/preview/2024-12-01-preview/openapi.json ``` ### Tag: package-2024-11-01-preview From 2f434a8eaa36d9cc866aaf5f55bae87fd8237b90 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 17 Feb 2025 09:37:05 -0600 Subject: [PATCH 21/89] remove status 200 from ver 2024-12-01 --- .../examples/2024-12-01-preview/CommunityEndpoints_Delete.json | 1 - .../examples/2024-12-01-preview/Community_Delete.json | 1 - .../examples/2024-12-01-preview/EnclaveConnection_Delete.json | 1 - .../examples/2024-12-01-preview/EnclaveEndpoints_Delete.json | 1 - .../examples/2024-12-01-preview/Endpoint_Delete.json | 1 - .../examples/2024-12-01-preview/ExternalConnections_Delete.json | 1 - .../examples/2024-12-01-preview/InternalConnections_Delete.json | 1 - .../examples/2024-12-01-preview/TransitHub_Delete.json | 1 - .../examples/2024-12-01-preview/VirtualEnclave_Delete.json | 1 - .../examples/2024-12-01-preview/Workload_Delete.json | 1 - .../2024-12-01-preview/examples/CommunityEndpoints_Delete.json | 1 - .../preview/2024-12-01-preview/examples/Community_Delete.json | 1 - .../2024-12-01-preview/examples/EnclaveConnection_Delete.json | 1 - .../2024-12-01-preview/examples/EnclaveEndpoints_Delete.json | 1 - .../preview/2024-12-01-preview/examples/Endpoint_Delete.json | 1 - .../2024-12-01-preview/examples/ExternalConnections_Delete.json | 1 - .../2024-12-01-preview/examples/InternalConnections_Delete.json | 1 - .../preview/2024-12-01-preview/examples/TransitHub_Delete.json | 1 - .../2024-12-01-preview/examples/VirtualEnclave_Delete.json | 1 - .../preview/2024-12-01-preview/examples/Workload_Delete.json | 1 - 20 files changed, 20 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Delete.json index 3a08181af44a..264bcf0175dc 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Delete.json @@ -9,7 +9,6 @@ "communityEndpointName": "TestMyCommunityEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Delete.json index 6427d6c4d6c8..c01710543bc8 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Delete.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Delete.json index 0839765a3926..bab672f52509 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Delete.json @@ -8,7 +8,6 @@ "enclaveConnectionName": "TestMyEnclaveConnection" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Delete.json index 84f3bf664445..3ed62f38ab8b 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Delete.json @@ -9,7 +9,6 @@ "enclaveEndpointName": "TestMyEnclaveEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json index ad8051436d53..2fbe7e94db7f 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json @@ -9,7 +9,6 @@ "endpointName": "TestMyEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json index f3daca923e21..2a01c70ecdb9 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json @@ -8,7 +8,6 @@ "externalConnectionName": "TestEcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json index d51da6d566cb..c7dc5569eefa 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json @@ -8,7 +8,6 @@ "internalConnectionName": "TestIcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Delete.json index 0cac5ebb1e86..d75b92834b1a 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Delete.json @@ -9,7 +9,6 @@ "transitHubName": "TestThName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Delete.json index 71a0337f4b49..b5ab6ed0658c 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Delete.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Delete.json index 2ded21f9fd82..635ca18032d6 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Delete.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Delete.json @@ -9,7 +9,6 @@ "workloadName": "TestMyWorkload" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Delete.json index 3a08181af44a..264bcf0175dc 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Delete.json @@ -9,7 +9,6 @@ "communityEndpointName": "TestMyCommunityEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Delete.json index 6427d6c4d6c8..c01710543bc8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Delete.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Delete.json index 0839765a3926..bab672f52509 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Delete.json @@ -8,7 +8,6 @@ "enclaveConnectionName": "TestMyEnclaveConnection" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Delete.json index 84f3bf664445..3ed62f38ab8b 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Delete.json @@ -9,7 +9,6 @@ "enclaveEndpointName": "TestMyEnclaveEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json index ad8051436d53..2fbe7e94db7f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json @@ -9,7 +9,6 @@ "endpointName": "TestMyEndpoint" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json index f3daca923e21..2a01c70ecdb9 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json @@ -8,7 +8,6 @@ "externalConnectionName": "TestEcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json index d51da6d566cb..c7dc5569eefa 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json @@ -8,7 +8,6 @@ "internalConnectionName": "TestIcName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Delete.json index 0cac5ebb1e86..d75b92834b1a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Delete.json @@ -9,7 +9,6 @@ "transitHubName": "TestThName" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Delete.json index 71a0337f4b49..b5ab6ed0658c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Delete.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Delete.json index 2ded21f9fd82..635ca18032d6 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Delete.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Delete.json @@ -9,7 +9,6 @@ "workloadName": "TestMyWorkload" }, "responses": { - "200": {}, "204": {}, "202": { "headers": { From 6b39ebb75ff70c2870cd82f7786356e8e54e52a6 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Wed, 19 Feb 2025 21:33:16 -0600 Subject: [PATCH 22/89] change ARMResourcePatch for ARMResourcePatch --- .../mission/Mission.Management/model.tsp | 24 +- .../preview/2024-06-01-preview/openapi.json | 247 +----------------- .../preview/2024-10-01-preview/openapi.json | 247 +----------------- .../preview/2024-11-01-preview/openapi.json | 247 +----------------- .../preview/2024-12-01-preview/openapi.json | 247 +----------------- 5 files changed, 56 insertions(+), 956 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index b2f12af3ef2f..62212ecf7461 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -198,7 +198,7 @@ interface Workload { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -216,7 +216,7 @@ interface Endpoint { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -234,7 +234,7 @@ interface VirtualEnclave { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -283,7 +283,7 @@ interface Community { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -317,7 +317,7 @@ interface CatalogInterface { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteAsync; @@ -335,7 +335,7 @@ interface InternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< InternalConnection, InternalConnectionProperties >; @@ -357,7 +357,7 @@ interface TransitHub { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -376,7 +376,7 @@ interface EnclaveConnection { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< EnclaveConnectionResource, EnclaveConnectionProperties >; @@ -415,7 +415,7 @@ interface EnclaveEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< EnclaveEndpointResource, EnclaveEndpointProperties >; @@ -454,7 +454,7 @@ interface CommunityEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< CommunityEndpointResource, CommunityEndpointProperties >; @@ -492,7 +492,7 @@ interface ExternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - update is ArmResourcePatchAsync< + update is ArmCustomPatchAsync< ExternalConnection, ExternalConnectionProperties >; @@ -515,7 +515,7 @@ interface Approval { ArmAsyncOperationHeader >; listByParent is ArmResourceListByParent; - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") @armResourceAction(ApprovalResource) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index ba9a34745629..5319338e1e49 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" + "$ref": "#/definitions/ApprovalPropertiesUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" + "$ref": "#/definitions/CommunityProperties" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" + "$ref": "#/definitions/TransitHubProperties" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" + "$ref": "#/definitions/InternalConnectionPropertiesUpdate" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" + "$ref": "#/definitions/EndpointProperties" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" + "$ref": "#/definitions/WorkloadProperties" } } ], @@ -4428,22 +4428,6 @@ "value" ] }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, "ApprovalStatus": { "type": "string", "description": "Approval Status Enum", @@ -4474,47 +4458,6 @@ ] } }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4734,22 +4677,6 @@ "value" ] }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -4843,26 +4770,6 @@ "value" ] }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5079,22 +4986,6 @@ "value" ] }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -5357,22 +5248,6 @@ "value" ] }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -5414,26 +5289,6 @@ "value" ] }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -5621,22 +5476,6 @@ "value" ] }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -5806,22 +5645,6 @@ ] } }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6125,22 +5948,6 @@ ] } }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -6627,22 +6434,6 @@ "value" ] }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -6898,22 +6689,6 @@ "required": [ "value" ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] } }, "parameters": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 1f0ff6c43fcd..e13ac56d29d8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" + "$ref": "#/definitions/ApprovalPropertiesUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" + "$ref": "#/definitions/CommunityProperties" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" + "$ref": "#/definitions/TransitHubProperties" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" + "$ref": "#/definitions/InternalConnectionPropertiesUpdate" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" + "$ref": "#/definitions/EndpointProperties" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" + "$ref": "#/definitions/WorkloadProperties" } } ], @@ -4502,22 +4502,6 @@ "value" ] }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, "ApprovalStatus": { "type": "string", "description": "Approval Status Enum", @@ -4572,47 +4556,6 @@ "lastUpdatedAt" ] }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4832,22 +4775,6 @@ "value" ] }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -4948,26 +4875,6 @@ "value" ] }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5184,22 +5091,6 @@ "value" ] }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -5462,22 +5353,6 @@ "value" ] }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -5519,26 +5394,6 @@ "value" ] }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -5726,22 +5581,6 @@ "value" ] }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -5911,22 +5750,6 @@ ] } }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6230,22 +6053,6 @@ ] } }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -6752,22 +6559,6 @@ "value" ] }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -7051,22 +6842,6 @@ "required": [ "value" ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] } }, "parameters": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 58388b170559..34b0a55d9933 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" + "$ref": "#/definitions/ApprovalPropertiesUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" + "$ref": "#/definitions/CommunityPropertiesUpdate" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" } } ], @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" + "$ref": "#/definitions/TransitHubProperties" } } ], @@ -2276,7 +2276,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" } } ], @@ -2720,7 +2720,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" } } ], @@ -3016,7 +3016,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" + "$ref": "#/definitions/InternalConnectionPropertiesUpdate" } } ], @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" } } ], @@ -3788,7 +3788,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" } } ], @@ -4288,7 +4288,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" + "$ref": "#/definitions/EndpointProperties" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" + "$ref": "#/definitions/WorkloadProperties" } } ], @@ -5001,22 +5001,6 @@ "value" ] }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, "ApprovalSettings": { "type": "object", "description": "ApprovalSettings Properties", @@ -5140,47 +5124,6 @@ "lastUpdatedAt" ] }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5400,22 +5343,6 @@ "value" ] }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -5574,26 +5501,6 @@ "value" ] }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5810,22 +5717,6 @@ "value" ] }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -6088,22 +5979,6 @@ "value" ] }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -6145,26 +6020,6 @@ "value" ] }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -6352,22 +6207,6 @@ "value" ] }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -6537,22 +6376,6 @@ ] } }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6856,22 +6679,6 @@ ] } }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -7395,22 +7202,6 @@ "value" ] }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -7694,22 +7485,6 @@ "required": [ "value" ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] } }, "parameters": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 81bf1f426be3..67ba51c7d7fb 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResourceUpdate" + "$ref": "#/definitions/ApprovalPropertiesUpdate" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResourceUpdate" + "$ref": "#/definitions/CommunityPropertiesUpdate" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResourceUpdate" + "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" } } ], @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResourceUpdate" + "$ref": "#/definitions/TransitHubProperties" } } ], @@ -2276,7 +2276,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceUpdate" + "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" } } ], @@ -2720,7 +2720,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionUpdate" + "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" } } ], @@ -3016,7 +3016,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionUpdate" + "$ref": "#/definitions/InternalConnectionPropertiesUpdate" } } ], @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResourceUpdate" + "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" } } ], @@ -3788,7 +3788,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceUpdate" + "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" } } ], @@ -4288,7 +4288,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResourceUpdate" + "$ref": "#/definitions/EndpointProperties" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResourceUpdate" + "$ref": "#/definitions/WorkloadProperties" } } ], @@ -4999,22 +4999,6 @@ "value" ] }, - "ApprovalResourceUpdate": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ] - }, "ApprovalSettings": { "type": "object", "description": "ApprovalSettings Properties", @@ -5165,47 +5149,6 @@ "lastUpdatedAt" ] }, - "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { - "type": "object", - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", - "description": "The type of managed identity assigned to this resource." - }, - "userAssignedIdentities": { - "type": "object", - "description": "The identities assigned to this resource by the user.", - "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", - "x-nullable": true - } - } - } - }, - "Azure.ResourceManager.CommonTypes.TrackedResourceUpdate": { - "type": "object", - "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" - } - ] - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5417,22 +5360,6 @@ "value" ] }, - "CommunityEndpointResourceUpdate": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -5591,26 +5518,6 @@ "value" ] }, - "CommunityResourceUpdate": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "DestinationEndpointResourceId": { "type": "string", "format": "arm-id", @@ -5827,22 +5734,6 @@ "value" ] }, - "EnclaveConnectionResourceUpdate": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveConnectionSourceResourceId": { "type": "string", "format": "arm-id", @@ -6097,22 +5988,6 @@ "value" ] }, - "EnclaveEndpointResourceUpdate": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveResource": { "type": "object", "description": "Virtual Enclave Model Resource", @@ -6154,26 +6029,6 @@ "value" ] }, - "EnclaveResourceUpdate": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EnclaveVirtualNetwork": { "type": "object", "description": "Enclave Virtual Network Properties", @@ -6361,22 +6216,6 @@ "value" ] }, - "EndpointResourceUpdate": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "EndpointRule": { "type": "object", "description": "EndpointRule Properties", @@ -6546,22 +6385,6 @@ ] } }, - "ExternalConnectionUpdate": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "GovernedServiceItem": { "type": "object", "description": "GovernedServiceItem Properties", @@ -6865,22 +6688,6 @@ ] } }, - "InternalConnectionUpdate": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -7416,22 +7223,6 @@ "value" ] }, - "TransitHubResourceUpdate": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] - }, "TransitHubState": { "type": "string", "description": "Specifies the state of the transitHub.", @@ -7715,22 +7506,6 @@ "required": [ "value" ] - }, - "WorkloadResourceUpdate": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.TrackedResourceUpdate" - } - ] } }, "parameters": { From 6c46715234cbde31c87a44b68e2e66d4107e8e5c Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 20 Feb 2025 08:37:02 -0600 Subject: [PATCH 23/89] add @parameterVisibility to all ocurrences of ArmCustomPatchAsync --- specification/mission/Mission.Management/model.tsp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 62212ecf7461..e73e8f56d89b 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -198,6 +198,7 @@ interface Workload { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -216,6 +217,7 @@ interface Endpoint { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -234,6 +236,7 @@ interface VirtualEnclave { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -283,6 +286,7 @@ interface Community { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -317,6 +321,7 @@ interface CatalogInterface { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -335,6 +340,7 @@ interface InternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync< InternalConnection, InternalConnectionProperties @@ -357,6 +363,7 @@ interface TransitHub { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -376,6 +383,7 @@ interface EnclaveConnection { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync< EnclaveConnectionResource, EnclaveConnectionProperties @@ -415,6 +423,7 @@ interface EnclaveEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync< EnclaveEndpointResource, EnclaveEndpointProperties @@ -454,6 +463,7 @@ interface CommunityEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync< CommunityEndpointResource, CommunityEndpointProperties @@ -492,6 +502,7 @@ interface ExternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; + @parameterVisibility update is ArmCustomPatchAsync< ExternalConnection, ExternalConnectionProperties @@ -515,6 +526,7 @@ interface Approval { ArmAsyncOperationHeader >; listByParent is ArmResourceListByParent; + @parameterVisibility update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") From f63beb66281532e6a1a6739a7990e46f9d9a2c35 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 20 Feb 2025 08:53:40 -0600 Subject: [PATCH 24/89] minor fix on ArmCustomPatchAsync --- .../mission/Mission.Management/model.tsp | 30 ++++++++----------- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index e73e8f56d89b..99ece30c8e80 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -199,7 +199,7 @@ interface Workload { ArmAsyncOperationHeader >; @parameterVisibility - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -218,7 +218,7 @@ interface Endpoint { ArmAsyncOperationHeader >; @parameterVisibility - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -237,7 +237,7 @@ interface VirtualEnclave { ArmAsyncOperationHeader >; @parameterVisibility - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -287,7 +287,7 @@ interface Community { ArmAsyncOperationHeader >; @parameterVisibility - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -322,7 +322,7 @@ interface CatalogInterface { ArmAsyncOperationHeader >; @parameterVisibility - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteAsync; @@ -341,10 +341,7 @@ interface InternalConnections { ArmAsyncOperationHeader >; @parameterVisibility - update is ArmCustomPatchAsync< - InternalConnection, - InternalConnectionProperties - >; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -364,7 +361,7 @@ interface TransitHub { ArmAsyncOperationHeader >; @parameterVisibility - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -386,7 +383,7 @@ interface EnclaveConnection { @parameterVisibility update is ArmCustomPatchAsync< EnclaveConnectionResource, - EnclaveConnectionProperties + EnclaveConnectionResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -426,7 +423,7 @@ interface EnclaveEndpoints { @parameterVisibility update is ArmCustomPatchAsync< EnclaveEndpointResource, - EnclaveEndpointProperties + EnclaveEndpointResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -466,7 +463,7 @@ interface CommunityEndpoints { @parameterVisibility update is ArmCustomPatchAsync< CommunityEndpointResource, - CommunityEndpointProperties + CommunityEndpointResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -503,10 +500,7 @@ interface ExternalConnections { ArmAsyncOperationHeader >; @parameterVisibility - update is ArmCustomPatchAsync< - ExternalConnection, - ExternalConnectionProperties - >; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -527,7 +521,7 @@ interface Approval { >; listByParent is ArmResourceListByParent; @parameterVisibility - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") @armResourceAction(ApprovalResource) From 058c0027e8cd911d822ac0f6d7dacdcc8bad70e5 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 20 Feb 2025 09:18:51 -0600 Subject: [PATCH 25/89] compile the model --- .../preview/2024-06-01-preview/openapi.json | 327 +------------- .../preview/2024-10-01-preview/openapi.json | 366 +-------------- .../preview/2024-11-01-preview/openapi.json | 424 +----------------- .../preview/2024-12-01-preview/openapi.json | 415 +---------------- 4 files changed, 44 insertions(+), 1488 deletions(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 5319338e1e49..114cbfe8f8ec 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPropertiesUpdate" + "$ref": "#/definitions/ApprovalResource" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityProperties" + "$ref": "#/definitions/CommunityResource" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" + "$ref": "#/definitions/CommunityEndpointResource" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubProperties" + "$ref": "#/definitions/TransitHubResource" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" + "$ref": "#/definitions/EnclaveConnectionResource" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" + "$ref": "#/definitions/ExternalConnection" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate" + "$ref": "#/definitions/InternalConnection" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" + "$ref": "#/definitions/EnclaveResource" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" + "$ref": "#/definitions/EnclaveEndpointResource" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointProperties" + "$ref": "#/definitions/EndpointResource" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadProperties" + "$ref": "#/definitions/WorkloadResource" } } ], @@ -4373,24 +4373,6 @@ "requestMetadata" ] }, - "ApprovalPropertiesUpdate": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadataUpdate", - "description": "Request metadata for the approval request." - } - } - }, "ApprovalResource": { "type": "object", "description": "Approval Model Resource", @@ -4555,31 +4537,6 @@ "ruleCollection" ] }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, "CommunityEndpointProtocol": { "type": "string", "description": "Community Endpoint Protocol Enum", @@ -4912,43 +4869,6 @@ "destinationEndpointId" ] }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, "EnclaveConnectionResource": { "type": "object", "description": "EnclaveConnection Model Resource", @@ -5138,31 +5058,6 @@ "ruleCollection" ] }, - "EnclaveEndpointPropertiesUpdate": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, "EnclaveEndpointProtocol": { "type": "string", "description": "Enclave Endpoint Protocol Enum", @@ -5325,39 +5220,6 @@ "networkSize" ] }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -5580,41 +5442,6 @@ "externalCidrs" ] }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, "ExternalConnectionState": { "type": "string", "description": "Specifies the state of the externalConnection.", @@ -5838,50 +5665,6 @@ "sourceCidrs" ] }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, "InternalConnectionState": { "type": "string", "description": "Specifies the state of the internalConnection.", @@ -6012,43 +5795,6 @@ "mode" ] }, - "MaintenanceModeConfigurationUpdate": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - } - }, "ManagedResourceGroupConfiguration": { "type": "object", "description": "ManagedResourceGroup related properties", @@ -6191,20 +5937,6 @@ "resourceAction" ] }, - "RequestMetadataUpdate": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - } - } - }, "ServiceIdentifier": { "type": "string", "description": "Identifier for governed services.", @@ -6586,43 +6318,6 @@ "communityResourceId" ] }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - } - } - }, "VirtualEnclaveResourceId": { "type": "string", "format": "arm-id", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index e13ac56d29d8..8afccf22f8b5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPropertiesUpdate" + "$ref": "#/definitions/ApprovalResource" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityProperties" + "$ref": "#/definitions/CommunityResource" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" + "$ref": "#/definitions/CommunityEndpointResource" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubProperties" + "$ref": "#/definitions/TransitHubResource" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" + "$ref": "#/definitions/EnclaveConnectionResource" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" + "$ref": "#/definitions/ExternalConnection" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate" + "$ref": "#/definitions/InternalConnection" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" + "$ref": "#/definitions/EnclaveResource" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" + "$ref": "#/definitions/EnclaveEndpointResource" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointProperties" + "$ref": "#/definitions/EndpointResource" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadProperties" + "$ref": "#/definitions/WorkloadResource" } } ], @@ -4422,49 +4422,6 @@ "requestMetadata" ] }, - "ApprovalPropertiesUpdate": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadataUpdate", - "description": "Request metadata for the approval request." - }, - "approvers": { - "type": "array", - "description": "List of approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "mandatoryApprovers": { - "type": "array", - "description": "List of mandatory approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "minimumApproversRequired": { - "type": "integer", - "format": "int64", - "description": "Minimum number of approvers required for the approval request" - } - } - }, "ApprovalResource": { "type": "object", "description": "Approval Model Resource", @@ -4653,31 +4610,6 @@ "ruleCollection" ] }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, "CommunityEndpointProtocol": { "type": "string", "description": "Community Endpoint Protocol Enum", @@ -5017,43 +4949,6 @@ "destinationEndpointId" ] }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, "EnclaveConnectionResource": { "type": "object", "description": "EnclaveConnection Model Resource", @@ -5243,31 +5138,6 @@ "ruleCollection" ] }, - "EnclaveEndpointPropertiesUpdate": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, "EnclaveEndpointProtocol": { "type": "string", "description": "Enclave Endpoint Protocol Enum", @@ -5430,39 +5300,6 @@ "networkSize" ] }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -5685,41 +5522,6 @@ "externalCidrs" ] }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, "ExternalConnectionState": { "type": "string", "description": "Specifies the state of the externalConnection.", @@ -5943,50 +5745,6 @@ "sourceCidrs" ] }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, "InternalConnectionState": { "type": "string", "description": "Specifies the state of the internalConnection.", @@ -6117,43 +5875,6 @@ "mode" ] }, - "MaintenanceModeConfigurationUpdate": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - } - }, "ManagedResourceGroupConfiguration": { "type": "object", "description": "ManagedResourceGroup related properties", @@ -6296,20 +6017,6 @@ "resourceAction" ] }, - "RequestMetadataUpdate": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - } - } - }, "RoleAssignmentItem": { "type": "object", "description": "Role assignment item that indicates which principals should be assigned this role definition", @@ -6725,57 +6432,6 @@ "communityResourceId" ] }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, "VirtualEnclaveResourceId": { "type": "string", "format": "arm-id", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 34b0a55d9933..681f5c15346c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPropertiesUpdate" + "$ref": "#/definitions/ApprovalResource" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPropertiesUpdate" + "$ref": "#/definitions/CommunityResource" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" + "$ref": "#/definitions/CommunityEndpointResource" } } ], @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubProperties" + "$ref": "#/definitions/TransitHubResource" } } ], @@ -2276,7 +2276,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" + "$ref": "#/definitions/EnclaveConnectionResource" } } ], @@ -2720,7 +2720,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" + "$ref": "#/definitions/ExternalConnection" } } ], @@ -3016,7 +3016,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate" + "$ref": "#/definitions/InternalConnection" } } ], @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" + "$ref": "#/definitions/EnclaveResource" } } ], @@ -3788,7 +3788,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" + "$ref": "#/definitions/EnclaveEndpointResource" } } ], @@ -4288,7 +4288,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointProperties" + "$ref": "#/definitions/EndpointResource" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadProperties" + "$ref": "#/definitions/WorkloadResource" } } ], @@ -4921,49 +4921,6 @@ "requestMetadata" ] }, - "ApprovalPropertiesUpdate": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadataUpdate", - "description": "Request metadata for the approval request." - }, - "approvers": { - "type": "array", - "description": "List of approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "mandatoryApprovers": { - "type": "array", - "description": "List of mandatory approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "minimumApproversRequired": { - "type": "integer", - "format": "int64", - "description": "Minimum number of approvers required for the approval request" - } - } - }, "ApprovalResource": { "type": "object", "description": "Approval Model Resource", @@ -5221,31 +5178,6 @@ "ruleCollection" ] }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, "CommunityEndpointProtocol": { "type": "string", "description": "Community Endpoint Protocol Enum", @@ -5398,56 +5330,6 @@ } } }, - "CommunityPropertiesUpdate": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "approvalSettings": { - "$ref": "#/definitions/ApprovalSettings", - "description": "Approval requirements for various actions on the community's resources." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - } - } - }, "CommunityResource": { "type": "object", "description": "Community Model Resource", @@ -5643,43 +5525,6 @@ "destinationEndpointId" ] }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, "EnclaveConnectionResource": { "type": "object", "description": "EnclaveConnection Model Resource", @@ -5869,31 +5714,6 @@ "ruleCollection" ] }, - "EnclaveEndpointPropertiesUpdate": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, "EnclaveEndpointProtocol": { "type": "string", "description": "Enclave Endpoint Protocol Enum", @@ -6056,39 +5876,6 @@ "networkSize" ] }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -6311,41 +6098,6 @@ "externalCidrs" ] }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, "ExternalConnectionState": { "type": "string", "description": "Specifies the state of the externalConnection.", @@ -6569,50 +6321,6 @@ "sourceCidrs" ] }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, "InternalConnectionState": { "type": "string", "description": "Specifies the state of the internalConnection.", @@ -6743,43 +6451,6 @@ "mode" ] }, - "MaintenanceModeConfigurationUpdate": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - } - }, "ManagedResourceGroupConfiguration": { "type": "object", "description": "ManagedResourceGroup related properties", @@ -6931,28 +6602,6 @@ "approvalCallbackRoute" ] }, - "RequestMetadataUpdate": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - }, - "approvalCallbackRoute": { - "type": "string", - "description": "Route name for the approval callback" - }, - "approvalCallbackPayload": { - "type": "string", - "description": "Payload to be sent upon any action on approval request" - } - } - }, "RoleAssignmentItem": { "type": "object", "description": "Role assignment item that indicates which principals should be assigned this role definition", @@ -7368,57 +7017,6 @@ "communityResourceId" ] }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, "VirtualEnclaveResourceId": { "type": "string", "format": "arm-id", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 67ba51c7d7fb..0fe8505fd916 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPropertiesUpdate" + "$ref": "#/definitions/ApprovalResource" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPropertiesUpdate" + "$ref": "#/definitions/CommunityResource" } } ], @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPropertiesUpdate" + "$ref": "#/definitions/CommunityEndpointResource" } } ], @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubProperties" + "$ref": "#/definitions/TransitHubResource" } } ], @@ -2276,7 +2276,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPropertiesUpdate" + "$ref": "#/definitions/EnclaveConnectionResource" } } ], @@ -2720,7 +2720,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPropertiesUpdate" + "$ref": "#/definitions/ExternalConnection" } } ], @@ -3016,7 +3016,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionPropertiesUpdate" + "$ref": "#/definitions/InternalConnection" } } ], @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePropertiesUpdate" + "$ref": "#/definitions/EnclaveResource" } } ], @@ -3788,7 +3788,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPropertiesUpdate" + "$ref": "#/definitions/EnclaveEndpointResource" } } ], @@ -4288,7 +4288,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointProperties" + "$ref": "#/definitions/EndpointResource" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadProperties" + "$ref": "#/definitions/WorkloadResource" } } ], @@ -4920,48 +4920,6 @@ "requestMetadata" ] }, - "ApprovalPropertiesUpdate": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadataUpdate", - "description": "Request metadata for the approval request." - }, - "approvers": { - "type": "array", - "description": "List of approvers for the approval request", - "items": { - "$ref": "#/definitions/Approver" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "ticketId": { - "type": "string", - "description": "Ticket ID for the approval request" - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "Approval request creation time" - }, - "stateChangedAt": { - "type": "string", - "format": "date-time", - "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." - } - } - }, "ApprovalResource": { "type": "object", "description": "Approval Model Resource", @@ -5242,27 +5200,6 @@ "ruleCollection" ] }, - "CommunityEndpointPropertiesUpdate": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - } - } - }, "CommunityEndpointProtocol": { "type": "string", "description": "Community Endpoint Protocol Enum", @@ -5415,56 +5352,6 @@ } } }, - "CommunityPropertiesUpdate": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "approvalSettings": { - "$ref": "#/definitions/ApprovalSettings", - "description": "Approval requirements for various actions on the community's resources." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - } - } - }, "CommunityResource": { "type": "object", "description": "Community Model Resource", @@ -5660,43 +5547,6 @@ "destinationEndpointId" ] }, - "EnclaveConnectionPropertiesUpdate": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, "EnclaveConnectionResource": { "type": "object", "description": "EnclaveConnection Model Resource", @@ -5882,27 +5732,6 @@ "ruleCollection" ] }, - "EnclaveEndpointPropertiesUpdate": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - } - } - }, "EnclaveEndpointProtocol": { "type": "string", "description": "Enclave Endpoint Protocol Enum", @@ -6065,39 +5894,6 @@ "networkSize" ] }, - "EnclaveVirtualNetworkUpdate": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -6320,41 +6116,6 @@ "externalCidrs" ] }, - "ExternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, "ExternalConnectionState": { "type": "string", "description": "Specifies the state of the externalConnection.", @@ -6578,50 +6339,6 @@ "sourceCidrs" ] }, - "InternalConnectionPropertiesUpdate": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, "InternalConnectionState": { "type": "string", "description": "Specifies the state of the internalConnection.", @@ -6752,43 +6469,6 @@ "mode" ] }, - "MaintenanceModeConfigurationUpdate": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - } - }, "ManagedResourceGroupConfiguration": { "type": "object", "description": "ManagedResourceGroup related properties", @@ -6952,28 +6632,6 @@ "resourceAction" ] }, - "RequestMetadataUpdate": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - }, - "approvalCallbackRoute": { - "type": "string", - "description": "Route name for the approval callback" - }, - "approvalCallbackPayload": { - "type": "string", - "description": "Payload to be sent upon any action on approval request" - } - } - }, "RoleAssignmentItem": { "type": "object", "description": "Role assignment item that indicates which principals should be assigned this role definition", @@ -7389,57 +7047,6 @@ "communityResourceId" ] }, - "VirtualEnclavePropertiesUpdate": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetworkUpdate", - "description": "Virtual Network." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, "VirtualEnclaveResourceId": { "type": "string", "format": "arm-id", From 01b165c849667ffcaa3ad2f118c75ed9545ccc7b Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 20 Feb 2025 10:03:24 -0600 Subject: [PATCH 26/89] added location to Community Update --- .../examples/2024-06-01-preview/Community_Update.json | 1 + .../preview/2024-06-01-preview/examples/Community_Update.json | 1 + 2 files changed, 2 insertions(+) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json index 055952d03613..03ac73073470 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -6,6 +6,7 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", + "location": "westcentralus", "identity": { "type": "SystemAssigned,UserAssigned", "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json index 055952d03613..03ac73073470 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -6,6 +6,7 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", + "location": "westcentralus", "identity": { "type": "SystemAssigned,UserAssigned", "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", From 9229368c114c9c422ed8219fc914a1bf2c85d5ae Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 24 Feb 2025 15:40:57 -0600 Subject: [PATCH 27/89] location to community_update --- .../examples/2024-06-01-preview/Community_Update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json index 03ac73073470..83a51a1d1381 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -6,7 +6,6 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", - "location": "westcentralus", "identity": { "type": "SystemAssigned,UserAssigned", "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", @@ -16,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, From 7b89f8d2d657caad1a3a7d993db61ddfc954dbee Mon Sep 17 00:00:00 2001 From: jorgechav Date: Mon, 24 Feb 2025 16:00:32 -0600 Subject: [PATCH 28/89] Update Community_Update.json --- .../preview/2024-06-01-preview/examples/Community_Update.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json index 03ac73073470..83a51a1d1381 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -6,7 +6,6 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", - "location": "westcentralus", "identity": { "type": "SystemAssigned,UserAssigned", "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", @@ -16,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, From f4decaabcaa3f0f1440e6f3d3a457daa3d230603 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Tue, 25 Feb 2025 13:29:25 -0600 Subject: [PATCH 29/89] added location to CommunityEndpoints --- .../examples/2024-06-01-preview/CommunityEndpoints_Update.json | 1 + .../2024-06-01-preview/examples/CommunityEndpoints_Update.json | 1 + 2 files changed, 2 insertions(+) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json index 4fb6deabc133..59daece74825 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json index 4fb6deabc133..59daece74825 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, From 496862e49a06c3b8ec7c4f90ec8ee29895cf9f02 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Tue, 25 Feb 2025 14:57:45 -0600 Subject: [PATCH 30/89] Added location on all update example files --- .../examples/2024-06-01-preview/EnclaveConnection_Update.json | 1 + .../examples/2024-06-01-preview/EnclaveEndpoints_Update.json | 1 + .../examples/2024-06-01-preview/Endpoint_Update.json | 1 + .../examples/2024-06-01-preview/ExternalConnections_Update.json | 1 + .../examples/2024-06-01-preview/InternalConnections_Update.json | 1 + .../examples/2024-06-01-preview/TransitHub_Update.json | 1 + .../examples/2024-06-01-preview/VirtualEnclave_Update.json | 1 + .../examples/2024-06-01-preview/Workload_Update.json | 1 + .../examples/2024-10-01-preview/CommunityEndpoints_Update.json | 1 + .../examples/2024-10-01-preview/Community_Update.json | 1 + .../examples/2024-10-01-preview/EnclaveConnection_Update.json | 1 + .../examples/2024-10-01-preview/EnclaveEndpoints_Update.json | 1 + .../examples/2024-10-01-preview/Endpoint_Update.json | 1 + .../examples/2024-10-01-preview/ExternalConnections_Update.json | 1 + .../examples/2024-10-01-preview/InternalConnections_Update.json | 1 + .../examples/2024-10-01-preview/TransitHub_Update.json | 1 + .../examples/2024-10-01-preview/VirtualEnclave_Update.json | 1 + .../examples/2024-10-01-preview/Workload_Update.json | 1 + .../examples/2024-11-01-preview/CommunityEndpoints_Update.json | 1 + .../examples/2024-11-01-preview/Community_Update.json | 1 + .../examples/2024-11-01-preview/EnclaveConnection_Update.json | 1 + .../examples/2024-11-01-preview/EnclaveEndpoints_Update.json | 1 + .../examples/2024-11-01-preview/Endpoint_Update.json | 1 + .../examples/2024-11-01-preview/ExternalConnections_Update.json | 1 + .../examples/2024-11-01-preview/InternalConnections_Update.json | 1 + .../examples/2024-11-01-preview/TransitHub_Update.json | 1 + .../examples/2024-11-01-preview/VirtualEnclave_Update.json | 1 + .../examples/2024-11-01-preview/Workload_Update.json | 1 + .../examples/2024-12-01-preview/CommunityEndpoints_Update.json | 1 + .../examples/2024-12-01-preview/Community_Update.json | 1 + .../examples/2024-12-01-preview/EnclaveConnection_Update.json | 1 + .../examples/2024-12-01-preview/EnclaveEndpoints_Update.json | 1 + .../examples/2024-12-01-preview/Endpoint_Update.json | 1 + .../examples/2024-12-01-preview/ExternalConnections_Update.json | 1 + .../examples/2024-12-01-preview/InternalConnections_Update.json | 1 + .../examples/2024-12-01-preview/TransitHub_Update.json | 1 + .../examples/2024-12-01-preview/VirtualEnclave_Update.json | 1 + .../examples/2024-12-01-preview/Workload_Update.json | 1 + .../2024-06-01-preview/examples/EnclaveConnection_Update.json | 1 + .../2024-06-01-preview/examples/EnclaveEndpoints_Update.json | 1 + .../preview/2024-06-01-preview/examples/Endpoint_Update.json | 1 + .../2024-06-01-preview/examples/ExternalConnections_Update.json | 1 + .../2024-06-01-preview/examples/InternalConnections_Update.json | 1 + .../preview/2024-06-01-preview/examples/TransitHub_Update.json | 1 + .../2024-06-01-preview/examples/VirtualEnclave_Update.json | 1 + .../preview/2024-06-01-preview/examples/Workload_Update.json | 1 + .../2024-10-01-preview/examples/CommunityEndpoints_Update.json | 1 + .../preview/2024-10-01-preview/examples/Community_Update.json | 1 + .../2024-10-01-preview/examples/EnclaveConnection_Update.json | 1 + .../2024-10-01-preview/examples/EnclaveEndpoints_Update.json | 1 + .../preview/2024-10-01-preview/examples/Endpoint_Update.json | 1 + .../2024-10-01-preview/examples/ExternalConnections_Update.json | 1 + .../2024-10-01-preview/examples/InternalConnections_Update.json | 1 + .../preview/2024-10-01-preview/examples/TransitHub_Update.json | 1 + .../2024-10-01-preview/examples/VirtualEnclave_Update.json | 1 + .../preview/2024-10-01-preview/examples/Workload_Update.json | 1 + .../2024-11-01-preview/examples/CommunityEndpoints_Update.json | 1 + .../preview/2024-11-01-preview/examples/Community_Update.json | 1 + .../2024-11-01-preview/examples/EnclaveConnection_Update.json | 1 + .../2024-11-01-preview/examples/EnclaveEndpoints_Update.json | 1 + .../preview/2024-11-01-preview/examples/Endpoint_Update.json | 1 + .../2024-11-01-preview/examples/ExternalConnections_Update.json | 1 + .../2024-11-01-preview/examples/InternalConnections_Update.json | 1 + .../preview/2024-11-01-preview/examples/TransitHub_Update.json | 1 + .../2024-11-01-preview/examples/VirtualEnclave_Update.json | 1 + .../preview/2024-11-01-preview/examples/Workload_Update.json | 1 + .../2024-12-01-preview/examples/CommunityEndpoints_Update.json | 1 + .../preview/2024-12-01-preview/examples/Community_Update.json | 1 + .../2024-12-01-preview/examples/EnclaveConnection_Update.json | 1 + .../2024-12-01-preview/examples/EnclaveEndpoints_Update.json | 1 + .../preview/2024-12-01-preview/examples/Endpoint_Update.json | 1 + .../2024-12-01-preview/examples/ExternalConnections_Update.json | 1 + .../2024-12-01-preview/examples/InternalConnections_Update.json | 1 + .../preview/2024-12-01-preview/examples/TransitHub_Update.json | 1 + .../2024-12-01-preview/examples/VirtualEnclave_Update.json | 1 + .../preview/2024-12-01-preview/examples/Workload_Update.json | 1 + 76 files changed, 76 insertions(+) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json index a2c6bde2e52a..e9c80fa035bc 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json index 040f651d0dea..7707739cbdea 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json index 1ea96ea0e8d2..0a0945b9dfe9 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json index f0f31a3cd7e3..605142f61111 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json index 9eb6146a487f..d0a0f1cd0218 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json index 2af1837aecf5..bb6801f8a4bf 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json index 078b9363b307..0ea0ccd93b23 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json index 5b2d97641474..53d526f423a1 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json index 58511f501dfe..13aa31a2b404 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json index 02a466a3ad9b..146ca777d601 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json index 44e829068849..a8495db14961 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json index f6a0ed219a01..08bdf26c03ba 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json index adf24f3e00af..f0718a254bc3 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json index 886b87ed4864..fa6ae3066f0e 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json index 196f540034d6..09202601a236 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json index 8b55ad1ccd06..64e2f9b7243c 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json index 0ddc8bf21d8d..11cf77c749d5 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json @@ -14,6 +14,7 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { "tags": { "Tag1": "Value1" diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json index 39055075b22b..b88f600d2910 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json index d0c798f14de8..03e2816c605e 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json index d8ac00b04eb0..20ee8a1cd602 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json index d47f6694c9a7..5c7838ee3393 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json index 83868a31020c..497c8f18b92a 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json index 651fe1309d72..1089a3096d74 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json index 792e002e138f..6d4a721cb438 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json index d2ff78ea49d9..3ebe85203247 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json index ed08cca87c04..f80f9740fad5 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json index 3eb2db8a7c69..e02dc5fbede6 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json index 6bf434684f3a..4176f8fc9ccd 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json index 83360b167fa2..9a2c950f801c 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json index e025bbd0c8c9..c0e46f25c404 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json index ae478c0fb1ab..3e1ff798ba89 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json index 1af3f3f216cb..7dd42f76df88 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json index 509c42878b3e..eeaa4dd5295f 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json index 4dc65366c28d..a062a4a26f99 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json index fcc837863b96..cac45cd94f09 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json index 57cc192a394a..f5cfcc1c2891 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json index 3ab5f815a208..cd4c5712a676 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json index 3b3db03beb9f..6e7bfcea618c 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json index a2c6bde2e52a..e9c80fa035bc 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json index 040f651d0dea..7707739cbdea 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json index 1ea96ea0e8d2..0a0945b9dfe9 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json index f0f31a3cd7e3..605142f61111 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json index 9eb6146a487f..d0a0f1cd0218 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json index 2af1837aecf5..bb6801f8a4bf 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json index 078b9363b307..0ea0ccd93b23 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json index 5b2d97641474..53d526f423a1 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json index 58511f501dfe..13aa31a2b404 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json index 02a466a3ad9b..146ca777d601 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json index 44e829068849..a8495db14961 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json index f6a0ed219a01..08bdf26c03ba 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json index adf24f3e00af..f0718a254bc3 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json index 886b87ed4864..fa6ae3066f0e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json index 196f540034d6..09202601a236 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json index 8b55ad1ccd06..64e2f9b7243c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json index 0ddc8bf21d8d..11cf77c749d5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json @@ -14,6 +14,7 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { "tags": { "Tag1": "Value1" diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json index 39055075b22b..b88f600d2910 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json index d0c798f14de8..03e2816c605e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json index d8ac00b04eb0..20ee8a1cd602 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json index d47f6694c9a7..5c7838ee3393 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json index 83868a31020c..497c8f18b92a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json index 651fe1309d72..1089a3096d74 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json index 792e002e138f..6d4a721cb438 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json index d2ff78ea49d9..3ebe85203247 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json index ed08cca87c04..f80f9740fad5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json index 3eb2db8a7c69..e02dc5fbede6 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json index 6bf434684f3a..4176f8fc9ccd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json index 83360b167fa2..9a2c950f801c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json index e025bbd0c8c9..c0e46f25c404 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json index ae478c0fb1ab..3e1ff798ba89 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json index 1af3f3f216cb..7dd42f76df88 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json index 509c42878b3e..eeaa4dd5295f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "West US", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json index 4dc65366c28d..a062a4a26f99 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json index fcc837863b96..cac45cd94f09 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json index 57cc192a394a..f5cfcc1c2891 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json index 3ab5f815a208..cd4c5712a676 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json index 3b3db03beb9f..6e7bfcea618c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, From f7f32579942e68d627f8bd440e0089c089eac61c Mon Sep 17 00:00:00 2001 From: jorgechav Date: Tue, 25 Feb 2025 15:08:58 -0600 Subject: [PATCH 31/89] added location to virtualEnclave_update --- .../examples/2024-10-01-preview/VirtualEnclave_Update.json | 2 +- .../2024-10-01-preview/examples/VirtualEnclave_Update.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json index 11cf77c749d5..a3a777a7b27e 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, - "location": "westcentralus", "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json index 11cf77c749d5..a3a777a7b27e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, - "location": "westcentralus", "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, From c5cba1d8e045b5708679f3d7fb4c8a05527bb757 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 27 Feb 2025 15:01:00 -0600 Subject: [PATCH 32/89] made rulecollection optional --- .../resourcetypes/communityEndpoint/communityEndpoint.tsp | 2 +- .../preview/2024-06-01-preview/openapi.json | 5 +---- .../preview/2024-10-01-preview/openapi.json | 5 +---- .../preview/2024-11-01-preview/openapi.json | 5 +---- .../preview/2024-12-01-preview/openapi.json | 5 +---- 5 files changed, 5 insertions(+), 17 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index 39150d8b3ac4..bcf1b0680374 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -104,7 +104,7 @@ model CommunityEndpointProperties { @added(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", []) @doc("Community Endpoint Rule Collection.") - ruleCollection: CommunityEndpointDestinationRule[]; + ruleCollection?: CommunityEndpointDestinationRule[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @removed(Microsoft.Mission.Versions.v2024_06_01_preview) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 114cbfe8f8ec..06bd178a341a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4532,10 +4532,7 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - }, - "required": [ - "ruleCollection" - ] + } }, "CommunityEndpointProtocol": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 8afccf22f8b5..d3e345e9e070 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -4605,10 +4605,7 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - }, - "required": [ - "ruleCollection" - ] + } }, "CommunityEndpointProtocol": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 681f5c15346c..f8f185588346 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -5173,10 +5173,7 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - }, - "required": [ - "ruleCollection" - ] + } }, "CommunityEndpointProtocol": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 0fe8505fd916..81fd241f22c5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5195,10 +5195,7 @@ "description": "Provisioning State.", "readOnly": true } - }, - "required": [ - "ruleCollection" - ] + } }, "CommunityEndpointProtocol": { "type": "string", From 4f1db6d4c833f93cd838b3057021f5a01b32a429 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Wed, 5 Mar 2025 07:54:27 -0600 Subject: [PATCH 33/89] change propertires to optional --- .../resourcetypes/approvals/approvals.tsp | 4 ++-- .../enclaveConnection/enclaveConnection.tsp | 6 ++--- .../externalConnection/externalConnection.tsp | 6 ++--- .../preview/2024-06-01-preview/openapi.json | 24 ++++--------------- .../preview/2024-10-01-preview/openapi.json | 24 ++++--------------- .../preview/2024-11-01-preview/openapi.json | 20 +++------------- .../preview/2024-12-01-preview/openapi.json | 24 ++++--------------- 7 files changed, 23 insertions(+), 85 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index 090b384fac91..ab4e02bb7bfc 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -50,7 +50,7 @@ union ActionPerformed { @doc("Request Metadata for approvals request.") model RequestMetadata { @doc("Resource Action of the item being approved or declined.") - resourceAction: string; + resourceAction?: string; @doc("Approval status.") approvalStatus?: ApprovalStatus; @@ -91,7 +91,7 @@ model ApprovalProperties { parent2?: string; @doc("Request metadata for the approval request.") - requestMetadata: RequestMetadata; + requestMetadata?: RequestMetadata; @added(Microsoft.Mission.Versions.v2024_10_01_preview) @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp index bf1a258cba46..35dae90834c0 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp @@ -47,10 +47,10 @@ model EnclaveConnectionProperties { state?: EnclaveConnectionState; @doc("Community Resource Id.") - communityResourceId: CommunityResourceId; + communityResourceId?: CommunityResourceId; @doc("Source Resource Id.") - sourceResourceId: EnclaveConnectionSourceResourceId; + sourceResourceId?: EnclaveConnectionSourceResourceId; @doc("Source CIDR.") sourceCidr?: string; @@ -59,7 +59,7 @@ model EnclaveConnectionProperties { ipGroup?: IPGroupResourceId; @doc("Destination Endpoint Resource Id.") - destinationEndpointId: DestinationEndpointResourceId; + destinationEndpointId?: DestinationEndpointResourceId; @doc("Provisioning State.") @visibility("read") diff --git a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp index 35ab65020b23..9d68f7bdbd50 100644 --- a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp @@ -39,13 +39,13 @@ model ExternalConnectionProperties { state?: ExternalConnectionState; @doc("Community Resource Id.") - communityResourceId: CommunityResourceId; + communityResourceId?: CommunityResourceId; @doc("The enclaves' resource IDs.") - enclaveIds: VirtualEnclaveResourceId[]; + enclaveIds?: VirtualEnclaveResourceId[]; @doc("The external CIDR IP addresses.") - externalCidrs: string[]; + externalCidrs?: string[]; @doc("List of resource ids modified by externalConnections.") resourceCollection?: string[]; diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 06bd178a341a..17ba90e0046c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4368,10 +4368,7 @@ "$ref": "#/definitions/RequestMetadata", "description": "Request metadata for the approval request." } - }, - "required": [ - "requestMetadata" - ] + } }, "ApprovalResource": { "type": "object", @@ -4859,12 +4856,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] + } }, "EnclaveConnectionResource": { "type": "object", @@ -5432,12 +5424,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] + } }, "ExternalConnectionState": { "type": "string", @@ -5929,10 +5916,7 @@ "$ref": "#/definitions/ApprovalStatus", "description": "Approval status." } - }, - "required": [ - "resourceAction" - ] + } }, "ServiceIdentifier": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index d3e345e9e070..f4c8abf29374 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -4417,10 +4417,7 @@ "format": "int64", "description": "Minimum number of approvers required for the approval request" } - }, - "required": [ - "requestMetadata" - ] + } }, "ApprovalResource": { "type": "object", @@ -4939,12 +4936,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] + } }, "EnclaveConnectionResource": { "type": "object", @@ -5512,12 +5504,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] + } }, "ExternalConnectionState": { "type": "string", @@ -6009,10 +5996,7 @@ "$ref": "#/definitions/ApprovalStatus", "description": "Approval status." } - }, - "required": [ - "resourceAction" - ] + } }, "RoleAssignmentItem": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index f8f185588346..1fc71097e747 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -4916,10 +4916,7 @@ "format": "int64", "description": "Minimum number of approvers required for the approval request" } - }, - "required": [ - "requestMetadata" - ] + } }, "ApprovalResource": { "type": "object", @@ -5515,12 +5512,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] + } }, "EnclaveConnectionResource": { "type": "object", @@ -6088,12 +6080,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] + } }, "ExternalConnectionState": { "type": "string", @@ -6595,7 +6582,6 @@ } }, "required": [ - "resourceAction", "approvalCallbackRoute" ] }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 81fd241f22c5..8a92525d7448 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -4915,10 +4915,7 @@ "format": "date-time", "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." } - }, - "required": [ - "requestMetadata" - ] + } }, "ApprovalResource": { "type": "object", @@ -5537,12 +5534,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] + } }, "EnclaveConnectionResource": { "type": "object", @@ -6106,12 +6098,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] + } }, "ExternalConnectionState": { "type": "string", @@ -6624,10 +6611,7 @@ "type": "string", "description": "Payload to be sent upon any action on approval request" } - }, - "required": [ - "resourceAction" - ] + } }, "RoleAssignmentItem": { "type": "object", From ed988373a482a34a1552dfd16b6e30f20e415c73 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Wed, 5 Mar 2025 11:53:13 -0600 Subject: [PATCH 34/89] change properties to optional --- .../communityEndpoint/communityEndpoint.tsp | 2 +- .../internalConnection/internalConnection.tsp | 12 ++++++------ .../resourcetypes/workload/workload.tsp | 2 +- .../preview/2024-06-01-preview/openapi.json | 10 +--------- .../preview/2024-10-01-preview/openapi.json | 10 +--------- .../preview/2024-11-01-preview/openapi.json | 10 +--------- .../preview/2024-12-01-preview/openapi.json | 10 +--------- 7 files changed, 12 insertions(+), 44 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index bcf1b0680374..79a69bae6810 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -110,7 +110,7 @@ model CommunityEndpointProperties { @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", ["name"]) @doc("Destination Rule Collection.") - destinationRuleCollection: DestinationRule[]; + destinationRuleCollection?: DestinationRule[]; @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource ids created by community endpoint.") diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp index b94160a6e759..3eba0e696152 100644 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -60,25 +60,25 @@ model InternalConnectionProperties { provisioningState?: ProvisioningState; @doc("Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup") - connectionType: InternalConnectionType; + connectionType?: InternalConnectionType; @doc("The state of the internalConnection.") state?: InternalConnectionState; @doc("Community Resource Id.") - communityResourceId: CommunityResourceId; + communityResourceId?: CommunityResourceId; @doc("The destination enclave's resource ID.") - destinationEnclaveId: VirtualEnclaveResourceId; + destinationEnclaveId?: VirtualEnclaveResourceId; @doc("The destination endpoint's resource ID.") - destinationEndpointId: EndpointResourceId; + destinationEndpointId?: EndpointResourceId; @doc("The source enclave's resource ID.") - sourceEnclaveId: VirtualEnclaveResourceId; + sourceEnclaveId?: VirtualEnclaveResourceId; @doc("The source CIDR IP addresses.") - sourceCidrs: string[]; + sourceCidrs?: string[]; @doc("List of resource ids modified by internalConnections.") resourceCollection?: string[]; diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 8a6bf629eaaf..547b4d26eb5a 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -40,7 +40,7 @@ model WorkloadProperties { @added(Microsoft.Mission.Versions.v2024_06_01_preview) @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed resource group configuration.") - managedResourceGroupConfiguration: ManagedResourceGroupConfiguration; + managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @added(Microsoft.Mission.Versions.v2024_06_01_preview) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 17ba90e0046c..c3d7f8106c0b 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -5639,15 +5639,7 @@ "type": "string" } } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] + } }, "InternalConnectionState": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index f4c8abf29374..5308f8748cdb 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -5719,15 +5719,7 @@ "type": "string" } } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] + } }, "InternalConnectionState": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 1fc71097e747..d2f2673491b1 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -6295,15 +6295,7 @@ "type": "string" } } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] + } }, "InternalConnectionState": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 8a92525d7448..c1e3a514504a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -6313,15 +6313,7 @@ "type": "string" } } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] + } }, "InternalConnectionState": { "type": "string", From 0609cdcc22c3be139dfe240a02ec9dfe0e9e019a Mon Sep 17 00:00:00 2001 From: jorgechav Date: Wed, 5 Mar 2025 14:11:18 -0600 Subject: [PATCH 35/89] Added suppression --- specification/mission/resource-manager/readme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index 35175c0bbca3..29118952a29d 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -68,6 +68,13 @@ input-file: ``` --- +## suppressions + +suppressions: + - code: PatchBodyParametersSchema + from: EventGrid.json + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}"].patch.parameters[4].schema.properties.identity + # Code Generation ## Swagger to SDK From a3f2810f44ad00da6ff8aa749980b69d7e3a48a9 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Wed, 5 Mar 2025 14:59:39 -0600 Subject: [PATCH 36/89] add suppression --- specification/mission/resource-manager/readme.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index 29118952a29d..d715bb4672ab 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -66,14 +66,17 @@ These settings apply only when `--tag=package-2024-06-01-preview` is specified o input-file: - Microsoft.Mission/preview/2024-06-01-preview/openapi.json ``` + --- ## suppressions +```yaml suppressions: - code: PatchBodyParametersSchema from: EventGrid.json where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}"].patch.parameters[4].schema.properties.identity +``` # Code Generation From c42165d26b26dde025dd9616835e82dc549df976 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 6 Mar 2025 13:41:40 -0600 Subject: [PATCH 37/89] rollback suppressions --- specification/mission/resource-manager/readme.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index d715bb4672ab..7ebb20a5a31d 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -69,15 +69,6 @@ input-file: --- -## suppressions - -```yaml -suppressions: - - code: PatchBodyParametersSchema - from: EventGrid.json - where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}"].patch.parameters[4].schema.properties.identity -``` - # Code Generation ## Swagger to SDK From e6120c87e27d7a7b863099376969a2ec92230114 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 6 Mar 2025 14:31:17 -0600 Subject: [PATCH 38/89] made properties optional --- .../resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp | 2 +- .../resourcetypes/virtualEnclave/virtualenclave.tsp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index 8590088ba263..d10094c1a012 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -69,7 +69,7 @@ model EnclaveEndpointProperties { @added(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", []) @doc("Enclave Endpoint Rule Collection.") - ruleCollection: EnclaveEndpointDestinationRule[]; + ruleCollection?: EnclaveEndpointDestinationRule[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @removed(Microsoft.Mission.Versions.v2024_06_01_preview) diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 1eb7cda3564f..454db484b67c 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -65,7 +65,7 @@ model EnclaveVirtualNetwork { name?: string; @doc("Network Size.") - networkSize: string; + networkSize?: string; @doc("Custom CIDR Range.") customCidrRange?: string; @@ -122,7 +122,7 @@ model EnclaveAddressSpaces { @doc("Maintenance Mode") model MaintenanceModeConfiguration { @doc("Current mode of Maintenance Mode Configuration") - mode: "On" | "CanNotDelete" | "Off" | string; + mode?: "On" | "CanNotDelete" | "Off" | string; @doc("The user, group or service principal object affected by Maintenance Mode") principals?: Principal[]; @@ -143,7 +143,7 @@ model VirtualEnclaveProperties { provisioningState?: ProvisioningState; @doc("Virtual Network.") - enclaveVirtualNetwork: EnclaveVirtualNetwork; + enclaveVirtualNetwork?: EnclaveVirtualNetwork; @added(Microsoft.Mission.Versions.v2024_06_01_preview) @visibility("read") @@ -151,7 +151,7 @@ model VirtualEnclaveProperties { enclaveAddressSpaces?: EnclaveAddressSpaces; @doc("Community Resource Id.") - communityResourceId: CommunityResourceId; + communityResourceId?: CommunityResourceId; @doc("Default Settings") enclaveDefaultSettings?: EnclaveDefaultSettings; From 0c50a4349356f8073ce80a71702598e350fb7fc0 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 6 Mar 2025 14:51:35 -0600 Subject: [PATCH 39/89] update openapi file --- .../preview/2024-06-01-preview/openapi.json | 21 ++++--------------- .../preview/2024-10-01-preview/openapi.json | 21 ++++--------------- .../preview/2024-11-01-preview/openapi.json | 21 ++++--------------- .../preview/2024-12-01-preview/openapi.json | 21 ++++--------------- 4 files changed, 16 insertions(+), 68 deletions(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index c3d7f8106c0b..665cd0124633 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -5042,10 +5042,7 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - }, - "required": [ - "ruleCollection" - ] + } }, "EnclaveEndpointProtocol": { "type": "string", @@ -5204,10 +5201,7 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "networkSize" - ] + } }, "EndpointProperties": { "type": "object", @@ -5766,10 +5760,7 @@ "modelAsString": true } } - }, - "required": [ - "mode" - ] + } }, "ManagedResourceGroupConfiguration": { "type": "object", @@ -6285,11 +6276,7 @@ "type": "boolean", "description": "Deploy Bastion service (True or False)." } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] + } }, "VirtualEnclaveResourceId": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 5308f8748cdb..aefacd35ae48 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -5122,10 +5122,7 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - }, - "required": [ - "ruleCollection" - ] + } }, "EnclaveEndpointProtocol": { "type": "string", @@ -5284,10 +5281,7 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "networkSize" - ] + } }, "EndpointProperties": { "type": "object", @@ -5846,10 +5840,7 @@ "modelAsString": true } } - }, - "required": [ - "mode" - ] + } }, "ManagedResourceGroupConfiguration": { "type": "object", @@ -6399,11 +6390,7 @@ "$ref": "#/definitions/RoleAssignmentItem" } } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] + } }, "VirtualEnclaveResourceId": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index d2f2673491b1..b34a1929719c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -5698,10 +5698,7 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - }, - "required": [ - "ruleCollection" - ] + } }, "EnclaveEndpointProtocol": { "type": "string", @@ -5860,10 +5857,7 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "networkSize" - ] + } }, "EndpointProperties": { "type": "object", @@ -6422,10 +6416,7 @@ "modelAsString": true } } - }, - "required": [ - "mode" - ] + } }, "ManagedResourceGroupConfiguration": { "type": "object", @@ -6986,11 +6977,7 @@ "$ref": "#/definitions/RoleAssignmentItem" } } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] + } }, "VirtualEnclaveResourceId": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index c1e3a514504a..45dac8ac000a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5716,10 +5716,7 @@ "description": "Provisioning State.", "readOnly": true } - }, - "required": [ - "ruleCollection" - ] + } }, "EnclaveEndpointProtocol": { "type": "string", @@ -5878,10 +5875,7 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "networkSize" - ] + } }, "EndpointProperties": { "type": "object", @@ -6440,10 +6434,7 @@ "modelAsString": true } } - }, - "required": [ - "mode" - ] + } }, "ManagedResourceGroupConfiguration": { "type": "object", @@ -7014,11 +7005,7 @@ "$ref": "#/definitions/RoleAssignmentItem" } } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] + } }, "VirtualEnclaveResourceId": { "type": "string", From 50e6d7ef7abcfac405e110325fd4dd7181ad34cd Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 16:27:12 -0500 Subject: [PATCH 40/89] Update for tsp update --- .../mission/Mission.Management/main.tsp | 2 +- .../mission/Mission.Management/model.tsp | 24 +++++++++---------- .../resourcetypes/approvals/approvals.tsp | 6 ++--- .../resourcetypes/catalog/catalog.tsp | 2 +- .../resourcetypes/community/community.tsp | 10 ++++---- .../communityEndpoint/communityEndpoint.tsp | 6 ++--- .../enclaveConnection/enclaveConnection.tsp | 2 +- .../enclaveEndpoint/enclaveEndpoint.tsp | 6 ++--- .../resourcetypes/endpoint/endpoint.tsp | 4 ++-- .../externalConnection/externalConnection.tsp | 2 +- .../internalConnection/internalConnection.tsp | 2 +- .../resourcetypes/transitHub/transitHub.tsp | 2 +- .../virtualEnclave/virtualenclave.tsp | 10 ++++---- .../resourcetypes/workload/workload.tsp | 2 +- 14 files changed, 40 insertions(+), 40 deletions(-) diff --git a/specification/mission/Mission.Management/main.tsp b/specification/mission/Mission.Management/main.tsp index f9f5055e4f86..c673162b42fc 100644 --- a/specification/mission/Mission.Management/main.tsp +++ b/specification/mission/Mission.Management/main.tsp @@ -28,7 +28,7 @@ using Azure.ResourceManager; using TypeSpec.Versioning; @armProviderNamespace("Microsoft.Mission") -@service({ +@service(#{ title: "Microsoft Mission", }) @versioned(Microsoft.Mission.Versions) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 99ece30c8e80..48a80ba4471a 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -198,7 +198,7 @@ interface Workload { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -217,7 +217,7 @@ interface Endpoint { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -236,7 +236,7 @@ interface VirtualEnclave { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -286,7 +286,7 @@ interface Community { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -321,7 +321,7 @@ interface CatalogInterface { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -340,7 +340,7 @@ interface InternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -360,7 +360,7 @@ interface TransitHub { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -380,7 +380,7 @@ interface EnclaveConnection { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveConnectionResource, EnclaveConnectionResource @@ -420,7 +420,7 @@ interface EnclaveEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveEndpointResource, EnclaveEndpointResource @@ -460,7 +460,7 @@ interface CommunityEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CommunityEndpointResource, CommunityEndpointResource @@ -499,7 +499,7 @@ interface ExternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -520,7 +520,7 @@ interface Approval { ArmAsyncOperationHeader >; listByParent is ArmResourceListByParent; - @parameterVisibility + @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index ab4e02bb7bfc..d3093c1a00a3 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -81,7 +81,7 @@ model Approver { @doc("Approvals Resource Properties") model ApprovalProperties { @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("Parameter for optimizing query results") @@ -94,13 +94,13 @@ model ApprovalProperties { requestMetadata?: RequestMetadata; @added(Microsoft.Mission.Versions.v2024_10_01_preview) - @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) + @OpenAPI.extension("x-ms-identifiers", #["approverEntraId"]) @doc("List of approvers for the approval request") approvers?: Approver[]; @added(Microsoft.Mission.Versions.v2024_10_01_preview) @removed(Microsoft.Mission.Versions.v2024_12_01_preview) - @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) + @OpenAPI.extension("x-ms-identifiers", #["approverEntraId"]) @doc("List of mandatory approvers for the approval request") mandatoryApprovers?: Approver[]; diff --git a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp index bf8fd2902506..c2545b0ea75a 100644 --- a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp +++ b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp @@ -56,7 +56,7 @@ model Package { @doc("Catalog properties") model CatalogProperties { @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("Owning Resource of the Catalog.") diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 8a1f48a10f3f..1b2d54f6155c 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -33,7 +33,7 @@ model EnclaveListItem { createdBy?: string; @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; } @@ -94,7 +94,7 @@ model GovernedServiceItem { id: ServiceIdentifier; @doc("service name") - @visibility("read") + @visibility(Lifecycle.Read) name?: string; @doc("governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).") @@ -107,7 +107,7 @@ model GovernedServiceItem { auditOnly?: boolean; @doc("initiatives associated with this service") - @visibility("read") + @visibility(Lifecycle.Read) initiatives?: string[]; } @@ -179,7 +179,7 @@ model ApprovalSettings { notificationOnApprovalDeletion?: ApprovalPolicy; @added(Microsoft.Mission.Versions.v2024_12_01_preview) - @OpenAPI.extension("x-ms-identifiers", ["approverEntraId"]) + @OpenAPI.extension("x-ms-identifiers", #["approverEntraId"]) @doc("List of mandatory approvers for the approval request") mandatoryApprovers?: MandatoryApprover[]; @@ -202,7 +202,7 @@ model CommunityProperties { dnsServers?: string[]; @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("List of resource ids created by communities.") diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index 79a69bae6810..4a840e4bf170 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -102,13 +102,13 @@ model CommunityEndpointDestinationRule is EndpointRuleBase { model CommunityEndpointProperties { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @extension("x-ms-identifiers", []) + @extension("x-ms-identifiers", #[]) @doc("Community Endpoint Rule Collection.") ruleCollection?: CommunityEndpointDestinationRule[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @extension("x-ms-identifiers", ["name"]) + @extension("x-ms-identifiers", #["name"]) @doc("Destination Rule Collection.") destinationRuleCollection?: DestinationRule[]; @@ -117,7 +117,7 @@ model CommunityEndpointProperties { resourceCollection?: string[]; @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @added(Microsoft.Mission.Versions.v2024_06_01_preview) diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp index 35dae90834c0..122385ae2565 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp @@ -62,7 +62,7 @@ model EnclaveConnectionProperties { destinationEndpointId?: DestinationEndpointResourceId; @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("List of resource ids modified by enclave Connections.") diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index d10094c1a012..152106b0dbe0 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -67,13 +67,13 @@ model EnclaveEndpointDestinationRule is EndpointRuleBase { model EnclaveEndpointProperties { #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @extension("x-ms-identifiers", []) + @extension("x-ms-identifiers", #[]) @doc("Enclave Endpoint Rule Collection.") ruleCollection?: EnclaveEndpointDestinationRule[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @extension("x-ms-identifiers", ["name"]) + @extension("x-ms-identifiers", #["name"]) @doc("Endpoint Rule Collection.") endpointRuleCollection?: EnclaveEndpointRule[]; @@ -82,7 +82,7 @@ model EnclaveEndpointProperties { resourceCollection?: string[]; @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @added(Microsoft.Mission.Versions.v2024_06_01_preview) diff --git a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp index 97bb3cd5d397..55c2c42830eb 100644 --- a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp @@ -68,11 +68,11 @@ model EndpointProperties { @doc("Endpoint Description.") description?: string; - @extension("x-ms-identifiers", ["name"]) + @extension("x-ms-identifiers", #["name"]) @doc("Endpoint Rule Collection.") endpointRuleCollection?: EndpointRule[]; @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; } diff --git a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp index 9d68f7bdbd50..19c019cda36a 100644 --- a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp @@ -32,7 +32,7 @@ union ExternalConnectionState { @doc("Describes the properties of an External Connection.") model ExternalConnectionProperties { @doc("The status of the last operation.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("The state of the externalConnection.") diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp index 3eba0e696152..215f56c2157c 100644 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -56,7 +56,7 @@ union InternalConnectionState { @doc("Describes the properties of an Internal Connection.") model InternalConnectionProperties { @doc("The status of the last operation.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup") diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index c29e4f68b4f3..d50fd6b9be60 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -69,7 +69,7 @@ model TransitOption { @doc("Describes the properties of an Transit Hub.") model TransitHubProperties { @doc("The status of the last operation.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("The state of the transitHub.") diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 454db484b67c..8c122c236011 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -40,7 +40,7 @@ model SubnetConfiguration { name: string; @doc("Subnet ID.") - @visibility("read") + @visibility(Lifecycle.Read) id?: Azure.Core.armResourceIdentifier; @doc("Network prefix size.") @@ -50,11 +50,11 @@ model SubnetConfiguration { subnetDelegation?: string; @doc("Address prefix.") - @visibility("read") + @visibility(Lifecycle.Read) addressPrefix?: string; @doc("Network security group ID.") - @visibility("read") + @visibility(Lifecycle.Read) networkSecurityGroupId?: Azure.Core.armResourceIdentifier; } @@ -139,14 +139,14 @@ model VirtualEnclaveProperties { description?: string; @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("Virtual Network.") enclaveVirtualNetwork?: EnclaveVirtualNetwork; @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @visibility("read") + @visibility(Lifecycle.Read) @doc("Enclave Address Spaces") enclaveAddressSpaces?: EnclaveAddressSpaces; diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 547b4d26eb5a..acd1cc86c14f 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -33,7 +33,7 @@ model WorkloadProperties { managedResourceGroups?: string[]; @doc("Provisioning State.") - @visibility("read") + @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." From 8d803b370abc0093a70a01d79a81b1fc3f052657 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 16:34:45 -0500 Subject: [PATCH 41/89] Update formatting --- specification/mission/Mission.Management/main.tsp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/mission/Mission.Management/main.tsp b/specification/mission/Mission.Management/main.tsp index c673162b42fc..e5532208b44a 100644 --- a/specification/mission/Mission.Management/main.tsp +++ b/specification/mission/Mission.Management/main.tsp @@ -28,9 +28,7 @@ using Azure.ResourceManager; using TypeSpec.Versioning; @armProviderNamespace("Microsoft.Mission") -@service(#{ - title: "Microsoft Mission", -}) +@service(#{ title: "Microsoft Mission" }) @versioned(Microsoft.Mission.Versions) @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; From 8191588433ebb9dbfbdd1c04ad3a4919dfdb8e3c Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 16:42:52 -0500 Subject: [PATCH 42/89] Use latest version v6 of types.json --- specification/mission/Mission.Management/version.tsp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index b76f8ff3b7f7..272d1c6fc624 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -11,25 +11,25 @@ namespace Microsoft.Mission; @doc("Supported API versions for the Microsoft.Mission resource provider.") enum Versions { @doc("The 2024-06-01-preview version.") - @armCommonTypesVersion("v5") + @armCommonTypesVersion("v6") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_06_01_preview: "2024-06-01-preview", @doc("The 2024-10-01-preview version.") - @armCommonTypesVersion("v5") + @armCommonTypesVersion("v6") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_10_01_preview: "2024-10-01-preview", @doc("The 2024-11-01-preview version.") - @armCommonTypesVersion("v5") + @armCommonTypesVersion("v6") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_11_01_preview: "2024-11-01-preview", @doc("The 2024-12-01-preview version.") - @armCommonTypesVersion("v5") + @armCommonTypesVersion("v6") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_12_01_preview: "2024-12-01-preview", From ea8aeb5473a7744303e4b85eef41211a490991d5 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 17:00:07 -0500 Subject: [PATCH 43/89] Use latest version v6 of types.json --- .../preview/2024-06-01-preview/openapi.json | 540 ++++++++-------- .../preview/2024-10-01-preview/openapi.json | 540 ++++++++-------- .../preview/2024-11-01-preview/openapi.json | 588 +++++++++--------- .../preview/2024-12-01-preview/openapi.json | 588 +++++++++--------- 4 files changed, 1128 insertions(+), 1128 deletions(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 665cd0124633..9ef073446004 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -86,7 +86,7 @@ "description": "List ApprovalResource resources by parent", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -102,7 +102,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -125,7 +125,7 @@ "description": "Get a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -149,7 +149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -167,7 +167,7 @@ "description": "Create a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -217,7 +217,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -239,7 +239,7 @@ "description": "Update a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -286,7 +286,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -308,7 +308,7 @@ "description": "Delete a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -343,7 +343,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -367,7 +367,7 @@ "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -414,7 +414,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -438,20 +438,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -474,10 +474,10 @@ "description": "List CommunityResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -490,7 +490,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -513,10 +513,10 @@ "description": "List CommunityEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -537,7 +537,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -560,10 +560,10 @@ "description": "List TransitHubResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -584,7 +584,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -607,10 +607,10 @@ "description": "List EnclaveConnectionResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -623,7 +623,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -646,10 +646,10 @@ "description": "List ExternalConnection resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -662,7 +662,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -685,10 +685,10 @@ "description": "List InternalConnection resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -701,7 +701,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -724,10 +724,10 @@ "description": "List EnclaveResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -740,7 +740,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -763,10 +763,10 @@ "description": "List EnclaveEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -787,7 +787,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -810,10 +810,10 @@ "description": "List EndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -834,7 +834,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -857,10 +857,10 @@ "description": "List WorkloadResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -881,7 +881,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -904,13 +904,13 @@ "description": "List CommunityResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -923,7 +923,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -946,13 +946,13 @@ "description": "Get a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -973,7 +973,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -991,13 +991,13 @@ "description": "Create a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1044,7 +1044,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1066,13 +1066,13 @@ "description": "Update a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1116,7 +1116,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1138,13 +1138,13 @@ "description": "Delete a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1176,7 +1176,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1200,13 +1200,13 @@ "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1236,7 +1236,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1256,13 +1256,13 @@ "description": "List CommunityEndpointResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1283,7 +1283,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1306,13 +1306,13 @@ "description": "Get a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1341,7 +1341,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1359,13 +1359,13 @@ "description": "Create a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1420,7 +1420,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1442,13 +1442,13 @@ "description": "Update a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1500,7 +1500,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1522,13 +1522,13 @@ "description": "Delete a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1568,7 +1568,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1592,13 +1592,13 @@ "description": "List TransitHubResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1619,7 +1619,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1642,13 +1642,13 @@ "description": "Get a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1677,7 +1677,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1695,13 +1695,13 @@ "description": "Create a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1756,7 +1756,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1778,13 +1778,13 @@ "description": "Update a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1836,7 +1836,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1858,13 +1858,13 @@ "description": "Delete a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1904,7 +1904,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1928,13 +1928,13 @@ "description": "List EnclaveConnectionResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -1947,7 +1947,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1970,13 +1970,13 @@ "description": "Get a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -1997,7 +1997,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2015,13 +2015,13 @@ "description": "Create a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2068,7 +2068,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2090,13 +2090,13 @@ "description": "Update a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2140,7 +2140,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2162,13 +2162,13 @@ "description": "Delete a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2200,7 +2200,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2224,13 +2224,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2274,7 +2274,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2298,13 +2298,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2348,7 +2348,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2372,13 +2372,13 @@ "description": "List ExternalConnection resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2391,7 +2391,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2414,13 +2414,13 @@ "description": "Get a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2441,7 +2441,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2459,13 +2459,13 @@ "description": "Create a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2512,7 +2512,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2534,13 +2534,13 @@ "description": "Update a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2584,7 +2584,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2606,13 +2606,13 @@ "description": "Delete a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2644,7 +2644,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2668,13 +2668,13 @@ "description": "List InternalConnection resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2687,7 +2687,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2710,13 +2710,13 @@ "description": "Get a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2737,7 +2737,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2755,13 +2755,13 @@ "description": "Create a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2808,7 +2808,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2830,13 +2830,13 @@ "description": "Update a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2880,7 +2880,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2902,13 +2902,13 @@ "description": "Delete a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2940,7 +2940,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2964,13 +2964,13 @@ "description": "List EnclaveResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2983,7 +2983,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3006,13 +3006,13 @@ "description": "Get a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3033,7 +3033,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3051,13 +3051,13 @@ "description": "Create a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3104,7 +3104,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3126,13 +3126,13 @@ "description": "Update a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3176,7 +3176,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3198,13 +3198,13 @@ "description": "Delete a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3236,7 +3236,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3260,13 +3260,13 @@ "description": "List EnclaveEndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3287,7 +3287,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3310,13 +3310,13 @@ "description": "Get a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3345,7 +3345,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3363,13 +3363,13 @@ "description": "Create a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3424,7 +3424,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3446,13 +3446,13 @@ "description": "Update a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3504,7 +3504,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3526,13 +3526,13 @@ "description": "Delete a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3572,7 +3572,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3596,13 +3596,13 @@ "description": "List EndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3623,7 +3623,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3646,13 +3646,13 @@ "description": "Get a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3681,7 +3681,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3699,13 +3699,13 @@ "description": "Create a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3760,7 +3760,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3782,13 +3782,13 @@ "description": "Update a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3840,7 +3840,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3862,13 +3862,13 @@ "description": "Delete a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3908,7 +3908,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3932,13 +3932,13 @@ "description": "List WorkloadResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3959,7 +3959,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3982,13 +3982,13 @@ "description": "Get a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4017,7 +4017,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4035,13 +4035,13 @@ "description": "Create a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4096,7 +4096,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4118,13 +4118,13 @@ "description": "Update a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4176,7 +4176,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4198,13 +4198,13 @@ "description": "Delete a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4244,7 +4244,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4382,7 +4382,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ] }, @@ -4603,7 +4603,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -4678,13 +4678,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -4870,7 +4870,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5104,7 +5104,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5139,13 +5139,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5284,7 +5284,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5355,7 +5355,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5561,7 +5561,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6093,7 +6093,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6320,7 +6320,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index aefacd35ae48..b03c2e706aff 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -86,7 +86,7 @@ "description": "List ApprovalResource resources by parent", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -102,7 +102,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -125,7 +125,7 @@ "description": "Get a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -149,7 +149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -167,7 +167,7 @@ "description": "Create a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -217,7 +217,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -239,7 +239,7 @@ "description": "Update a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -286,7 +286,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -308,7 +308,7 @@ "description": "Delete a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -343,7 +343,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -367,7 +367,7 @@ "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -414,7 +414,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -438,20 +438,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -474,10 +474,10 @@ "description": "List CommunityResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -490,7 +490,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -513,10 +513,10 @@ "description": "List CommunityEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -537,7 +537,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -560,10 +560,10 @@ "description": "List TransitHubResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -584,7 +584,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -607,10 +607,10 @@ "description": "List EnclaveConnectionResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -623,7 +623,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -646,10 +646,10 @@ "description": "List ExternalConnection resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -662,7 +662,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -685,10 +685,10 @@ "description": "List InternalConnection resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -701,7 +701,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -724,10 +724,10 @@ "description": "List EnclaveResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -740,7 +740,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -763,10 +763,10 @@ "description": "List EnclaveEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -787,7 +787,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -810,10 +810,10 @@ "description": "List EndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -834,7 +834,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -857,10 +857,10 @@ "description": "List WorkloadResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -881,7 +881,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -904,13 +904,13 @@ "description": "List CommunityResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -923,7 +923,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -946,13 +946,13 @@ "description": "Get a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -973,7 +973,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -991,13 +991,13 @@ "description": "Create a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1044,7 +1044,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1066,13 +1066,13 @@ "description": "Update a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1116,7 +1116,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1138,13 +1138,13 @@ "description": "Delete a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1176,7 +1176,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1200,13 +1200,13 @@ "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1236,7 +1236,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1256,13 +1256,13 @@ "description": "List CommunityEndpointResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1283,7 +1283,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1306,13 +1306,13 @@ "description": "Get a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1341,7 +1341,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1359,13 +1359,13 @@ "description": "Create a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1420,7 +1420,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1442,13 +1442,13 @@ "description": "Update a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1500,7 +1500,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1522,13 +1522,13 @@ "description": "Delete a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1568,7 +1568,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1592,13 +1592,13 @@ "description": "List TransitHubResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1619,7 +1619,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1642,13 +1642,13 @@ "description": "Get a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1677,7 +1677,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1695,13 +1695,13 @@ "description": "Create a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1756,7 +1756,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1778,13 +1778,13 @@ "description": "Update a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1836,7 +1836,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1858,13 +1858,13 @@ "description": "Delete a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1904,7 +1904,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1928,13 +1928,13 @@ "description": "List EnclaveConnectionResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -1947,7 +1947,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1970,13 +1970,13 @@ "description": "Get a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -1997,7 +1997,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2015,13 +2015,13 @@ "description": "Create a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2068,7 +2068,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2090,13 +2090,13 @@ "description": "Update a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2140,7 +2140,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2162,13 +2162,13 @@ "description": "Delete a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2200,7 +2200,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2224,13 +2224,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2274,7 +2274,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2298,13 +2298,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2348,7 +2348,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2372,13 +2372,13 @@ "description": "List ExternalConnection resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2391,7 +2391,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2414,13 +2414,13 @@ "description": "Get a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2441,7 +2441,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2459,13 +2459,13 @@ "description": "Create a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2512,7 +2512,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2534,13 +2534,13 @@ "description": "Update a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2584,7 +2584,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2606,13 +2606,13 @@ "description": "Delete a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2644,7 +2644,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2668,13 +2668,13 @@ "description": "List InternalConnection resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2687,7 +2687,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2710,13 +2710,13 @@ "description": "Get a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2737,7 +2737,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2755,13 +2755,13 @@ "description": "Create a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2808,7 +2808,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2830,13 +2830,13 @@ "description": "Update a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2880,7 +2880,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2902,13 +2902,13 @@ "description": "Delete a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2940,7 +2940,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2964,13 +2964,13 @@ "description": "List EnclaveResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2983,7 +2983,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3006,13 +3006,13 @@ "description": "Get a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3033,7 +3033,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3051,13 +3051,13 @@ "description": "Create a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3104,7 +3104,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3126,13 +3126,13 @@ "description": "Update a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3176,7 +3176,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3198,13 +3198,13 @@ "description": "Delete a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3236,7 +3236,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3260,13 +3260,13 @@ "description": "List EnclaveEndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3287,7 +3287,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3310,13 +3310,13 @@ "description": "Get a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3345,7 +3345,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3363,13 +3363,13 @@ "description": "Create a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3424,7 +3424,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3446,13 +3446,13 @@ "description": "Update a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3504,7 +3504,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3526,13 +3526,13 @@ "description": "Delete a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3572,7 +3572,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3596,13 +3596,13 @@ "description": "List EndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3623,7 +3623,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3646,13 +3646,13 @@ "description": "Get a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3681,7 +3681,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3699,13 +3699,13 @@ "description": "Create a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3760,7 +3760,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3782,13 +3782,13 @@ "description": "Update a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3840,7 +3840,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3862,13 +3862,13 @@ "description": "Delete a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3908,7 +3908,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3932,13 +3932,13 @@ "description": "List WorkloadResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3959,7 +3959,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3982,13 +3982,13 @@ "description": "Get a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4017,7 +4017,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4035,13 +4035,13 @@ "description": "Create a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4096,7 +4096,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4118,13 +4118,13 @@ "description": "Update a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4176,7 +4176,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4198,13 +4198,13 @@ "description": "Delete a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4244,7 +4244,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4431,7 +4431,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ] }, @@ -4676,7 +4676,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -4758,13 +4758,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -4950,7 +4950,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5184,7 +5184,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5219,13 +5219,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5364,7 +5364,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5435,7 +5435,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5641,7 +5641,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6193,7 +6193,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6434,7 +6434,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index b34a1929719c..7a3493a27a68 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -86,7 +86,7 @@ "description": "List ApprovalResource resources by parent", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -102,7 +102,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -125,7 +125,7 @@ "description": "Get a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -149,7 +149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -167,7 +167,7 @@ "description": "Create a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -217,7 +217,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -239,7 +239,7 @@ "description": "Update a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -286,7 +286,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -308,7 +308,7 @@ "description": "Delete a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -343,7 +343,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -367,7 +367,7 @@ "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -414,7 +414,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -438,20 +438,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -474,10 +474,10 @@ "description": "List CommunityResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -490,7 +490,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -513,10 +513,10 @@ "description": "List CommunityEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -537,7 +537,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -560,10 +560,10 @@ "description": "List TransitHubResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -584,7 +584,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -607,10 +607,10 @@ "description": "List EnclaveConnectionResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -623,7 +623,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -646,10 +646,10 @@ "description": "List ExternalConnection resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -662,7 +662,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -685,10 +685,10 @@ "description": "List InternalConnection resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -701,7 +701,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -724,10 +724,10 @@ "description": "List EnclaveResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -740,7 +740,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -763,10 +763,10 @@ "description": "List EnclaveEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -787,7 +787,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -810,10 +810,10 @@ "description": "List EndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -834,7 +834,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -857,10 +857,10 @@ "description": "List WorkloadResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -881,7 +881,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -904,13 +904,13 @@ "description": "List CommunityResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -923,7 +923,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -946,13 +946,13 @@ "description": "Get a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -973,7 +973,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -991,13 +991,13 @@ "description": "Create a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1044,7 +1044,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1066,13 +1066,13 @@ "description": "Update a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1116,7 +1116,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1138,13 +1138,13 @@ "description": "Delete a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1176,7 +1176,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1200,13 +1200,13 @@ "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1236,7 +1236,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1256,13 +1256,13 @@ "description": "List CommunityEndpointResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1283,7 +1283,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1306,13 +1306,13 @@ "description": "Get a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1341,7 +1341,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1359,13 +1359,13 @@ "description": "Create a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1420,7 +1420,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1442,13 +1442,13 @@ "description": "Update a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1500,7 +1500,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1522,13 +1522,13 @@ "description": "Delete a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1568,7 +1568,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1592,13 +1592,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1650,7 +1650,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1674,13 +1674,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1732,7 +1732,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1756,13 +1756,13 @@ "description": "List TransitHubResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1783,7 +1783,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1806,13 +1806,13 @@ "description": "Get a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1841,7 +1841,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1859,13 +1859,13 @@ "description": "Create a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1920,7 +1920,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1942,13 +1942,13 @@ "description": "Update a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -2000,7 +2000,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2022,13 +2022,13 @@ "description": "Delete a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -2068,7 +2068,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2092,13 +2092,13 @@ "description": "List EnclaveConnectionResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2111,7 +2111,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2134,13 +2134,13 @@ "description": "Get a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2161,7 +2161,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2179,13 +2179,13 @@ "description": "Create a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2232,7 +2232,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2254,13 +2254,13 @@ "description": "Update a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2304,7 +2304,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2326,13 +2326,13 @@ "description": "Delete a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2364,7 +2364,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2388,13 +2388,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2438,7 +2438,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2462,13 +2462,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2512,7 +2512,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2536,13 +2536,13 @@ "description": "List ExternalConnection resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2555,7 +2555,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2578,13 +2578,13 @@ "description": "Get a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2605,7 +2605,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2623,13 +2623,13 @@ "description": "Create a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2676,7 +2676,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2698,13 +2698,13 @@ "description": "Update a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2748,7 +2748,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2770,13 +2770,13 @@ "description": "Delete a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2808,7 +2808,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2832,13 +2832,13 @@ "description": "List InternalConnection resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2851,7 +2851,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2874,13 +2874,13 @@ "description": "Get a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2901,7 +2901,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2919,13 +2919,13 @@ "description": "Create a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2972,7 +2972,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2994,13 +2994,13 @@ "description": "Update a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -3044,7 +3044,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3066,13 +3066,13 @@ "description": "Delete a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -3104,7 +3104,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3128,13 +3128,13 @@ "description": "List EnclaveResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -3147,7 +3147,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3170,13 +3170,13 @@ "description": "Get a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3197,7 +3197,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3215,13 +3215,13 @@ "description": "Create a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3268,7 +3268,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3290,13 +3290,13 @@ "description": "Update a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3340,7 +3340,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3362,13 +3362,13 @@ "description": "Delete a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3400,7 +3400,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3424,13 +3424,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3474,7 +3474,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3498,13 +3498,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3548,7 +3548,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3572,13 +3572,13 @@ "description": "List EnclaveEndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3599,7 +3599,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3622,13 +3622,13 @@ "description": "Get a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3657,7 +3657,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3675,13 +3675,13 @@ "description": "Create a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3736,7 +3736,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3758,13 +3758,13 @@ "description": "Update a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3816,7 +3816,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3838,13 +3838,13 @@ "description": "Delete a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3884,7 +3884,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3908,13 +3908,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3966,7 +3966,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3990,13 +3990,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4048,7 +4048,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4072,13 +4072,13 @@ "description": "List EndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4099,7 +4099,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4122,13 +4122,13 @@ "description": "Get a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4157,7 +4157,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4175,13 +4175,13 @@ "description": "Create a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4236,7 +4236,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4258,13 +4258,13 @@ "description": "Update a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4316,7 +4316,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4338,13 +4338,13 @@ "description": "Delete a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4384,7 +4384,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4408,13 +4408,13 @@ "description": "List WorkloadResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4435,7 +4435,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4458,13 +4458,13 @@ "description": "Get a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4493,7 +4493,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4511,13 +4511,13 @@ "description": "Create a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4572,7 +4572,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4594,13 +4594,13 @@ "description": "Update a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4652,7 +4652,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4674,13 +4674,13 @@ "description": "Delete a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4720,7 +4720,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4930,7 +4930,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ] }, @@ -5244,7 +5244,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5334,13 +5334,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5526,7 +5526,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5760,7 +5760,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5795,13 +5795,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5940,7 +5940,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6011,7 +6011,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6217,7 +6217,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6780,7 +6780,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -7021,7 +7021,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 45dac8ac000a..d55ed76e4b3f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -86,7 +86,7 @@ "description": "List ApprovalResource resources by parent", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -102,7 +102,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -125,7 +125,7 @@ "description": "Get a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -149,7 +149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -167,7 +167,7 @@ "description": "Create a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -217,7 +217,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -239,7 +239,7 @@ "description": "Update a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -286,7 +286,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -308,7 +308,7 @@ "description": "Delete a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -343,7 +343,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -367,7 +367,7 @@ "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -414,7 +414,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -438,20 +438,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -474,10 +474,10 @@ "description": "List CommunityResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -490,7 +490,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -513,10 +513,10 @@ "description": "List CommunityEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -537,7 +537,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -560,10 +560,10 @@ "description": "List TransitHubResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -584,7 +584,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -607,10 +607,10 @@ "description": "List EnclaveConnectionResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -623,7 +623,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -646,10 +646,10 @@ "description": "List ExternalConnection resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -662,7 +662,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -685,10 +685,10 @@ "description": "List InternalConnection resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -701,7 +701,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -724,10 +724,10 @@ "description": "List EnclaveResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -740,7 +740,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -763,10 +763,10 @@ "description": "List EnclaveEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -787,7 +787,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -810,10 +810,10 @@ "description": "List EndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -834,7 +834,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -857,10 +857,10 @@ "description": "List WorkloadResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -881,7 +881,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -904,13 +904,13 @@ "description": "List CommunityResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -923,7 +923,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -946,13 +946,13 @@ "description": "Get a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -973,7 +973,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -991,13 +991,13 @@ "description": "Create a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1044,7 +1044,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1066,13 +1066,13 @@ "description": "Update a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1116,7 +1116,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1138,13 +1138,13 @@ "description": "Delete a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1176,7 +1176,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1200,13 +1200,13 @@ "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1236,7 +1236,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1256,13 +1256,13 @@ "description": "List CommunityEndpointResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1283,7 +1283,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1306,13 +1306,13 @@ "description": "Get a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1341,7 +1341,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1359,13 +1359,13 @@ "description": "Create a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1420,7 +1420,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1442,13 +1442,13 @@ "description": "Update a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1500,7 +1500,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1522,13 +1522,13 @@ "description": "Delete a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1568,7 +1568,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1592,13 +1592,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1650,7 +1650,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1674,13 +1674,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1732,7 +1732,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1756,13 +1756,13 @@ "description": "List TransitHubResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1783,7 +1783,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1806,13 +1806,13 @@ "description": "Get a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1841,7 +1841,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1859,13 +1859,13 @@ "description": "Create a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1920,7 +1920,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -1942,13 +1942,13 @@ "description": "Update a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -2000,7 +2000,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2022,13 +2022,13 @@ "description": "Delete a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -2068,7 +2068,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2092,13 +2092,13 @@ "description": "List EnclaveConnectionResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2111,7 +2111,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2134,13 +2134,13 @@ "description": "Get a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2161,7 +2161,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2179,13 +2179,13 @@ "description": "Create a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2232,7 +2232,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2254,13 +2254,13 @@ "description": "Update a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2304,7 +2304,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2326,13 +2326,13 @@ "description": "Delete a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2364,7 +2364,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2388,13 +2388,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2438,7 +2438,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2462,13 +2462,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2512,7 +2512,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2536,13 +2536,13 @@ "description": "List ExternalConnection resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2555,7 +2555,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2578,13 +2578,13 @@ "description": "Get a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2605,7 +2605,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2623,13 +2623,13 @@ "description": "Create a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2676,7 +2676,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2698,13 +2698,13 @@ "description": "Update a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2748,7 +2748,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2770,13 +2770,13 @@ "description": "Delete a ExternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "externalConnectionName", @@ -2808,7 +2808,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2832,13 +2832,13 @@ "description": "List InternalConnection resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2851,7 +2851,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2874,13 +2874,13 @@ "description": "Get a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2901,7 +2901,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2919,13 +2919,13 @@ "description": "Create a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -2972,7 +2972,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -2994,13 +2994,13 @@ "description": "Update a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -3044,7 +3044,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3066,13 +3066,13 @@ "description": "Delete a InternalConnection", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "internalConnectionName", @@ -3104,7 +3104,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3128,13 +3128,13 @@ "description": "List EnclaveResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -3147,7 +3147,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3170,13 +3170,13 @@ "description": "Get a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3197,7 +3197,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3215,13 +3215,13 @@ "description": "Create a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3268,7 +3268,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3290,13 +3290,13 @@ "description": "Update a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3340,7 +3340,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3362,13 +3362,13 @@ "description": "Delete a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3400,7 +3400,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3424,13 +3424,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3474,7 +3474,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3498,13 +3498,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3548,7 +3548,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3572,13 +3572,13 @@ "description": "List EnclaveEndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3599,7 +3599,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3622,13 +3622,13 @@ "description": "Get a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3657,7 +3657,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3675,13 +3675,13 @@ "description": "Create a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3736,7 +3736,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3758,13 +3758,13 @@ "description": "Update a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3816,7 +3816,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3838,13 +3838,13 @@ "description": "Delete a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3884,7 +3884,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3908,13 +3908,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3966,7 +3966,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -3990,13 +3990,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4048,7 +4048,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4072,13 +4072,13 @@ "description": "List EndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4099,7 +4099,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4122,13 +4122,13 @@ "description": "Get a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4157,7 +4157,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4175,13 +4175,13 @@ "description": "Create a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4236,7 +4236,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4258,13 +4258,13 @@ "description": "Update a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4316,7 +4316,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4338,13 +4338,13 @@ "description": "Delete a EndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4384,7 +4384,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4408,13 +4408,13 @@ "description": "List WorkloadResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4435,7 +4435,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4458,13 +4458,13 @@ "description": "Get a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4493,7 +4493,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4511,13 +4511,13 @@ "description": "Create a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4572,7 +4572,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4594,13 +4594,13 @@ "description": "Update a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4652,7 +4652,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4674,13 +4674,13 @@ "description": "Delete a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -4720,7 +4720,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" } } }, @@ -4929,7 +4929,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" } ] }, @@ -5266,7 +5266,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5356,13 +5356,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5548,7 +5548,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5778,7 +5778,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5813,13 +5813,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -5958,7 +5958,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6029,7 +6029,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6235,7 +6235,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -6808,7 +6808,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, @@ -7049,7 +7049,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" } ] }, From 2c250f81d68af884d7c0d8322ee04d9185426c42 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 20:27:00 -0500 Subject: [PATCH 44/89] Update patch model --- .../mission/Mission.Management/model.tsp | 4 +- .../managedresourcegroupconfiguration.tsp | 2 +- .../resourcetypes/transitHub/transitHub.tsp | 21 ++++++++ .../preview/2024-06-01-preview/openapi.json | 48 ++++++++++++++++++- .../preview/2024-10-01-preview/openapi.json | 48 ++++++++++++++++++- .../preview/2024-11-01-preview/openapi.json | 48 ++++++++++++++++++- .../preview/2024-12-01-preview/openapi.json | 48 ++++++++++++++++++- 7 files changed, 208 insertions(+), 11 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 48a80ba4471a..bdff7831964d 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -199,7 +199,7 @@ interface Workload { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmResourcePatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -361,7 +361,7 @@ interface TransitHub { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp index 9fde813fe3b0..09eba5d97d8c 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp @@ -6,6 +6,6 @@ model ManagedResourceGroupConfiguration { @doc("Name of managed resource group") name?: string; - @doc("Managed Resource Group location") + @doc("The geo-location where the resource lives") location?: string; } diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index d50fd6b9be60..35baf12678d2 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -81,3 +81,24 @@ model TransitHubProperties { @doc("List of resource ids modified by transitHubs.") resourceCollection?: string[]; } + + +@doc("Describes the properties of an Transit Hub.") +model TransitHubPatchProperties { + @doc("The status of the last operation.") + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + @doc("The state of the transitHub.") + state?: TransitHubState; + + @doc("The TransitOption of the transitHub.") + transitOption?: TransitOption; + + @doc("List of resource ids modified by transitHubs.") + resourceCollection?: string[]; + + @OpenAPI.extension("x-ms-identifiers", #[]) + @doc("Tags associated with the resource.") + tags?: Azure.ResourceManager.Foundations.ArmTagsProperty; +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 9ef073446004..b535ba0c08ae 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResource" + "$ref": "#/definitions/TransitHubPatchProperties" } } ], @@ -4437,6 +4437,19 @@ ] } }, + "Azure.ResourceManager.Foundations.ArmTagsProperty": { + "type": "object", + "description": "Standard type definition for Azure Resource Manager Tags property.\n\nIt is included in the TrackedResource template definition.The Azure Resource Manager Resource tags.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5772,7 +5785,7 @@ }, "location": { "type": "string", - "description": "Managed Resource Group location" + "description": "The geo-location where the resource lives" } } }, @@ -6055,6 +6068,37 @@ "networkPrefixSize" ] }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource.", + "x-ms-identifiers": [] + } + } + }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index b03c2e706aff..08211428a563 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResource" + "$ref": "#/definitions/TransitHubPatchProperties" } } ], @@ -4510,6 +4510,19 @@ "lastUpdatedAt" ] }, + "Azure.ResourceManager.Foundations.ArmTagsProperty": { + "type": "object", + "description": "Standard type definition for Azure Resource Manager Tags property.\n\nIt is included in the TrackedResource template definition.The Azure Resource Manager Resource tags.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5852,7 +5865,7 @@ }, "location": { "type": "string", - "description": "Managed Resource Group location" + "description": "The geo-location where the resource lives" } } }, @@ -6155,6 +6168,37 @@ "networkPrefixSize" ] }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource.", + "x-ms-identifiers": [] + } + } + }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 7a3493a27a68..53e2d3cd1cfa 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResource" + "$ref": "#/definitions/TransitHubPatchProperties" } } ], @@ -5078,6 +5078,19 @@ "lastUpdatedAt" ] }, + "Azure.ResourceManager.Foundations.ArmTagsProperty": { + "type": "object", + "description": "Standard type definition for Azure Resource Manager Tags property.\n\nIt is included in the TrackedResource template definition.The Azure Resource Manager Resource tags.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -6428,7 +6441,7 @@ }, "location": { "type": "string", - "description": "Managed Resource Group location" + "description": "The geo-location where the resource lives" } } }, @@ -6742,6 +6755,37 @@ "networkPrefixSize" ] }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource.", + "x-ms-identifiers": [] + } + } + }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index d55ed76e4b3f..ecff68d9ba21 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubResource" + "$ref": "#/definitions/TransitHubPatchProperties" } } ], @@ -5104,6 +5104,19 @@ "lastUpdatedAt" ] }, + "Azure.ResourceManager.Foundations.ArmTagsProperty": { + "type": "object", + "description": "Standard type definition for Azure Resource Manager Tags property.\n\nIt is included in the TrackedResource template definition.The Azure Resource Manager Resource tags.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -6446,7 +6459,7 @@ }, "location": { "type": "string", - "description": "Managed Resource Group location" + "description": "The geo-location where the resource lives" } } }, @@ -6770,6 +6783,37 @@ "networkPrefixSize" ] }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource.", + "x-ms-identifiers": [] + } + } + }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", From 87877aa174efd76cf7c505099928d22ff7a4a292 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 20:30:21 -0500 Subject: [PATCH 45/89] Update patch model --- .../Mission.Management/resourcetypes/transitHub/transitHub.tsp | 2 -- .../Microsoft.Mission/preview/2024-06-01-preview/openapi.json | 3 +-- .../Microsoft.Mission/preview/2024-10-01-preview/openapi.json | 3 +-- .../Microsoft.Mission/preview/2024-11-01-preview/openapi.json | 3 +-- .../Microsoft.Mission/preview/2024-12-01-preview/openapi.json | 3 +-- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index 35baf12678d2..9e5a9331d7ee 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -82,7 +82,6 @@ model TransitHubProperties { resourceCollection?: string[]; } - @doc("Describes the properties of an Transit Hub.") model TransitHubPatchProperties { @doc("The status of the last operation.") @@ -98,7 +97,6 @@ model TransitHubPatchProperties { @doc("List of resource ids modified by transitHubs.") resourceCollection?: string[]; - @OpenAPI.extension("x-ms-identifiers", #[]) @doc("Tags associated with the resource.") tags?: Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index b535ba0c08ae..b038cf1454aa 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -6094,8 +6094,7 @@ }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource.", - "x-ms-identifiers": [] + "description": "Tags associated with the resource." } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 08211428a563..4b0a167ac36d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -6194,8 +6194,7 @@ }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource.", - "x-ms-identifiers": [] + "description": "Tags associated with the resource." } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 53e2d3cd1cfa..cc9b7569b65c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -6781,8 +6781,7 @@ }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource.", - "x-ms-identifiers": [] + "description": "Tags associated with the resource." } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index ecff68d9ba21..ab765d79ebf4 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -6809,8 +6809,7 @@ }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource.", - "x-ms-identifiers": [] + "description": "Tags associated with the resource." } } }, From 29b68ed6b9b3072d5d220ba875122a5ae7001c95 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 20:54:15 -0500 Subject: [PATCH 46/89] Update patch model --- .../mission/Mission.Management/model.tsp | 4 +- .../resourcetypes/shared/tags.tsp | 12 +++ .../resourcetypes/transitHub/transitHub.tsp | 19 +--- .../virtualEnclave/virtualenclave.tsp | 7 ++ .../resourcetypes/workload/workload.tsp | 6 ++ .../preview/2024-06-01-preview/openapi.json | 81 +++++++++++++++- .../preview/2024-10-01-preview/openapi.json | 95 ++++++++++++++++++- .../preview/2024-11-01-preview/openapi.json | 95 ++++++++++++++++++- .../preview/2024-12-01-preview/openapi.json | 95 ++++++++++++++++++- 9 files changed, 388 insertions(+), 26 deletions(-) create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/tags.tsp diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index bdff7831964d..2c5ea8031d68 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -199,7 +199,7 @@ interface Workload { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmResourcePatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -237,7 +237,7 @@ interface VirtualEnclave { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/tags.tsp b/specification/mission/Mission.Management/resourcetypes/shared/tags.tsp new file mode 100644 index 000000000000..98d09af1cb37 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/tags.tsp @@ -0,0 +1,12 @@ +import "@azure-tools/typespec-azure-resource-manager"; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +using Azure.ResourceManager; + +@doc("Tags associated with the resource.") +model TagsProperty { + @doc("Tags associated with the resource.") + tags?: Azure.ResourceManager.Foundations.ArmTagsProperty; +} diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index 9e5a9331d7ee..d834d27d2637 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -4,6 +4,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "../shared/provisioningstate.tsp"; +import "../shared/tags.tsp"; using TypeSpec.Http; using TypeSpec.Rest; @@ -83,20 +84,6 @@ model TransitHubProperties { } @doc("Describes the properties of an Transit Hub.") -model TransitHubPatchProperties { - @doc("The status of the last operation.") - @visibility(Lifecycle.Read) - provisioningState?: ProvisioningState; - - @doc("The state of the transitHub.") - state?: TransitHubState; - - @doc("The TransitOption of the transitHub.") - transitOption?: TransitOption; - - @doc("List of resource ids modified by transitHubs.") - resourceCollection?: string[]; - - @doc("Tags associated with the resource.") - tags?: Azure.ResourceManager.Foundations.ArmTagsProperty; +model TransitHubPatchProperties is TransitHubProperties{ + ...TagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 8c122c236011..93a5b624e2c7 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -9,6 +9,7 @@ import "../shared/resourceid.tsp"; import "../shared/managedresourcegroupconfiguration.tsp"; import "../shared/principal.tsp"; import "../shared/roleassignmentitem.tsp"; +import "../shared/tags.tsp"; using TypeSpec.Http; using TypeSpec.Rest; @@ -184,3 +185,9 @@ model VirtualEnclaveProperties { @doc("Workload role assignments") workloadRoleAssignments?: RoleAssignmentItem[]; } + +@doc("Virtual Enclave Patch properties") +model VirtualEnclavePatchProperties is VirtualEnclaveProperties { + ...TagsProperty; + ...ManagedServiceIdentityProperty; +} diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index acd1cc86c14f..29da28f49821 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -5,6 +5,7 @@ import "@azure-tools/typespec-azure-resource-manager"; import "../shared/provisioningstate.tsp"; import "../shared/resourceid.tsp"; +import "../shared/tags.tsp"; import "../virtualEnclave/virtualenclave.tsp"; using TypeSpec.Rest; @@ -47,3 +48,8 @@ model WorkloadProperties { @doc("List of resource group ids.") resourceGroupCollection?: string[]; } + +@doc("Workload Patch properties") +model WorkloadPatchProperties is WorkloadProperties { + ...TagsProperty; +} \ No newline at end of file diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index b038cf1454aa..14b7a854a888 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResource" + "$ref": "#/definitions/VirtualEnclavePatchProperties" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResource" + "$ref": "#/definitions/WorkloadPatchProperties" } } ], @@ -6274,6 +6274,61 @@ ] } }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, "VirtualEnclaveProperties": { "type": "object", "description": "Virtual Enclave Resource properties", @@ -6333,6 +6388,28 @@ ] } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + } + } + }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 4b0a167ac36d..6dcf30d9ee70 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResource" + "$ref": "#/definitions/VirtualEnclavePatchProperties" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResource" + "$ref": "#/definitions/WorkloadPatchProperties" } } ], @@ -6374,6 +6374,75 @@ ] } }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, "VirtualEnclaveProperties": { "type": "object", "description": "Virtual Enclave Resource properties", @@ -6447,6 +6516,28 @@ ] } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + } + } + }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index cc9b7569b65c..69d548d17a9e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResource" + "$ref": "#/definitions/VirtualEnclavePatchProperties" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResource" + "$ref": "#/definitions/WorkloadPatchProperties" } } ], @@ -6961,6 +6961,75 @@ ] } }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, "VirtualEnclaveProperties": { "type": "object", "description": "Virtual Enclave Resource properties", @@ -7034,6 +7103,28 @@ ] } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + } + } + }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index ab765d79ebf4..e917bdb6678f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveResource" + "$ref": "#/definitions/VirtualEnclavePatchProperties" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadResource" + "$ref": "#/definitions/WorkloadPatchProperties" } } ], @@ -6989,6 +6989,75 @@ ] } }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, "VirtualEnclaveProperties": { "type": "object", "description": "Virtual Enclave Resource properties", @@ -7062,6 +7131,28 @@ ] } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + } + } + }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", From e515f12dc3d22d0146f1fe84d1bb3e75deeaf22c Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 21:08:49 -0500 Subject: [PATCH 47/89] Update patch model --- .../mission/Mission.Management/model.tsp | 2 +- .../resourcetypes/approvals/approvals.tsp | 5 +++++ .../resourcetypes/community/community.tsp | 6 ++++++ .../preview/2024-06-01-preview/openapi.json | 21 ++++++++++++++++++- .../preview/2024-10-01-preview/openapi.json | 21 ++++++++++++++++++- .../preview/2024-11-01-preview/openapi.json | 21 ++++++++++++++++++- .../preview/2024-12-01-preview/openapi.json | 21 ++++++++++++++++++- 7 files changed, 92 insertions(+), 5 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 2c5ea8031d68..ec04d1f11983 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -287,7 +287,7 @@ interface Community { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index d3093c1a00a3..63349a9473e3 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -121,3 +121,8 @@ model ApprovalProperties { @doc("Approval request state change time, time at which approval request state changed from pending to approved or rejected.") stateChangedAt?: utcDateTime; } + +@doc("Approvals properties for patching") +model ApprovalPatchProperties is ApprovalProperties { + ...TagsProperty; +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 1b2d54f6155c..65381c10cdf8 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -244,3 +244,9 @@ model CommunityProperties { @doc("Maintenance Mode configuration.") maintenanceModeConfiguration?: MaintenanceModeConfiguration; } + +model CommunityPatchProperties { + properties: CommunityProperties; + ...TagsProperty; + ...ManagedServiceIdentityProperty; +} \ No newline at end of file diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 14b7a854a888..1b348a0074aa 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResource" + "$ref": "#/definitions/CommunityPatchProperties" } } ], @@ -4641,6 +4641,25 @@ "value" ] }, + "CommunityPatchProperties": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties" + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "required": [ + "properties" + ] + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 6dcf30d9ee70..70394e0293ab 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResource" + "$ref": "#/definitions/CommunityPatchProperties" } } ], @@ -4714,6 +4714,25 @@ "value" ] }, + "CommunityPatchProperties": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties" + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "required": [ + "properties" + ] + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 69d548d17a9e..a8ec3294a1b9 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResource" + "$ref": "#/definitions/CommunityPatchProperties" } } ], @@ -5282,6 +5282,25 @@ "value" ] }, + "CommunityPatchProperties": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties" + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "required": [ + "properties" + ] + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index e917bdb6678f..42916e4a4cb6 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityResource" + "$ref": "#/definitions/CommunityPatchProperties" } } ], @@ -5304,6 +5304,25 @@ "value" ] }, + "CommunityPatchProperties": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties" + }, + "tags": { + "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", + "description": "Tags associated with the resource." + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "required": [ + "properties" + ] + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", From f500dfd8a8a7edc7c5824d8800e2d35bc5506106 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 21:31:35 -0500 Subject: [PATCH 48/89] Update patch model --- .../mission/Mission.Management/model.tsp | 10 +- .../resourcetypes/approvals/approvals.tsp | 7 +- .../resourcetypes/community/community.tsp | 10 +- .../resourcetypes/transitHub/transitHub.tsp | 8 +- .../virtualEnclave/virtualenclave.tsp | 8 +- .../resourcetypes/workload/workload.tsp | 6 + .../preview/2024-06-01-preview/openapi.json | 112 +++++++++++++-- .../preview/2024-10-01-preview/openapi.json | 119 ++++++++++++++-- .../preview/2024-11-01-preview/openapi.json | 127 ++++++++++++++++-- .../preview/2024-12-01-preview/openapi.json | 127 ++++++++++++++++-- 10 files changed, 486 insertions(+), 48 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index ec04d1f11983..9a11de228dd6 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -199,7 +199,7 @@ interface Workload { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -237,7 +237,7 @@ interface VirtualEnclave { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -287,7 +287,7 @@ interface Community { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -361,7 +361,7 @@ interface TransitHub { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -521,7 +521,7 @@ interface Approval { >; listByParent is ArmResourceListByParent; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") @armResourceAction(ApprovalResource) diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index 63349a9473e3..6b4d867d275a 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -123,6 +123,7 @@ model ApprovalProperties { } @doc("Approvals properties for patching") -model ApprovalPatchProperties is ApprovalProperties { - ...TagsProperty; -} \ No newline at end of file +model ApprovalPatchResource { + @doc("Approval Patch properties") + properties: ApprovalProperties; +} diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 65381c10cdf8..6b9a28417692 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -245,8 +245,14 @@ model CommunityProperties { maintenanceModeConfiguration?: MaintenanceModeConfiguration; } -model CommunityPatchProperties { - properties: CommunityProperties; +@doc("Community Patch Properties") +model CommunityPatchProperties is CommunityProperties { +} + +@doc("Community Patch Resource") +model CommunityPatchResource { + @doc("Community Patch properties") + properties: CommunityPatchProperties; ...TagsProperty; ...ManagedServiceIdentityProperty; } \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index d834d27d2637..4abed600d0f1 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -85,5 +85,11 @@ model TransitHubProperties { @doc("Describes the properties of an Transit Hub.") model TransitHubPatchProperties is TransitHubProperties{ - ...TagsProperty; } + +@doc("TH Patch Resource") +model TransitHubPatchResource { + @doc("The TransitHub resource.") + properties: TransitHubPatchProperties; + ...TagsProperty; +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 93a5b624e2c7..378ea5d7cd79 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -188,6 +188,12 @@ model VirtualEnclaveProperties { @doc("Virtual Enclave Patch properties") model VirtualEnclavePatchProperties is VirtualEnclaveProperties { +} + +@doc("Virtual Enclave Patch Resource") +model VirtualEnclavePatchResource { + @doc("Virtual Enclave Patch properties") + properties: VirtualEnclavePatchProperties; ...TagsProperty; ...ManagedServiceIdentityProperty; -} +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 29da28f49821..e6c10ebbfe0a 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -51,5 +51,11 @@ model WorkloadProperties { @doc("Workload Patch properties") model WorkloadPatchProperties is WorkloadProperties { +} + +@doc("Workload Patch Resource") +model WorkloadPatchResource { + @doc("Workload Patch properties") + properties: WorkloadPatchProperties; ...TagsProperty; } \ No newline at end of file diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 1b348a0074aa..113f3a1f020b 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResource" + "$ref": "#/definitions/ApprovalPatchResource" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPatchProperties" + "$ref": "#/definitions/CommunityPatchResource" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubPatchProperties" + "$ref": "#/definitions/TransitHubPatchResource" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePatchProperties" + "$ref": "#/definitions/VirtualEnclavePatchResource" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadPatchProperties" + "$ref": "#/definitions/WorkloadPatchResource" } } ], @@ -4347,6 +4347,19 @@ "message" ] }, + "ApprovalPatchResource": { + "type": "object", + "description": "Approvals properties for patching", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "Approval Patch properties" + } + }, + "required": [ + "properties" + ] + }, "ApprovalProperties": { "type": "object", "description": "Approvals Resource Properties", @@ -4643,9 +4656,51 @@ }, "CommunityPatchProperties": { "type": "object", + "description": "Community Patch Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + } + } + }, + "CommunityPatchResource": { + "type": "object", + "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties" + "$ref": "#/definitions/CommunityPatchProperties", + "description": "Community Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", @@ -6110,12 +6165,25 @@ "items": { "type": "string" } + } + } + }, + "TransitHubPatchResource": { + "type": "object", + "description": "TH Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubPatchProperties", + "description": "The TransitHub resource." }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - } + }, + "required": [ + "properties" + ] }, "TransitHubProperties": { "type": "object", @@ -6337,6 +6405,16 @@ "bastionEnabled": { "type": "boolean", "description": "Deploy Bastion service (True or False)." + } + } + }, + "VirtualEnclavePatchResource": { + "type": "object", + "description": "Virtual Enclave Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", @@ -6346,7 +6424,10 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - } + }, + "required": [ + "properties" + ] }, "VirtualEnclaveProperties": { "type": "object", @@ -6422,12 +6503,25 @@ "items": { "type": "string" } + } + } + }, + "WorkloadPatchResource": { + "type": "object", + "description": "Workload Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadPatchProperties", + "description": "Workload Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - } + }, + "required": [ + "properties" + ] }, "WorkloadProperties": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 70394e0293ab..807a47ae76fa 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResource" + "$ref": "#/definitions/ApprovalPatchResource" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPatchProperties" + "$ref": "#/definitions/CommunityPatchResource" } } ], @@ -1808,7 +1808,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubPatchProperties" + "$ref": "#/definitions/TransitHubPatchResource" } } ], @@ -3148,7 +3148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePatchProperties" + "$ref": "#/definitions/VirtualEnclavePatchResource" } } ], @@ -4148,7 +4148,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadPatchProperties" + "$ref": "#/definitions/WorkloadPatchResource" } } ], @@ -4371,6 +4371,19 @@ "message" ] }, + "ApprovalPatchResource": { + "type": "object", + "description": "Approvals properties for patching", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "Approval Patch properties" + } + }, + "required": [ + "properties" + ] + }, "ApprovalProperties": { "type": "object", "description": "Approvals Resource Properties", @@ -4716,9 +4729,58 @@ }, "CommunityPatchProperties": { "type": "object", + "description": "Community Patch Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, + "CommunityPatchResource": { + "type": "object", + "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties" + "$ref": "#/definitions/CommunityPatchProperties", + "description": "Community Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", @@ -6210,12 +6272,25 @@ "items": { "type": "string" } + } + } + }, + "TransitHubPatchResource": { + "type": "object", + "description": "TH Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubPatchProperties", + "description": "The TransitHub resource." }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - } + }, + "required": [ + "properties" + ] }, "TransitHubProperties": { "type": "object", @@ -6451,6 +6526,16 @@ "items": { "$ref": "#/definitions/RoleAssignmentItem" } + } + } + }, + "VirtualEnclavePatchResource": { + "type": "object", + "description": "Virtual Enclave Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", @@ -6460,7 +6545,10 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - } + }, + "required": [ + "properties" + ] }, "VirtualEnclaveProperties": { "type": "object", @@ -6550,12 +6638,25 @@ "items": { "type": "string" } + } + } + }, + "WorkloadPatchResource": { + "type": "object", + "description": "Workload Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadPatchProperties", + "description": "Workload Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - } + }, + "required": [ + "properties" + ] }, "WorkloadProperties": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index a8ec3294a1b9..8ef6fc5bdcc2 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResource" + "$ref": "#/definitions/ApprovalPatchResource" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPatchProperties" + "$ref": "#/definitions/CommunityPatchResource" } } ], @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubPatchProperties" + "$ref": "#/definitions/TransitHubPatchResource" } } ], @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePatchProperties" + "$ref": "#/definitions/VirtualEnclavePatchResource" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadPatchProperties" + "$ref": "#/definitions/WorkloadPatchResource" } } ], @@ -4846,6 +4846,19 @@ "message" ] }, + "ApprovalPatchResource": { + "type": "object", + "description": "Approvals properties for patching", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "Approval Patch properties" + } + }, + "required": [ + "properties" + ] + }, "ApprovalPolicy": { "type": "string", "description": "Approval Policy.", @@ -5284,9 +5297,66 @@ }, "CommunityPatchProperties": { "type": "object", + "description": "Community Patch Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + } + } + }, + "CommunityPatchResource": { + "type": "object", + "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties" + "$ref": "#/definitions/CommunityPatchProperties", + "description": "Community Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", @@ -6797,12 +6867,25 @@ "items": { "type": "string" } + } + } + }, + "TransitHubPatchResource": { + "type": "object", + "description": "TH Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubPatchProperties", + "description": "The TransitHub resource." }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - } + }, + "required": [ + "properties" + ] }, "TransitHubProperties": { "type": "object", @@ -7038,6 +7121,16 @@ "items": { "$ref": "#/definitions/RoleAssignmentItem" } + } + } + }, + "VirtualEnclavePatchResource": { + "type": "object", + "description": "Virtual Enclave Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", @@ -7047,7 +7140,10 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - } + }, + "required": [ + "properties" + ] }, "VirtualEnclaveProperties": { "type": "object", @@ -7137,12 +7233,25 @@ "items": { "type": "string" } + } + } + }, + "WorkloadPatchResource": { + "type": "object", + "description": "Workload Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadPatchProperties", + "description": "Workload Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - } + }, + "required": [ + "properties" + ] }, "WorkloadProperties": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 42916e4a4cb6..d97279e66414 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -258,7 +258,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalResource" + "$ref": "#/definitions/ApprovalPatchResource" } } ], @@ -1088,7 +1088,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPatchProperties" + "$ref": "#/definitions/CommunityPatchResource" } } ], @@ -1972,7 +1972,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubPatchProperties" + "$ref": "#/definitions/TransitHubPatchResource" } } ], @@ -3312,7 +3312,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePatchProperties" + "$ref": "#/definitions/VirtualEnclavePatchResource" } } ], @@ -4624,7 +4624,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadPatchProperties" + "$ref": "#/definitions/WorkloadPatchResource" } } ], @@ -4846,6 +4846,19 @@ "message" ] }, + "ApprovalPatchResource": { + "type": "object", + "description": "Approvals properties for patching", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "Approval Patch properties" + } + }, + "required": [ + "properties" + ] + }, "ApprovalPolicy": { "type": "string", "description": "Approval Policy.", @@ -5306,9 +5319,66 @@ }, "CommunityPatchProperties": { "type": "object", + "description": "Community Patch Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + } + } + }, + "CommunityPatchResource": { + "type": "object", + "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties" + "$ref": "#/definitions/CommunityPatchProperties", + "description": "Community Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", @@ -6825,12 +6895,25 @@ "items": { "type": "string" } + } + } + }, + "TransitHubPatchResource": { + "type": "object", + "description": "TH Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubPatchProperties", + "description": "The TransitHub resource." }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - } + }, + "required": [ + "properties" + ] }, "TransitHubProperties": { "type": "object", @@ -7066,6 +7149,16 @@ "items": { "$ref": "#/definitions/RoleAssignmentItem" } + } + } + }, + "VirtualEnclavePatchResource": { + "type": "object", + "description": "Virtual Enclave Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", @@ -7075,7 +7168,10 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - } + }, + "required": [ + "properties" + ] }, "VirtualEnclaveProperties": { "type": "object", @@ -7165,12 +7261,25 @@ "items": { "type": "string" } + } + } + }, + "WorkloadPatchResource": { + "type": "object", + "description": "Workload Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadPatchProperties", + "description": "Workload Patch properties" }, "tags": { "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - } + }, + "required": [ + "properties" + ] }, "WorkloadProperties": { "type": "object", From 645be81e691bb00dcb8bfd25301c23c34aaf1b24 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 21:41:58 -0500 Subject: [PATCH 49/89] Update patch model. Revert location addition in examples --- .../CommunityEndpoints_Update.json | 1 - .../2024-06-01-preview/Community_Update.json | 4 +-- .../ExternalConnections_Update.json | 4 +-- .../InternalConnections_Update.json | 4 +-- .../2024-06-01-preview/TransitHub_Update.json | 4 +-- .../VirtualEnclave_Update.json | 4 +-- .../2024-06-01-preview/Workload_Update.json | 4 +-- .../CommunityEndpoints_Update.json | 1 - .../2024-10-01-preview/Community_Update.json | 4 +-- .../EnclaveEndpoints_Update.json | 1 - .../ExternalConnections_Update.json | 4 +-- .../InternalConnections_Update.json | 4 +-- .../2024-10-01-preview/TransitHub_Update.json | 4 +-- .../VirtualEnclave_Update.json | 4 +-- .../2024-10-01-preview/Workload_Update.json | 4 +-- .../CommunityEndpoints_Update.json | 1 - .../2024-11-01-preview/Community_Update.json | 4 +-- .../EnclaveConnection_Update.json | 1 - .../EnclaveEndpoints_Update.json | 1 - .../2024-11-01-preview/Endpoint_Update.json | 1 - .../ExternalConnections_Update.json | 4 +-- .../InternalConnections_Update.json | 4 +-- .../2024-11-01-preview/TransitHub_Update.json | 4 +-- .../VirtualEnclave_Update.json | 4 +-- .../2024-11-01-preview/Workload_Update.json | 4 +-- .../2024-12-01-preview/Community_Update.json | 4 +-- .../EnclaveConnection_Update.json | 1 - .../EnclaveEndpoints_Update.json | 1 - .../ExternalConnections_Update.json | 4 +-- .../InternalConnections_Update.json | 4 +-- .../2024-12-01-preview/TransitHub_Update.json | 4 +-- .../VirtualEnclave_Update.json | 4 +-- .../2024-12-01-preview/Workload_Update.json | 4 +-- .../resourcetypes/approvals/approvals.tsp | 2 +- .../resourcetypes/community/community.tsp | 2 +- .../resourcetypes/transitHub/transitHub.tsp | 2 +- .../virtualEnclave/virtualenclave.tsp | 2 +- .../resourcetypes/workload/workload.tsp | 2 +- .../examples/CommunityEndpoints_Update.json | 1 - .../examples/Community_Update.json | 4 +-- .../examples/ExternalConnections_Update.json | 4 +-- .../examples/InternalConnections_Update.json | 4 +-- .../examples/TransitHub_Update.json | 4 +-- .../examples/VirtualEnclave_Update.json | 4 +-- .../examples/Workload_Update.json | 4 +-- .../preview/2024-06-01-preview/openapi.json | 25 ++++--------------- .../examples/CommunityEndpoints_Update.json | 1 - .../examples/Community_Update.json | 4 +-- .../examples/EnclaveEndpoints_Update.json | 1 - .../examples/ExternalConnections_Update.json | 4 +-- .../examples/InternalConnections_Update.json | 4 +-- .../examples/TransitHub_Update.json | 4 +-- .../examples/VirtualEnclave_Update.json | 4 +-- .../examples/Workload_Update.json | 4 +-- .../preview/2024-10-01-preview/openapi.json | 25 ++++--------------- .../examples/CommunityEndpoints_Update.json | 1 - .../examples/Community_Update.json | 4 +-- .../examples/EnclaveConnection_Update.json | 1 - .../examples/EnclaveEndpoints_Update.json | 1 - .../examples/Endpoint_Update.json | 1 - .../examples/ExternalConnections_Update.json | 4 +-- .../examples/InternalConnections_Update.json | 4 +-- .../examples/TransitHub_Update.json | 4 +-- .../examples/VirtualEnclave_Update.json | 4 +-- .../examples/Workload_Update.json | 4 +-- .../preview/2024-11-01-preview/openapi.json | 25 ++++--------------- .../examples/Community_Update.json | 4 +-- .../examples/EnclaveConnection_Update.json | 1 - .../examples/EnclaveEndpoints_Update.json | 1 - .../examples/ExternalConnections_Update.json | 4 +-- .../examples/InternalConnections_Update.json | 4 +-- .../examples/TransitHub_Update.json | 4 +-- .../examples/VirtualEnclave_Update.json | 4 +-- .../examples/Workload_Update.json | 4 +-- .../preview/2024-12-01-preview/openapi.json | 25 ++++--------------- 75 files changed, 73 insertions(+), 247 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json index 59daece74825..4fb6deabc133 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json index 83a51a1d1381..0416fe7d9eac 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -291,8 +290,7 @@ "tags": { "sampletag": "samplevalue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json index 605142f61111..b174b2799a2d 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json index d0a0f1cd0218..18db2a42dee4 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json index bb6801f8a4bf..a11472ccd354 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -45,8 +44,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json index 0ea0ccd93b23..3eb309bd69fc 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -115,8 +114,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json index 53d526f423a1..c9e1ecceca83 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -31,8 +30,7 @@ "tags": { "TestKey": "TestValue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json index 13aa31a2b404..58511f501dfe 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json index 146ca777d601..3ed90c0ccb2e 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -339,8 +338,7 @@ "tags": { "sampletag": "samplevalue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json index 08bdf26c03ba..f6a0ed219a01 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json index fa6ae3066f0e..6eb91eca3440 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json index 09202601a236..81380659ba8a 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json index 64e2f9b7243c..1632b578e285 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -45,8 +44,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json index a3a777a7b27e..9603c5042d42 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -203,8 +202,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json index b88f600d2910..e341005bfd39 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -31,8 +30,7 @@ "tags": { "TestKey": "TestValue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json index 03e2816c605e..d0c798f14de8 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json index 20ee8a1cd602..ace67dc85baa 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -339,8 +338,7 @@ "tags": { "sampletag": "samplevalue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json index 5c7838ee3393..d47f6694c9a7 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json index 497c8f18b92a..83868a31020c 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json index 1089a3096d74..651fe1309d72 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json index 6d4a721cb438..a105dabed041 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json index 3ebe85203247..d51b7c97c41d 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json index f80f9740fad5..5d760232b1f0 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -45,8 +44,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json index e02dc5fbede6..8a04e1322acd 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -203,8 +202,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json index 4176f8fc9ccd..1ff8f52d6daf 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -31,8 +30,7 @@ "tags": { "TestKey": "TestValue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json index c0e46f25c404..fcbd415cc309 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -339,8 +338,7 @@ "tags": { "sampletag": "samplevalue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json index 3e1ff798ba89..ae478c0fb1ab 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json index 7dd42f76df88..1af3f3f216cb 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json index a062a4a26f99..1b33d95f958a 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json index cac45cd94f09..30217c467c08 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json index f5cfcc1c2891..110aa2728dab 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -45,8 +44,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json index cd4c5712a676..4559e6e1d146 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -203,8 +202,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json index 6e7bfcea618c..19d8689b769c 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -31,8 +30,7 @@ "tags": { "TestKey": "TestValue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index 6b4d867d275a..ce2e94e27076 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -125,5 +125,5 @@ model ApprovalProperties { @doc("Approvals properties for patching") model ApprovalPatchResource { @doc("Approval Patch properties") - properties: ApprovalProperties; + properties?: ApprovalProperties; } diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 6b9a28417692..5d7c6b850ab1 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -252,7 +252,7 @@ model CommunityPatchProperties is CommunityProperties { @doc("Community Patch Resource") model CommunityPatchResource { @doc("Community Patch properties") - properties: CommunityPatchProperties; + properties?: CommunityPatchProperties; ...TagsProperty; ...ManagedServiceIdentityProperty; } \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index 4abed600d0f1..0adbcfb63093 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -90,6 +90,6 @@ model TransitHubPatchProperties is TransitHubProperties{ @doc("TH Patch Resource") model TransitHubPatchResource { @doc("The TransitHub resource.") - properties: TransitHubPatchProperties; + properties?: TransitHubPatchProperties; ...TagsProperty; } \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 378ea5d7cd79..f996ea4bdb21 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -193,7 +193,7 @@ model VirtualEnclavePatchProperties is VirtualEnclaveProperties { @doc("Virtual Enclave Patch Resource") model VirtualEnclavePatchResource { @doc("Virtual Enclave Patch properties") - properties: VirtualEnclavePatchProperties; + properties?: VirtualEnclavePatchProperties; ...TagsProperty; ...ManagedServiceIdentityProperty; } \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index e6c10ebbfe0a..faafac2bb365 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -56,6 +56,6 @@ model WorkloadPatchProperties is WorkloadProperties { @doc("Workload Patch Resource") model WorkloadPatchResource { @doc("Workload Patch properties") - properties: WorkloadPatchProperties; + properties?: WorkloadPatchProperties; ...TagsProperty; } \ No newline at end of file diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json index 59daece74825..4fb6deabc133 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json index 83a51a1d1381..0416fe7d9eac 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -291,8 +290,7 @@ "tags": { "sampletag": "samplevalue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json index 605142f61111..b174b2799a2d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json index d0a0f1cd0218..18db2a42dee4 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json index bb6801f8a4bf..a11472ccd354 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -45,8 +44,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json index 0ea0ccd93b23..3eb309bd69fc 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -115,8 +114,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json index 53d526f423a1..c9e1ecceca83 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -31,8 +30,7 @@ "tags": { "TestKey": "TestValue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 113f3a1f020b..0de6b2ad07c3 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4355,10 +4355,7 @@ "$ref": "#/definitions/ApprovalProperties", "description": "Approval Patch properties" } - }, - "required": [ - "properties" - ] + } }, "ApprovalProperties": { "type": "object", @@ -4710,10 +4707,7 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - }, - "required": [ - "properties" - ] + } }, "CommunityProperties": { "type": "object", @@ -6180,10 +6174,7 @@ "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - }, - "required": [ - "properties" - ] + } }, "TransitHubProperties": { "type": "object", @@ -6424,10 +6415,7 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - }, - "required": [ - "properties" - ] + } }, "VirtualEnclaveProperties": { "type": "object", @@ -6518,10 +6506,7 @@ "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - }, - "required": [ - "properties" - ] + } }, "WorkloadProperties": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json index 13aa31a2b404..58511f501dfe 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json index 146ca777d601..3ed90c0ccb2e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -339,8 +338,7 @@ "tags": { "sampletag": "samplevalue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json index 08bdf26c03ba..f6a0ed219a01 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json index fa6ae3066f0e..6eb91eca3440 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json index 09202601a236..81380659ba8a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json index 64e2f9b7243c..1632b578e285 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -45,8 +44,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json index a3a777a7b27e..9603c5042d42 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -203,8 +202,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json index b88f600d2910..e341005bfd39 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -31,8 +30,7 @@ "tags": { "TestKey": "TestValue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 807a47ae76fa..8e84b629508a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -4379,10 +4379,7 @@ "$ref": "#/definitions/ApprovalProperties", "description": "Approval Patch properties" } - }, - "required": [ - "properties" - ] + } }, "ApprovalProperties": { "type": "object", @@ -4790,10 +4787,7 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - }, - "required": [ - "properties" - ] + } }, "CommunityProperties": { "type": "object", @@ -6287,10 +6281,7 @@ "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - }, - "required": [ - "properties" - ] + } }, "TransitHubProperties": { "type": "object", @@ -6545,10 +6536,7 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - }, - "required": [ - "properties" - ] + } }, "VirtualEnclaveProperties": { "type": "object", @@ -6653,10 +6641,7 @@ "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - }, - "required": [ - "properties" - ] + } }, "WorkloadProperties": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json index 03e2816c605e..d0c798f14de8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json index 20ee8a1cd602..ace67dc85baa 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -339,8 +338,7 @@ "tags": { "sampletag": "samplevalue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json index 5c7838ee3393..d47f6694c9a7 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json index 497c8f18b92a..83868a31020c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json index 1089a3096d74..651fe1309d72 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json index 6d4a721cb438..a105dabed041 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json index 3ebe85203247..d51b7c97c41d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json index f80f9740fad5..5d760232b1f0 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -45,8 +44,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json index e02dc5fbede6..8a04e1322acd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -203,8 +202,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json index 4176f8fc9ccd..1ff8f52d6daf 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -31,8 +30,7 @@ "tags": { "TestKey": "TestValue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 8ef6fc5bdcc2..6dbebfa833bd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -4854,10 +4854,7 @@ "$ref": "#/definitions/ApprovalProperties", "description": "Approval Patch properties" } - }, - "required": [ - "properties" - ] + } }, "ApprovalPolicy": { "type": "string", @@ -5366,10 +5363,7 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - }, - "required": [ - "properties" - ] + } }, "CommunityProperties": { "type": "object", @@ -6882,10 +6876,7 @@ "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - }, - "required": [ - "properties" - ] + } }, "TransitHubProperties": { "type": "object", @@ -7140,10 +7131,7 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - }, - "required": [ - "properties" - ] + } }, "VirtualEnclaveProperties": { "type": "object", @@ -7248,10 +7236,7 @@ "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - }, - "required": [ - "properties" - ] + } }, "WorkloadProperties": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json index c0e46f25c404..fcbd415cc309 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -339,8 +338,7 @@ "tags": { "sampletag": "samplevalue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json index 3e1ff798ba89..ae478c0fb1ab 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json index 7dd42f76df88..1af3f3f216cb 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json index a062a4a26f99..1b33d95f958a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json index cac45cd94f09..30217c467c08 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json @@ -7,7 +7,6 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -48,8 +47,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json index f5cfcc1c2891..110aa2728dab 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json @@ -8,7 +8,6 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -45,8 +44,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json index cd4c5712a676..4559e6e1d146 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -15,7 +15,6 @@ } }, "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -203,8 +202,7 @@ "tags": { "Tag1": "Value1" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json index 6e7bfcea618c..19d8689b769c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json @@ -8,7 +8,6 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -31,8 +30,7 @@ "tags": { "TestKey": "TestValue" }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index d97279e66414..de202bf7e231 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -4854,10 +4854,7 @@ "$ref": "#/definitions/ApprovalProperties", "description": "Approval Patch properties" } - }, - "required": [ - "properties" - ] + } }, "ApprovalPolicy": { "type": "string", @@ -5388,10 +5385,7 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - }, - "required": [ - "properties" - ] + } }, "CommunityProperties": { "type": "object", @@ -6910,10 +6904,7 @@ "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - }, - "required": [ - "properties" - ] + } }, "TransitHubProperties": { "type": "object", @@ -7168,10 +7159,7 @@ "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } - }, - "required": [ - "properties" - ] + } }, "VirtualEnclaveProperties": { "type": "object", @@ -7276,10 +7264,7 @@ "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", "description": "Tags associated with the resource." } - }, - "required": [ - "properties" - ] + } }, "WorkloadProperties": { "type": "object", From 449d38117fcd825c3c3870d5e4ac1e937b5499ce Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 21:49:57 -0500 Subject: [PATCH 50/89] Update patch model --- .../resourcetypes/community/community.tsp | 8 +- .../resourcetypes/transitHub/transitHub.tsp | 8 +- .../virtualEnclave/virtualenclave.tsp | 6 +- .../resourcetypes/workload/workload.tsp | 6 +- .../preview/2024-06-01-preview/openapi.json | 139 +-------------- .../preview/2024-10-01-preview/openapi.json | 160 +---------------- .../preview/2024-11-01-preview/openapi.json | 168 +----------------- .../preview/2024-12-01-preview/openapi.json | 168 +----------------- 8 files changed, 22 insertions(+), 641 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 5d7c6b850ab1..b89bc3e47c08 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -245,14 +245,10 @@ model CommunityProperties { maintenanceModeConfiguration?: MaintenanceModeConfiguration; } -@doc("Community Patch Properties") -model CommunityPatchProperties is CommunityProperties { -} - @doc("Community Patch Resource") model CommunityPatchResource { @doc("Community Patch properties") - properties?: CommunityPatchProperties; + properties?: CommunityProperties; ...TagsProperty; ...ManagedServiceIdentityProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index 0adbcfb63093..8fb9d0feee7a 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -83,13 +83,9 @@ model TransitHubProperties { resourceCollection?: string[]; } -@doc("Describes the properties of an Transit Hub.") -model TransitHubPatchProperties is TransitHubProperties{ -} - @doc("TH Patch Resource") model TransitHubPatchResource { @doc("The TransitHub resource.") - properties?: TransitHubPatchProperties; + properties?: TransitHubProperties; ...TagsProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index f996ea4bdb21..3ea495e1345e 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -186,14 +186,10 @@ model VirtualEnclaveProperties { workloadRoleAssignments?: RoleAssignmentItem[]; } -@doc("Virtual Enclave Patch properties") -model VirtualEnclavePatchProperties is VirtualEnclaveProperties { -} - @doc("Virtual Enclave Patch Resource") model VirtualEnclavePatchResource { @doc("Virtual Enclave Patch properties") - properties?: VirtualEnclavePatchProperties; + properties?: VirtualEnclaveProperties; ...TagsProperty; ...ManagedServiceIdentityProperty; } \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index faafac2bb365..28ea087f5217 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -49,13 +49,9 @@ model WorkloadProperties { resourceGroupCollection?: string[]; } -@doc("Workload Patch properties") -model WorkloadPatchProperties is WorkloadProperties { -} - @doc("Workload Patch Resource") model WorkloadPatchResource { @doc("Workload Patch properties") - properties?: WorkloadPatchProperties; + properties?: WorkloadProperties; ...TagsProperty; } \ No newline at end of file diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 0de6b2ad07c3..962d9fda562a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4651,52 +4651,12 @@ "value" ] }, - "CommunityPatchProperties": { - "type": "object", - "description": "Community Patch Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - } - } - }, "CommunityPatchResource": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityPatchProperties", + "$ref": "#/definitions/CommunityProperties", "description": "Community Patch properties" }, "tags": { @@ -6136,38 +6096,12 @@ "networkPrefixSize" ] }, - "TransitHubPatchProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/TransitHubPatchProperties", + "$ref": "#/definitions/TransitHubProperties", "description": "The TransitHub resource." }, "tags": { @@ -6352,59 +6286,12 @@ ] } }, - "VirtualEnclavePatchProperties": { - "type": "object", - "description": "Virtual Enclave Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - } - } - }, "VirtualEnclavePatchResource": { "type": "object", "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclavePatchProperties", + "$ref": "#/definitions/VirtualEnclaveProperties", "description": "Virtual Enclave Patch properties" }, "tags": { @@ -6476,30 +6363,12 @@ ] } }, - "WorkloadPatchProperties": { - "type": "object", - "description": "Workload Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadPatchProperties", + "$ref": "#/definitions/WorkloadProperties", "description": "Workload Patch properties" }, "tags": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 8e84b629508a..28208a8a8c61 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -4724,59 +4724,12 @@ "value" ] }, - "CommunityPatchProperties": { - "type": "object", - "description": "Community Patch Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, "CommunityPatchResource": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityPatchProperties", + "$ref": "#/definitions/CommunityProperties", "description": "Community Patch properties" }, "tags": { @@ -6243,38 +6196,12 @@ "networkPrefixSize" ] }, - "TransitHubPatchProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/TransitHubPatchProperties", + "$ref": "#/definitions/TransitHubProperties", "description": "The TransitHub resource." }, "tags": { @@ -6459,73 +6386,12 @@ ] } }, - "VirtualEnclavePatchProperties": { - "type": "object", - "description": "Virtual Enclave Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, "VirtualEnclavePatchResource": { "type": "object", "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclavePatchProperties", + "$ref": "#/definitions/VirtualEnclaveProperties", "description": "Virtual Enclave Patch properties" }, "tags": { @@ -6611,30 +6477,12 @@ ] } }, - "WorkloadPatchProperties": { - "type": "object", - "description": "Workload Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadPatchProperties", + "$ref": "#/definitions/WorkloadProperties", "description": "Workload Patch properties" }, "tags": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 6dbebfa833bd..3912c7e0fe37 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -5292,67 +5292,12 @@ "value" ] }, - "CommunityPatchProperties": { - "type": "object", - "description": "Community Patch Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "approvalSettings": { - "$ref": "#/definitions/ApprovalSettings", - "description": "Approval requirements for various actions on the community's resources." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - } - } - }, "CommunityPatchResource": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityPatchProperties", + "$ref": "#/definitions/CommunityProperties", "description": "Community Patch properties" }, "tags": { @@ -6838,38 +6783,12 @@ "networkPrefixSize" ] }, - "TransitHubPatchProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/TransitHubPatchProperties", + "$ref": "#/definitions/TransitHubProperties", "description": "The TransitHub resource." }, "tags": { @@ -7054,73 +6973,12 @@ ] } }, - "VirtualEnclavePatchProperties": { - "type": "object", - "description": "Virtual Enclave Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, "VirtualEnclavePatchResource": { "type": "object", "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclavePatchProperties", + "$ref": "#/definitions/VirtualEnclaveProperties", "description": "Virtual Enclave Patch properties" }, "tags": { @@ -7206,30 +7064,12 @@ ] } }, - "WorkloadPatchProperties": { - "type": "object", - "description": "Workload Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadPatchProperties", + "$ref": "#/definitions/WorkloadProperties", "description": "Workload Patch properties" }, "tags": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index de202bf7e231..dccf6fc59f88 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5314,67 +5314,12 @@ "value" ] }, - "CommunityPatchProperties": { - "type": "object", - "description": "Community Patch Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "approvalSettings": { - "$ref": "#/definitions/ApprovalSettings", - "description": "Approval requirements for various actions on the community's resources." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - } - } - }, "CommunityPatchResource": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityPatchProperties", + "$ref": "#/definitions/CommunityProperties", "description": "Community Patch properties" }, "tags": { @@ -6866,38 +6811,12 @@ "networkPrefixSize" ] }, - "TransitHubPatchProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/TransitHubPatchProperties", + "$ref": "#/definitions/TransitHubProperties", "description": "The TransitHub resource." }, "tags": { @@ -7082,73 +7001,12 @@ ] } }, - "VirtualEnclavePatchProperties": { - "type": "object", - "description": "Virtual Enclave Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, "VirtualEnclavePatchResource": { "type": "object", "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclavePatchProperties", + "$ref": "#/definitions/VirtualEnclaveProperties", "description": "Virtual Enclave Patch properties" }, "tags": { @@ -7234,30 +7092,12 @@ ] } }, - "WorkloadPatchProperties": { - "type": "object", - "description": "Workload Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadPatchProperties", + "$ref": "#/definitions/WorkloadProperties", "description": "Workload Patch properties" }, "tags": { From eca663cfd062f0bec1bfa4cc3bea1eb0d8137b5c Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 22:09:56 -0500 Subject: [PATCH 51/89] Update patch model --- .../resourcetypes/community/community.tsp | 10 +- .../resourcetypes/transitHub/transitHub.tsp | 10 +- .../virtualEnclave/virtualenclave.tsp | 8 +- .../resourcetypes/workload/workload.tsp | 8 +- .../preview/2024-06-01-preview/openapi.json | 184 ++++++++++++--- .../preview/2024-10-01-preview/openapi.json | 205 ++++++++++++++--- .../preview/2024-11-01-preview/openapi.json | 213 +++++++++++++++--- .../preview/2024-12-01-preview/openapi.json | 213 +++++++++++++++--- 8 files changed, 733 insertions(+), 118 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index b89bc3e47c08..5e68339db2fa 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -245,10 +245,14 @@ model CommunityProperties { maintenanceModeConfiguration?: MaintenanceModeConfiguration; } +@doc("Community Patch Properties") +model CommunityPatchProperties is CommunityProperties { +} + @doc("Community Patch Resource") model CommunityPatchResource { @doc("Community Patch properties") - properties?: CommunityProperties; - ...TagsProperty; + properties?: CommunityPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; ...ManagedServiceIdentityProperty; -} +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index 8fb9d0feee7a..4b09d5193db9 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -83,9 +83,13 @@ model TransitHubProperties { resourceCollection?: string[]; } +@doc("Describes the properties of an Transit Hub.") +model TransitHubPatchProperties is TransitHubProperties{ +} + @doc("TH Patch Resource") model TransitHubPatchResource { @doc("The TransitHub resource.") - properties?: TransitHubProperties; - ...TagsProperty; -} + properties?: TransitHubPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 3ea495e1345e..e2088712c24b 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -186,10 +186,14 @@ model VirtualEnclaveProperties { workloadRoleAssignments?: RoleAssignmentItem[]; } +@doc("Virtual Enclave Patch properties") +model VirtualEnclavePatchProperties is VirtualEnclaveProperties { +} + @doc("Virtual Enclave Patch Resource") model VirtualEnclavePatchResource { @doc("Virtual Enclave Patch properties") - properties?: VirtualEnclaveProperties; - ...TagsProperty; + properties?: VirtualEnclavePatchProperties; ...ManagedServiceIdentityProperty; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; } \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 28ea087f5217..3d9bd642b8cc 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -49,9 +49,13 @@ model WorkloadProperties { resourceGroupCollection?: string[]; } +@doc("Workload Patch properties") +model WorkloadPatchProperties is WorkloadProperties { +} + @doc("Workload Patch Resource") model WorkloadPatchResource { @doc("Workload Patch properties") - properties?: WorkloadProperties; - ...TagsProperty; + properties?: WorkloadPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; } \ No newline at end of file diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 962d9fda562a..ed64100e8681 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4447,19 +4447,6 @@ ] } }, - "Azure.ResourceManager.Foundations.ArmTagsProperty": { - "type": "object", - "description": "Standard type definition for Azure Resource Manager Tags property.\n\nIt is included in the TrackedResource template definition.The Azure Resource Manager Resource tags.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4651,17 +4638,60 @@ "value" ] }, + "CommunityPatchProperties": { + "type": "object", + "description": "Community Patch Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + } + } + }, "CommunityPatchResource": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties", + "$ref": "#/definitions/CommunityPatchProperties", "description": "Community Patch properties" }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", @@ -6096,17 +6126,46 @@ "networkPrefixSize" ] }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/TransitHubProperties", + "$ref": "#/definitions/TransitHubPatchProperties", "description": "The TransitHub resource." }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, @@ -6286,21 +6345,71 @@ ] } }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + } + } + }, "VirtualEnclavePatchResource": { "type": "object", "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", + "$ref": "#/definitions/VirtualEnclavePatchProperties", "description": "Virtual Enclave Patch properties" }, - "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." - }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, @@ -6363,17 +6472,38 @@ ] } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadProperties", + "$ref": "#/definitions/WorkloadPatchProperties", "description": "Workload Patch properties" }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 28208a8a8c61..e5d1ab17bde7 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -4520,19 +4520,6 @@ "lastUpdatedAt" ] }, - "Azure.ResourceManager.Foundations.ArmTagsProperty": { - "type": "object", - "description": "Standard type definition for Azure Resource Manager Tags property.\n\nIt is included in the TrackedResource template definition.The Azure Resource Manager Resource tags.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4724,17 +4711,67 @@ "value" ] }, + "CommunityPatchProperties": { + "type": "object", + "description": "Community Patch Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, "CommunityPatchResource": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties", + "$ref": "#/definitions/CommunityPatchProperties", "description": "Community Patch properties" }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", @@ -6196,17 +6233,46 @@ "networkPrefixSize" ] }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/TransitHubProperties", + "$ref": "#/definitions/TransitHubPatchProperties", "description": "The TransitHub resource." }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, @@ -6386,21 +6452,85 @@ ] } }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, "VirtualEnclavePatchResource": { "type": "object", "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", + "$ref": "#/definitions/VirtualEnclavePatchProperties", "description": "Virtual Enclave Patch properties" }, - "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." - }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, @@ -6477,17 +6607,38 @@ ] } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadProperties", + "$ref": "#/definitions/WorkloadPatchProperties", "description": "Workload Patch properties" }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 3912c7e0fe37..39c70e44c2e6 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -5088,19 +5088,6 @@ "lastUpdatedAt" ] }, - "Azure.ResourceManager.Foundations.ArmTagsProperty": { - "type": "object", - "description": "Standard type definition for Azure Resource Manager Tags property.\n\nIt is included in the TrackedResource template definition.The Azure Resource Manager Resource tags.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5292,17 +5279,75 @@ "value" ] }, + "CommunityPatchProperties": { + "type": "object", + "description": "Community Patch Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + } + } + }, "CommunityPatchResource": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties", + "$ref": "#/definitions/CommunityPatchProperties", "description": "Community Patch properties" }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", @@ -6783,17 +6828,46 @@ "networkPrefixSize" ] }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/TransitHubProperties", + "$ref": "#/definitions/TransitHubPatchProperties", "description": "The TransitHub resource." }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, @@ -6973,21 +7047,85 @@ ] } }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, "VirtualEnclavePatchResource": { "type": "object", "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", + "$ref": "#/definitions/VirtualEnclavePatchProperties", "description": "Virtual Enclave Patch properties" }, - "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." - }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, @@ -7064,17 +7202,38 @@ ] } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadProperties", + "$ref": "#/definitions/WorkloadPatchProperties", "description": "Workload Patch properties" }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index dccf6fc59f88..79874b4cfbe5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5114,19 +5114,6 @@ "lastUpdatedAt" ] }, - "Azure.ResourceManager.Foundations.ArmTagsProperty": { - "type": "object", - "description": "Standard type definition for Azure Resource Manager Tags property.\n\nIt is included in the TrackedResource template definition.The Azure Resource Manager Resource tags.", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5314,17 +5301,75 @@ "value" ] }, + "CommunityPatchProperties": { + "type": "object", + "description": "Community Patch Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space." + }, + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + } + } + }, "CommunityPatchResource": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityProperties", + "$ref": "#/definitions/CommunityPatchProperties", "description": "Community Patch properties" }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", @@ -6811,17 +6856,46 @@ "networkPrefixSize" ] }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string" + } + } + } + }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/TransitHubProperties", + "$ref": "#/definitions/TransitHubPatchProperties", "description": "The TransitHub resource." }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, @@ -7001,21 +7075,85 @@ ] } }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string" + } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + } + } + }, "VirtualEnclavePatchResource": { "type": "object", "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", + "$ref": "#/definitions/VirtualEnclavePatchProperties", "description": "Virtual Enclave Patch properties" }, - "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." - }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, @@ -7092,17 +7230,38 @@ ] } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload Patch properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadProperties", + "$ref": "#/definitions/WorkloadPatchProperties", "description": "Workload Patch properties" }, "tags": { - "$ref": "#/definitions/Azure.ResourceManager.Foundations.ArmTagsProperty", - "description": "Tags associated with the resource." + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, From 0334da041a79bad1eaeaf9fc90c6e9fbd78cad9f Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 22:27:21 -0500 Subject: [PATCH 52/89] Update patch model --- .../mission/Mission.Management/model.tsp | 14 +- .../resourcetypes/catalog/catalog.tsp | 10 + .../communityEndpoint/communityEndpoint.tsp | 11 + .../enclaveConnection/enclaveConnection.tsp | 11 + .../enclaveEndpoint/enclaveEndpoint.tsp | 10 + .../resourcetypes/endpoint/endpoint.tsp | 10 + .../externalConnection/externalConnection.tsp | 10 + .../internalConnection/internalConnection.tsp | 10 + .../preview/2024-06-01-preview/openapi.json | 277 +++++++++++++++++- .../preview/2024-10-01-preview/openapi.json | 277 +++++++++++++++++- .../preview/2024-11-01-preview/openapi.json | 277 +++++++++++++++++- .../preview/2024-12-01-preview/openapi.json | 269 ++++++++++++++++- 12 files changed, 1155 insertions(+), 31 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 9a11de228dd6..4fe6edf0b4cb 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -218,7 +218,7 @@ interface Endpoint { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -322,7 +322,7 @@ interface CatalogInterface { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteAsync; @@ -341,7 +341,7 @@ interface InternalConnections { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -383,7 +383,7 @@ interface EnclaveConnection { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveConnectionResource, - EnclaveConnectionResource + PatchModel = EnclaveConnectionPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -423,7 +423,7 @@ interface EnclaveEndpoints { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveEndpointResource, - EnclaveEndpointResource + PatchModel = EnclaveEndpointPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -463,7 +463,7 @@ interface CommunityEndpoints { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CommunityEndpointResource, - CommunityEndpointResource + PatchModel = CommunityEndpointPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -500,7 +500,7 @@ interface ExternalConnections { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; diff --git a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp index c2545b0ea75a..cc1f4d61109d 100644 --- a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp +++ b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp @@ -74,3 +74,13 @@ model CatalogProperties { @doc("List of packages for catalog.") packageCollection?: Package[]; } + +@doc("Catalog Patch properties") +model CatalogPatchProperties is CatalogProperties { +} +@doc("Catalog Patch Resource") +model CatalogPatchResource { + @doc("Catalog Patch properties") + properties?: CatalogPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index 4a840e4bf170..50603255a6cc 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -125,3 +125,14 @@ model CommunityEndpointProperties { @doc("Whether approval is needed for the connection (True or False).") approvalRequired?: boolean; } + +@doc("Community Endpoint Patch properties") +model CommunityEndpointPatchProperties is CommunityEndpointProperties { +} + +@doc("Community Endpoint Patch Resource") +model CommunityEndpointPatchResource { + @doc("Community Endpoint Patch properties") + properties?: CommunityEndpointPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp index 122385ae2565..8790235f9e3e 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp @@ -68,3 +68,14 @@ model EnclaveConnectionProperties { @doc("List of resource ids modified by enclave Connections.") resourceCollection?: string[]; } + +@doc("Enclave Connection Patch properties") +model EnclaveConnectionPatchProperties is EnclaveConnectionProperties { +} + +@doc("Enclave Connection Patch Resource") +model EnclaveConnectionPatchResource { + @doc("Enclave Connection Patch properties") + properties?: EnclaveConnectionPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index 152106b0dbe0..3cddf09d8e17 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -90,3 +90,13 @@ model EnclaveEndpointProperties { @doc("Whether approval is needed for the connection (True or False).") approvalRequired?: boolean; } + +@doc("Enclave Endpoint Patch properties") +model EnclaveEndpointPatchProperties is EnclaveEndpointProperties { +} +@doc("Enclave Endpoint Patch Resource") +model EnclaveEndpointPatchResource { + @doc("Enclave Endpoint Patch properties") + properties?: EnclaveEndpointPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} diff --git a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp index 55c2c42830eb..6f5dd954d304 100644 --- a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp @@ -76,3 +76,13 @@ model EndpointProperties { @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; } + +@doc("Endpoint Patch properties") +model EndpointPatchProperties is EndpointProperties { +} +@doc("Endpoint Patch Resource") +model EndpointPatchResource { + @doc("Endpoint Patch properties") + properties?: EndpointPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp index 19c019cda36a..dc3c528b8ad5 100644 --- a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp @@ -50,3 +50,13 @@ model ExternalConnectionProperties { @doc("List of resource ids modified by externalConnections.") resourceCollection?: string[]; } + +@doc("External Connection Resource properties") +model ExternalConnectionPatchProperties is ExternalConnectionProperties { +} +@doc("External Connection Patch Resource") +model ExternalConnectionPatchResource { + @doc("External Connection properties") + properties?: ExternalConnectionPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} \ No newline at end of file diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp index 215f56c2157c..9464eb81df36 100644 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -83,3 +83,13 @@ model InternalConnectionProperties { @doc("List of resource ids modified by internalConnections.") resourceCollection?: string[]; } + +@doc("Internal Connection Patch properties") +model InternalConnectionPatchProperties is InternalConnectionProperties { +} +@doc("Internal Connection Patch Resource") +model InternalConnectionPatchResource { + @doc("Internal Connection properties") + properties?: InternalConnectionProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index ed64100e8681..a76884b08ab9 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResource" + "$ref": "#/definitions/CommunityEndpointPatchResource" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" + "$ref": "#/definitions/EnclaveConnectionPatchResource" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/ExternalConnectionPatchResource" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/InternalConnectionPatchResource" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" + "$ref": "#/definitions/EnclaveEndpointPatchResource" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResource" + "$ref": "#/definitions/EndpointPatchResource" } } ], @@ -4511,6 +4511,53 @@ } } }, + "CommunityEndpointPatchProperties": { + "type": "object", + "description": "Community Endpoint Patch properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "CommunityEndpointPatchResource": { + "type": "object", + "description": "Community Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPatchProperties", + "description": "Community Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -4887,6 +4934,65 @@ } } }, + "EnclaveConnectionPatchProperties": { + "type": "object", + "description": "Enclave Connection Patch properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionPatchResource": { + "type": "object", + "description": "Enclave Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPatchProperties", + "description": "Enclave Connection Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", @@ -5085,6 +5191,53 @@ } } }, + "EnclaveEndpointPatchProperties": { + "type": "object", + "description": "Enclave Endpoint Patch properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "EnclaveEndpointPatchResource": { + "type": "object", + "description": "Enclave Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPatchProperties", + "description": "Enclave Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -5274,6 +5427,44 @@ } } }, + "EndpointPatchProperties": { + "type": "object", + "description": "Endpoint Patch properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointPatchResource": { + "type": "object", + "description": "Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointPatchProperties", + "description": "Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -5451,6 +5642,63 @@ "value" ] }, + "ExternalConnectionPatchProperties": { + "type": "object", + "description": "External Connection Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionPatchResource": { + "type": "object", + "description": "External Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPatchProperties", + "description": "External Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "ExternalConnectionProperties": { "type": "object", "description": "Describes the properties of an External Connection.", @@ -5657,6 +5905,23 @@ "value" ] }, + "InternalConnectionPatchResource": { + "type": "object", + "description": "Internal Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "Internal Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "InternalConnectionProperties": { "type": "object", "description": "Describes the properties of an Internal Connection.", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index e5d1ab17bde7..e3dc76cebbce 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResource" + "$ref": "#/definitions/CommunityEndpointPatchResource" } } ], @@ -2112,7 +2112,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" + "$ref": "#/definitions/EnclaveConnectionPatchResource" } } ], @@ -2556,7 +2556,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/ExternalConnectionPatchResource" } } ], @@ -2852,7 +2852,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/InternalConnectionPatchResource" } } ], @@ -3476,7 +3476,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" + "$ref": "#/definitions/EnclaveEndpointPatchResource" } } ], @@ -3812,7 +3812,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResource" + "$ref": "#/definitions/EndpointPatchResource" } } ], @@ -4584,6 +4584,53 @@ } } }, + "CommunityEndpointPatchProperties": { + "type": "object", + "description": "Community Endpoint Patch properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "CommunityEndpointPatchResource": { + "type": "object", + "description": "Community Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPatchProperties", + "description": "Community Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -4974,6 +5021,65 @@ } } }, + "EnclaveConnectionPatchProperties": { + "type": "object", + "description": "Enclave Connection Patch properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionPatchResource": { + "type": "object", + "description": "Enclave Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPatchProperties", + "description": "Enclave Connection Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", @@ -5172,6 +5278,53 @@ } } }, + "EnclaveEndpointPatchProperties": { + "type": "object", + "description": "Enclave Endpoint Patch properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "EnclaveEndpointPatchResource": { + "type": "object", + "description": "Enclave Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPatchProperties", + "description": "Enclave Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -5361,6 +5514,44 @@ } } }, + "EndpointPatchProperties": { + "type": "object", + "description": "Endpoint Patch properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointPatchResource": { + "type": "object", + "description": "Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointPatchProperties", + "description": "Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -5538,6 +5729,63 @@ "value" ] }, + "ExternalConnectionPatchProperties": { + "type": "object", + "description": "External Connection Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionPatchResource": { + "type": "object", + "description": "External Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPatchProperties", + "description": "External Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "ExternalConnectionProperties": { "type": "object", "description": "Describes the properties of an External Connection.", @@ -5744,6 +5992,23 @@ "value" ] }, + "InternalConnectionPatchResource": { + "type": "object", + "description": "Internal Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "Internal Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "InternalConnectionProperties": { "type": "object", "description": "Describes the properties of an Internal Connection.", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 39c70e44c2e6..22e4342c1974 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResource" + "$ref": "#/definitions/CommunityEndpointPatchResource" } } ], @@ -2276,7 +2276,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" + "$ref": "#/definitions/EnclaveConnectionPatchResource" } } ], @@ -2720,7 +2720,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/ExternalConnectionPatchResource" } } ], @@ -3016,7 +3016,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/InternalConnectionPatchResource" } } ], @@ -3788,7 +3788,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" + "$ref": "#/definitions/EnclaveEndpointPatchResource" } } ], @@ -4288,7 +4288,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResource" + "$ref": "#/definitions/EndpointPatchResource" } } ], @@ -5152,6 +5152,53 @@ } } }, + "CommunityEndpointPatchProperties": { + "type": "object", + "description": "Community Endpoint Patch properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "CommunityEndpointPatchResource": { + "type": "object", + "description": "Community Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPatchProperties", + "description": "Community Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -5558,6 +5605,65 @@ } } }, + "EnclaveConnectionPatchProperties": { + "type": "object", + "description": "Enclave Connection Patch properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionPatchResource": { + "type": "object", + "description": "Enclave Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPatchProperties", + "description": "Enclave Connection Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", @@ -5756,6 +5862,53 @@ } } }, + "EnclaveEndpointPatchProperties": { + "type": "object", + "description": "Enclave Endpoint Patch properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, + "EnclaveEndpointPatchResource": { + "type": "object", + "description": "Enclave Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPatchProperties", + "description": "Enclave Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -5945,6 +6098,44 @@ } } }, + "EndpointPatchProperties": { + "type": "object", + "description": "Endpoint Patch properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointPatchResource": { + "type": "object", + "description": "Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointPatchProperties", + "description": "Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -6122,6 +6313,63 @@ "value" ] }, + "ExternalConnectionPatchProperties": { + "type": "object", + "description": "External Connection Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionPatchResource": { + "type": "object", + "description": "External Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPatchProperties", + "description": "External Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "ExternalConnectionProperties": { "type": "object", "description": "Describes the properties of an External Connection.", @@ -6328,6 +6576,23 @@ "value" ] }, + "InternalConnectionPatchResource": { + "type": "object", + "description": "Internal Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "Internal Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "InternalConnectionProperties": { "type": "object", "description": "Describes the properties of an Internal Connection.", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 79874b4cfbe5..ecba58bcbc00 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -1472,7 +1472,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointResource" + "$ref": "#/definitions/CommunityEndpointPatchResource" } } ], @@ -2276,7 +2276,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" + "$ref": "#/definitions/EnclaveConnectionPatchResource" } } ], @@ -2720,7 +2720,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/ExternalConnectionPatchResource" } } ], @@ -3016,7 +3016,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/InternalConnectionPatchResource" } } ], @@ -3788,7 +3788,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" + "$ref": "#/definitions/EnclaveEndpointPatchResource" } } ], @@ -4288,7 +4288,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EndpointResource" + "$ref": "#/definitions/EndpointPatchResource" } } ], @@ -5178,6 +5178,49 @@ } } }, + "CommunityEndpointPatchProperties": { + "type": "object", + "description": "Community Endpoint Patch properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "CommunityEndpointPatchResource": { + "type": "object", + "description": "Community Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPatchProperties", + "description": "Community Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -5580,6 +5623,65 @@ } } }, + "EnclaveConnectionPatchProperties": { + "type": "object", + "description": "Enclave Connection Patch properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string" + } + } + } + }, + "EnclaveConnectionPatchResource": { + "type": "object", + "description": "Enclave Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPatchProperties", + "description": "Enclave Connection Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", @@ -5778,6 +5880,49 @@ } } }, + "EnclaveEndpointPatchProperties": { + "type": "object", + "description": "Enclave Endpoint Patch properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EnclaveEndpointPatchResource": { + "type": "object", + "description": "Enclave Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPatchProperties", + "description": "Enclave Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -5963,6 +6108,44 @@ } } }, + "EndpointPatchProperties": { + "type": "object", + "description": "Endpoint Patch properties", + "properties": { + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "EndpointPatchResource": { + "type": "object", + "description": "Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointPatchProperties", + "description": "Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -6140,6 +6323,63 @@ "value" ] }, + "ExternalConnectionPatchProperties": { + "type": "object", + "description": "External Connection Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { + "type": "string" + } + } + } + }, + "ExternalConnectionPatchResource": { + "type": "object", + "description": "External Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionPatchProperties", + "description": "External Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "ExternalConnectionProperties": { "type": "object", "description": "Describes the properties of an External Connection.", @@ -6346,6 +6586,23 @@ "value" ] }, + "InternalConnectionPatchResource": { + "type": "object", + "description": "Internal Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "Internal Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "InternalConnectionProperties": { "type": "object", "description": "Describes the properties of an Internal Connection.", From be73203112578f0c43cea5e03d2d6d63f6a5c6b5 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 23:08:20 -0500 Subject: [PATCH 53/89] Update patch model. Fix location in examples. --- .../CommunityEndpoints_Update.json | 1 + .../2024-06-01-preview/Community_Update.json | 4 +++- .../EnclaveConnection_Update.json | 2 +- .../EnclaveEndpoints_Update.json | 2 +- .../2024-06-01-preview/Endpoint_Update.json | 2 +- .../ExternalConnections_Update.json | 4 +++- .../InternalConnections_Update.json | 4 +++- .../2024-06-01-preview/TransitHub_Update.json | 4 +++- .../2024-06-01-preview/VirtualEnclave_Update.json | 4 +++- .../2024-06-01-preview/Workload_Update.json | 4 +++- .../CommunityEndpoints_Update.json | 1 + .../2024-10-01-preview/Community_Update.json | 4 +++- .../EnclaveConnection_Update.json | 2 +- .../EnclaveEndpoints_Update.json | 1 + .../2024-10-01-preview/Endpoint_Update.json | 2 +- .../ExternalConnections_Update.json | 4 +++- .../InternalConnections_Update.json | 4 +++- .../2024-10-01-preview/TransitHub_Update.json | 4 +++- .../2024-10-01-preview/VirtualEnclave_Update.json | 4 +++- .../2024-10-01-preview/Workload_Update.json | 4 +++- .../CommunityEndpoints_Update.json | 1 + .../2024-11-01-preview/Community_Update.json | 4 +++- .../EnclaveConnection_Update.json | 1 + .../EnclaveEndpoints_Update.json | 1 + .../2024-11-01-preview/Endpoint_Update.json | 1 + .../ExternalConnections_Update.json | 4 +++- .../InternalConnections_Update.json | 4 +++- .../2024-11-01-preview/TransitHub_Update.json | 4 +++- .../2024-11-01-preview/VirtualEnclave_Update.json | 4 +++- .../2024-11-01-preview/Workload_Update.json | 4 +++- .../CommunityEndpoints_Update.json | 2 +- .../2024-12-01-preview/Community_Update.json | 4 +++- .../EnclaveConnection_Update.json | 1 + .../EnclaveEndpoints_Update.json | 1 + .../2024-12-01-preview/Endpoint_Update.json | 2 +- .../ExternalConnections_Update.json | 4 +++- .../InternalConnections_Update.json | 4 +++- .../2024-12-01-preview/TransitHub_Update.json | 4 +++- .../2024-12-01-preview/VirtualEnclave_Update.json | 4 +++- .../2024-12-01-preview/Workload_Update.json | 4 +++- .../resourcetypes/approvals/approvals.tsp | 1 - .../enclaveEndpoint/enclaveEndpoint.tsp | 1 + .../virtualEnclave/virtualenclave.tsp | 4 ++-- .../examples/CommunityEndpoints_Update.json | 1 + .../examples/Community_Update.json | 4 +++- .../examples/EnclaveConnection_Update.json | 2 +- .../examples/EnclaveEndpoints_Update.json | 2 +- .../examples/Endpoint_Update.json | 2 +- .../examples/ExternalConnections_Update.json | 4 +++- .../examples/InternalConnections_Update.json | 4 +++- .../examples/TransitHub_Update.json | 4 +++- .../examples/VirtualEnclave_Update.json | 4 +++- .../examples/Workload_Update.json | 4 +++- .../preview/2024-06-01-preview/openapi.json | 10 ++++++++-- .../examples/CommunityEndpoints_Update.json | 1 + .../examples/Community_Update.json | 4 +++- .../examples/EnclaveConnection_Update.json | 2 +- .../examples/EnclaveEndpoints_Update.json | 1 + .../examples/Endpoint_Update.json | 2 +- .../examples/ExternalConnections_Update.json | 4 +++- .../examples/InternalConnections_Update.json | 4 +++- .../examples/TransitHub_Update.json | 4 +++- .../examples/VirtualEnclave_Update.json | 4 +++- .../examples/Workload_Update.json | 4 +++- .../preview/2024-10-01-preview/openapi.json | 10 ++++++++-- .../examples/CommunityEndpoints_Update.json | 1 + .../examples/Community_Update.json | 4 +++- .../examples/EnclaveConnection_Update.json | 1 + .../examples/EnclaveEndpoints_Update.json | 1 + .../examples/Endpoint_Update.json | 1 + .../examples/ExternalConnections_Update.json | 4 +++- .../examples/InternalConnections_Update.json | 4 +++- .../examples/TransitHub_Update.json | 4 +++- .../examples/VirtualEnclave_Update.json | 4 +++- .../examples/Workload_Update.json | 4 +++- .../preview/2024-11-01-preview/openapi.json | 15 +++++++++------ .../examples/CommunityEndpoints_Update.json | 2 +- .../examples/Community_Update.json | 4 +++- .../examples/EnclaveConnection_Update.json | 1 + .../examples/EnclaveEndpoints_Update.json | 1 + .../examples/Endpoint_Update.json | 2 +- .../examples/ExternalConnections_Update.json | 4 +++- .../examples/InternalConnections_Update.json | 4 +++- .../examples/TransitHub_Update.json | 4 +++- .../examples/VirtualEnclave_Update.json | 4 +++- .../examples/Workload_Update.json | 4 +++- .../preview/2024-12-01-preview/openapi.json | 10 ++++++++-- 87 files changed, 212 insertions(+), 77 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json index 4fb6deabc133..59daece74825 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json index 0416fe7d9eac..83a51a1d1381 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -290,7 +291,8 @@ "tags": { "sampletag": "samplevalue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json index e9c80fa035bc..7e83962ed5a3 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json @@ -7,7 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json index 7707739cbdea..9dcc0de2cd40 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json @@ -8,7 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json index 0a0945b9dfe9..9d869191490c 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json @@ -8,7 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json index b174b2799a2d..605142f61111 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json index 18db2a42dee4..d0a0f1cd0218 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json index a11472ccd354..bb6801f8a4bf 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -44,7 +45,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json index 3eb309bd69fc..0ea0ccd93b23 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -114,7 +115,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json index c9e1ecceca83..53d526f423a1 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -30,7 +31,8 @@ "tags": { "TestKey": "TestValue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json index 58511f501dfe..13aa31a2b404 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json index 3ed90c0ccb2e..146ca777d601 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -338,7 +339,8 @@ "tags": { "sampletag": "samplevalue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json index a8495db14961..9111ab008362 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json @@ -7,7 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json index f6a0ed219a01..08bdf26c03ba 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json index f0718a254bc3..94377417fa9d 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json @@ -8,7 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json index 6eb91eca3440..fa6ae3066f0e 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json index 81380659ba8a..09202601a236 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json index 1632b578e285..64e2f9b7243c 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -44,7 +45,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json index 9603c5042d42..a3a777a7b27e 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -202,7 +203,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json index e341005bfd39..b88f600d2910 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -30,7 +31,8 @@ "tags": { "TestKey": "TestValue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json index d0c798f14de8..03e2816c605e 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json index ace67dc85baa..20ee8a1cd602 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -338,7 +339,8 @@ "tags": { "sampletag": "samplevalue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json index d47f6694c9a7..5c7838ee3393 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json index 83868a31020c..497c8f18b92a 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json index 651fe1309d72..1089a3096d74 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json index a105dabed041..6d4a721cb438 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json index d51b7c97c41d..3ebe85203247 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json index 5d760232b1f0..f80f9740fad5 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -44,7 +45,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json index 8a04e1322acd..e02dc5fbede6 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -202,7 +203,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json index 1ff8f52d6daf..4176f8fc9ccd 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -30,7 +31,8 @@ "tags": { "TestKey": "TestValue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json index 9a2c950f801c..c567094571cf 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json @@ -8,7 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json index fcbd415cc309..c0e46f25c404 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -338,7 +339,8 @@ "tags": { "sampletag": "samplevalue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json index ae478c0fb1ab..3e1ff798ba89 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json index 1af3f3f216cb..7dd42f76df88 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json index eeaa4dd5295f..2f849b4e5652 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json @@ -8,7 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json index 1b33d95f958a..a062a4a26f99 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json index 30217c467c08..cac45cd94f09 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json index 110aa2728dab..f5cfcc1c2891 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -44,7 +45,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json index 4559e6e1d146..cd4c5712a676 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -202,7 +203,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json index 19d8689b769c..6e7bfcea618c 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -30,7 +31,8 @@ "tags": { "TestKey": "TestValue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index ce2e94e27076..3ce710bf40e5 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -56,7 +56,6 @@ model RequestMetadata { approvalStatus?: ApprovalStatus; @added(Microsoft.Mission.Versions.v2024_11_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Route name for the approval callback") approvalCallbackRoute?: string; diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index 3cddf09d8e17..22abcf7a3759 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -94,6 +94,7 @@ model EnclaveEndpointProperties { @doc("Enclave Endpoint Patch properties") model EnclaveEndpointPatchProperties is EnclaveEndpointProperties { } + @doc("Enclave Endpoint Patch Resource") model EnclaveEndpointPatchResource { @doc("Enclave Endpoint Patch properties") diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index e2088712c24b..78d1ba2b4006 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -66,7 +66,7 @@ model EnclaveVirtualNetwork { name?: string; @doc("Network Size.") - networkSize?: string; + networkSize: string; @doc("Custom CIDR Range.") customCidrRange?: string; @@ -123,7 +123,7 @@ model EnclaveAddressSpaces { @doc("Maintenance Mode") model MaintenanceModeConfiguration { @doc("Current mode of Maintenance Mode Configuration") - mode?: "On" | "CanNotDelete" | "Off" | string; + mode: "On" | "CanNotDelete" | "Off" | string; @doc("The user, group or service principal object affected by Maintenance Mode") principals?: Principal[]; diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json index 4fb6deabc133..59daece74825 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json index 0416fe7d9eac..83a51a1d1381 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -290,7 +291,8 @@ "tags": { "sampletag": "samplevalue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json index e9c80fa035bc..7e83962ed5a3 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json @@ -7,7 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json index 7707739cbdea..9dcc0de2cd40 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,7 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json index 0a0945b9dfe9..9d869191490c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json @@ -8,7 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json index b174b2799a2d..605142f61111 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json index 18db2a42dee4..d0a0f1cd0218 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json index a11472ccd354..bb6801f8a4bf 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -44,7 +45,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json index 3eb309bd69fc..0ea0ccd93b23 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -114,7 +115,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json index c9e1ecceca83..53d526f423a1 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -30,7 +31,8 @@ "tags": { "TestKey": "TestValue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index a76884b08ab9..827d1587ffe4 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -5425,7 +5425,10 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - } + }, + "required": [ + "networkSize" + ] }, "EndpointPatchProperties": { "type": "object", @@ -6096,7 +6099,10 @@ "modelAsString": true } } - } + }, + "required": [ + "mode" + ] }, "ManagedResourceGroupConfiguration": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json index 58511f501dfe..13aa31a2b404 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json index 3ed90c0ccb2e..146ca777d601 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -338,7 +339,8 @@ "tags": { "sampletag": "samplevalue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json index a8495db14961..9111ab008362 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json @@ -7,7 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json index f6a0ed219a01..08bdf26c03ba 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json index f0718a254bc3..94377417fa9d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json @@ -8,7 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json index 6eb91eca3440..fa6ae3066f0e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json index 81380659ba8a..09202601a236 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json index 1632b578e285..64e2f9b7243c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -44,7 +45,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json index 9603c5042d42..a3a777a7b27e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -202,7 +203,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json index e341005bfd39..b88f600d2910 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -30,7 +31,8 @@ "tags": { "TestKey": "TestValue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index e3dc76cebbce..7d99980e7102 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -5512,7 +5512,10 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - } + }, + "required": [ + "networkSize" + ] }, "EndpointPatchProperties": { "type": "object", @@ -6183,7 +6186,10 @@ "modelAsString": true } } - } + }, + "required": [ + "mode" + ] }, "ManagedResourceGroupConfiguration": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json index d0c798f14de8..03e2816c605e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json index ace67dc85baa..20ee8a1cd602 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -338,7 +339,8 @@ "tags": { "sampletag": "samplevalue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json index d47f6694c9a7..5c7838ee3393 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json index 83868a31020c..497c8f18b92a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json index 651fe1309d72..1089a3096d74 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json index a105dabed041..6d4a721cb438 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json index d51b7c97c41d..3ebe85203247 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json index 5d760232b1f0..f80f9740fad5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -44,7 +45,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json index 8a04e1322acd..e02dc5fbede6 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -202,7 +203,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json index 1ff8f52d6daf..4176f8fc9ccd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -30,7 +31,8 @@ "tags": { "TestKey": "TestValue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 22e4342c1974..68dad73350ae 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -6096,7 +6096,10 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - } + }, + "required": [ + "networkSize" + ] }, "EndpointPatchProperties": { "type": "object", @@ -6767,7 +6770,10 @@ "modelAsString": true } } - } + }, + "required": [ + "mode" + ] }, "ManagedResourceGroupConfiguration": { "type": "object", @@ -6914,10 +6920,7 @@ "type": "string", "description": "Payload to be sent upon any action on approval request" } - }, - "required": [ - "approvalCallbackRoute" - ] + } }, "RoleAssignmentItem": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json index 9a2c950f801c..c567094571cf 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json @@ -8,7 +8,7 @@ "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json index fcbd415cc309..c0e46f25c404 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, @@ -338,7 +339,8 @@ "tags": { "sampletag": "samplevalue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", "name": "TestMyCommunity", "type": "Microsoft.Mission/communities", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json index ae478c0fb1ab..3e1ff798ba89 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json index 1af3f3f216cb..7dd42f76df88 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", "properties": { + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json index eeaa4dd5295f..2f849b4e5652 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json @@ -8,7 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", "properties": { - "location": "West US", + "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json index 1b33d95f958a..a062a4a26f99 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/externalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json index 30217c467c08..cac45cd94f09 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json @@ -7,6 +7,7 @@ "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -47,7 +48,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", "name": "zwwdhidevngwzo", "type": "microsoft.mission/internalconnections", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json index 110aa2728dab..f5cfcc1c2891 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json @@ -8,6 +8,7 @@ "communityName": "TestMyCommunity", "transitHubName": "TestThName", "properties": { + "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, @@ -44,7 +45,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", "name": "TestThName", "type": "microsoft.mission/communities/transithubs", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json index 4559e6e1d146..cd4c5712a676 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -15,6 +15,7 @@ } }, "properties": { + "location": "westcentralus", "tags": { "Tag1": "Value1" }, @@ -202,7 +203,8 @@ "tags": { "Tag1": "Value1" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", "name": "TestMyEnclave", "type": "microsoft.mission/virtualenclaves", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json index 19d8689b769c..6e7bfcea618c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json @@ -8,6 +8,7 @@ "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", "properties": { + "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, @@ -30,7 +31,8 @@ "tags": { "TestKey": "TestValue" }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", "name": "kxzylwqnmxtivpmupnlho", "type": "microsoft.mission/virtualenclaves/workloads", "systemData": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index ecba58bcbc00..5802ee461dd4 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -6106,7 +6106,10 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - } + }, + "required": [ + "networkSize" + ] }, "EndpointPatchProperties": { "type": "object", @@ -6777,7 +6780,10 @@ "modelAsString": true } } - } + }, + "required": [ + "mode" + ] }, "ManagedResourceGroupConfiguration": { "type": "object", From 8b499abb4db9a95ee0196b0ec929325455876e51 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 23:24:54 -0500 Subject: [PATCH 54/89] Update patch model. Fix location in examples. --- .../2024-06-01-preview/CommunityEndpoints_Update.json | 2 +- .../examples/2024-06-01-preview/Community_Update.json | 2 +- .../2024-06-01-preview/EnclaveConnection_Update.json | 2 +- .../2024-06-01-preview/EnclaveEndpoints_Update.json | 2 +- .../examples/2024-06-01-preview/Endpoint_Update.json | 2 +- .../2024-06-01-preview/ExternalConnections_Update.json | 2 +- .../2024-06-01-preview/InternalConnections_Update.json | 2 +- .../examples/2024-06-01-preview/TransitHub_Update.json | 2 +- .../2024-06-01-preview/VirtualEnclave_Update.json | 2 +- .../examples/2024-06-01-preview/Workload_Update.json | 2 +- .../2024-10-01-preview/CommunityEndpoints_Update.json | 2 +- .../examples/2024-10-01-preview/Community_Update.json | 2 +- .../2024-10-01-preview/EnclaveConnection_Update.json | 2 +- .../2024-10-01-preview/EnclaveEndpoints_Update.json | 2 +- .../examples/2024-10-01-preview/Endpoint_Update.json | 2 +- .../2024-10-01-preview/ExternalConnections_Update.json | 2 +- .../2024-10-01-preview/InternalConnections_Update.json | 2 +- .../examples/2024-10-01-preview/TransitHub_Update.json | 2 +- .../2024-10-01-preview/VirtualEnclave_Update.json | 2 +- .../examples/2024-10-01-preview/Workload_Update.json | 2 +- .../2024-11-01-preview/CommunityEndpoints_Update.json | 2 +- .../examples/2024-11-01-preview/Community_Update.json | 2 +- .../2024-11-01-preview/EnclaveConnection_Update.json | 2 +- .../2024-11-01-preview/EnclaveEndpoints_Update.json | 2 +- .../examples/2024-11-01-preview/Endpoint_Update.json | 2 +- .../2024-11-01-preview/ExternalConnections_Update.json | 2 +- .../2024-11-01-preview/InternalConnections_Update.json | 2 +- .../examples/2024-11-01-preview/TransitHub_Update.json | 2 +- .../2024-11-01-preview/VirtualEnclave_Update.json | 2 +- .../examples/2024-11-01-preview/Workload_Update.json | 2 +- .../2024-12-01-preview/CommunityEndpoints_Update.json | 2 +- .../examples/2024-12-01-preview/Community_Update.json | 2 +- .../2024-12-01-preview/EnclaveConnection_Update.json | 2 +- .../2024-12-01-preview/EnclaveEndpoints_Update.json | 2 +- .../examples/2024-12-01-preview/Endpoint_Update.json | 2 +- .../2024-12-01-preview/ExternalConnections_Update.json | 2 +- .../2024-12-01-preview/InternalConnections_Update.json | 2 +- .../examples/2024-12-01-preview/TransitHub_Update.json | 2 +- .../2024-12-01-preview/VirtualEnclave_Update.json | 2 +- .../examples/2024-12-01-preview/Workload_Update.json | 2 +- .../resourcetypes/virtualEnclave/virtualenclave.tsp | 4 ++-- .../examples/CommunityEndpoints_Update.json | 2 +- .../2024-06-01-preview/examples/Community_Update.json | 2 +- .../examples/EnclaveConnection_Update.json | 2 +- .../examples/EnclaveEndpoints_Update.json | 2 +- .../2024-06-01-preview/examples/Endpoint_Update.json | 2 +- .../examples/ExternalConnections_Update.json | 2 +- .../examples/InternalConnections_Update.json | 2 +- .../2024-06-01-preview/examples/TransitHub_Update.json | 2 +- .../examples/VirtualEnclave_Update.json | 2 +- .../2024-06-01-preview/examples/Workload_Update.json | 2 +- .../preview/2024-06-01-preview/openapi.json | 10 ++-------- .../examples/CommunityEndpoints_Update.json | 2 +- .../2024-10-01-preview/examples/Community_Update.json | 2 +- .../examples/EnclaveConnection_Update.json | 2 +- .../examples/EnclaveEndpoints_Update.json | 2 +- .../2024-10-01-preview/examples/Endpoint_Update.json | 2 +- .../examples/ExternalConnections_Update.json | 2 +- .../examples/InternalConnections_Update.json | 2 +- .../2024-10-01-preview/examples/TransitHub_Update.json | 2 +- .../examples/VirtualEnclave_Update.json | 2 +- .../2024-10-01-preview/examples/Workload_Update.json | 2 +- .../preview/2024-10-01-preview/openapi.json | 10 ++-------- .../examples/CommunityEndpoints_Update.json | 2 +- .../2024-11-01-preview/examples/Community_Update.json | 2 +- .../examples/EnclaveConnection_Update.json | 2 +- .../examples/EnclaveEndpoints_Update.json | 2 +- .../2024-11-01-preview/examples/Endpoint_Update.json | 2 +- .../examples/ExternalConnections_Update.json | 2 +- .../examples/InternalConnections_Update.json | 2 +- .../2024-11-01-preview/examples/TransitHub_Update.json | 2 +- .../examples/VirtualEnclave_Update.json | 2 +- .../2024-11-01-preview/examples/Workload_Update.json | 2 +- .../preview/2024-11-01-preview/openapi.json | 10 ++-------- .../examples/CommunityEndpoints_Update.json | 2 +- .../2024-12-01-preview/examples/Community_Update.json | 2 +- .../examples/EnclaveConnection_Update.json | 2 +- .../examples/EnclaveEndpoints_Update.json | 2 +- .../2024-12-01-preview/examples/Endpoint_Update.json | 2 +- .../examples/ExternalConnections_Update.json | 2 +- .../examples/InternalConnections_Update.json | 2 +- .../2024-12-01-preview/examples/TransitHub_Update.json | 2 +- .../examples/VirtualEnclave_Update.json | 2 +- .../2024-12-01-preview/examples/Workload_Update.json | 2 +- .../preview/2024-12-01-preview/openapi.json | 10 ++-------- 85 files changed, 90 insertions(+), 114 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json index 59daece74825..51f8bceaea95 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/CommunityEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json index 83a51a1d1381..0600fb6925be 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json index 7e83962ed5a3..5e33c80cd6d6 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json index 9dcc0de2cd40..c6ce3b60dd82 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json index 9d869191490c..1d0c2337f9a7 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json index 605142f61111..b4cbb94fca38 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json index d0a0f1cd0218..463f1d17c5e2 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json index bb6801f8a4bf..b7c81442c22e 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "transitHubName": "TestThName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json index 0ea0ccd93b23..869d13f005cc 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json index 53d526f423a1..2075250e1ef2 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Workload_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json index 13aa31a2b404..0dc40ab9b4b5 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json index 146ca777d601..d7bf90cfc27d 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json index 9111ab008362..977c2cd49395 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json index 08bdf26c03ba..e4f3cdc15406 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json index 94377417fa9d..4d2feaad8fad 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json index fa6ae3066f0e..c2cbbaa4c521 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json index 09202601a236..61a49867b2e5 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json index 64e2f9b7243c..fee3c5cc3f0f 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "transitHubName": "TestThName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json index a3a777a7b27e..11cf77c749d5 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json index b88f600d2910..2a35c3f47bf2 100644 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json index 03e2816c605e..b736391138f7 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json index 20ee8a1cd602..dd2b4caee9d8 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json index 5c7838ee3393..4df1b927353d 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json index 497c8f18b92a..fce6a0cb700d 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json index 1089a3096d74..24c10fd78507 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json index 6d4a721cb438..0d8279f5bc06 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json index 3ebe85203247..4eda2743eccf 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json index f80f9740fad5..847674a253ec 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "transitHubName": "TestThName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json index e02dc5fbede6..b540c45c4f85 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json index 4176f8fc9ccd..6f3ea412c2f3 100644 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json index c567094571cf..b035aaceec9a 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/CommunityEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json index c0e46f25c404..bf3c7ffc72ec 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json index 3e1ff798ba89..a35fc15eae2d 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json index 7dd42f76df88..40700272a17a 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json index 2f849b4e5652..4463cc25e203 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json index a062a4a26f99..04c528359104 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json index cac45cd94f09..5dfad80f9c69 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json index f5cfcc1c2891..ff62259d16b7 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "transitHubName": "TestThName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json index cd4c5712a676..0ad8e6de1d19 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json index 6e7bfcea618c..f78c95500f5e 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Workload_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 78d1ba2b4006..e2088712c24b 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -66,7 +66,7 @@ model EnclaveVirtualNetwork { name?: string; @doc("Network Size.") - networkSize: string; + networkSize?: string; @doc("Custom CIDR Range.") customCidrRange?: string; @@ -123,7 +123,7 @@ model EnclaveAddressSpaces { @doc("Maintenance Mode") model MaintenanceModeConfiguration { @doc("Current mode of Maintenance Mode Configuration") - mode: "On" | "CanNotDelete" | "Off" | string; + mode?: "On" | "CanNotDelete" | "Off" | string; @doc("The user, group or service principal object affected by Maintenance Mode") principals?: Principal[]; diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json index 59daece74825..51f8bceaea95 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/CommunityEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json index 83a51a1d1381..0600fb6925be 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json index 7e83962ed5a3..5e33c80cd6d6 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json index 9dcc0de2cd40..c6ce3b60dd82 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json index 9d869191490c..1d0c2337f9a7 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json index 605142f61111..b4cbb94fca38 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json index d0a0f1cd0218..463f1d17c5e2 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json index bb6801f8a4bf..b7c81442c22e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "transitHubName": "TestThName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json index 0ea0ccd93b23..869d13f005cc 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json index 53d526f423a1..2075250e1ef2 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Workload_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 827d1587ffe4..a76884b08ab9 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -5425,10 +5425,7 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "networkSize" - ] + } }, "EndpointPatchProperties": { "type": "object", @@ -6099,10 +6096,7 @@ "modelAsString": true } } - }, - "required": [ - "mode" - ] + } }, "ManagedResourceGroupConfiguration": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json index 13aa31a2b404..0dc40ab9b4b5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json index 146ca777d601..d7bf90cfc27d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json index 9111ab008362..977c2cd49395 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json index 08bdf26c03ba..e4f3cdc15406 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json index 94377417fa9d..4d2feaad8fad 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json index fa6ae3066f0e..c2cbbaa4c521 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json index 09202601a236..61a49867b2e5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json index 64e2f9b7243c..fee3c5cc3f0f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "transitHubName": "TestThName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json index a3a777a7b27e..11cf77c749d5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json index b88f600d2910..2a35c3f47bf2 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 7d99980e7102..e3dc76cebbce 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -5512,10 +5512,7 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "networkSize" - ] + } }, "EndpointPatchProperties": { "type": "object", @@ -6186,10 +6183,7 @@ "modelAsString": true } } - }, - "required": [ - "mode" - ] + } }, "ManagedResourceGroupConfiguration": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json index 03e2816c605e..b736391138f7 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json index 20ee8a1cd602..dd2b4caee9d8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json index 5c7838ee3393..4df1b927353d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json index 497c8f18b92a..fce6a0cb700d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json index 1089a3096d74..24c10fd78507 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json index 6d4a721cb438..0d8279f5bc06 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json index 3ebe85203247..4eda2743eccf 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json index f80f9740fad5..847674a253ec 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "transitHubName": "TestThName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json index e02dc5fbede6..b540c45c4f85 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json index 4176f8fc9ccd..6f3ea412c2f3 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 68dad73350ae..3e931a41a351 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -6096,10 +6096,7 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "networkSize" - ] + } }, "EndpointPatchProperties": { "type": "object", @@ -6770,10 +6767,7 @@ "modelAsString": true } } - }, - "required": [ - "mode" - ] + } }, "ManagedResourceGroupConfiguration": { "type": "object", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json index c567094571cf..b035aaceec9a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/CommunityEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json index c0e46f25c404..bf3c7ffc72ec 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json index 3e1ff798ba89..a35fc15eae2d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json index 7dd42f76df88..40700272a17a 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveEndpoints_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json index 2f849b4e5652..4463cc25e203 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "endpointName": "TestMyEndpoint", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "sampletag": "samplevalue" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json index a062a4a26f99..04c528359104 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "externalConnectionName": "TestEcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json index cac45cd94f09..5dfad80f9c69 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json @@ -6,8 +6,8 @@ "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", "resourceGroupName": "rgopenapi", "internalConnectionName": "TestIcName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json index f5cfcc1c2891..ff62259d16b7 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "communityName": "TestMyCommunity", "transitHubName": "TestThName", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key4278": "hjoxhwofxcshowbnafdrrzq" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json index cd4c5712a676..0ad8e6de1d19 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -14,8 +14,8 @@ "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} } }, + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "Tag1": "Value1" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json index 6e7bfcea618c..f78c95500f5e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Workload_Update.json @@ -7,8 +7,8 @@ "resourceGroupName": "rgopenapi", "virtualEnclaveName": "TestMyEnclave", "workloadName": "TestMyWorkload", + "location": "westcentralus", "properties": { - "location": "westcentralus", "tags": { "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 5802ee461dd4..ecba58bcbc00 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -6106,10 +6106,7 @@ "type": "boolean", "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "networkSize" - ] + } }, "EndpointPatchProperties": { "type": "object", @@ -6780,10 +6777,7 @@ "modelAsString": true } } - }, - "required": [ - "mode" - ] + } }, "ManagedResourceGroupConfiguration": { "type": "object", From 02367df66eb6b0a58c1b0cda4c5bf060c2962309 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 23:30:38 -0500 Subject: [PATCH 55/89] Format update --- .../Mission.Management/resourcetypes/catalog/catalog.tsp | 6 +++--- .../resourcetypes/community/community.tsp | 6 +++--- .../resourcetypes/communityEndpoint/communityEndpoint.tsp | 6 +++--- .../resourcetypes/enclaveConnection/enclaveConnection.tsp | 6 +++--- .../resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp | 4 ++-- .../Mission.Management/resourcetypes/endpoint/endpoint.tsp | 6 +++--- .../resourcetypes/externalConnection/externalConnection.tsp | 6 +++--- .../resourcetypes/internalConnection/internalConnection.tsp | 4 ++-- .../resourcetypes/transitHub/transitHub.tsp | 6 +++--- .../resourcetypes/virtualEnclave/virtualenclave.tsp | 6 +++--- .../Mission.Management/resourcetypes/workload/workload.tsp | 6 +++--- 11 files changed, 31 insertions(+), 31 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp index cc1f4d61109d..cf571671b1b9 100644 --- a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp +++ b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp @@ -76,11 +76,11 @@ model CatalogProperties { } @doc("Catalog Patch properties") -model CatalogPatchProperties is CatalogProperties { -} +model CatalogPatchProperties is CatalogProperties; @doc("Catalog Patch Resource") model CatalogPatchResource { @doc("Catalog Patch properties") properties?: CatalogPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 5e68339db2fa..147c00a9cc3a 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -246,13 +246,13 @@ model CommunityProperties { } @doc("Community Patch Properties") -model CommunityPatchProperties is CommunityProperties { -} +model CommunityPatchProperties is CommunityProperties; @doc("Community Patch Resource") model CommunityPatchResource { @doc("Community Patch properties") properties?: CommunityPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; ...ManagedServiceIdentityProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index 50603255a6cc..fbae63489502 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -127,12 +127,12 @@ model CommunityEndpointProperties { } @doc("Community Endpoint Patch properties") -model CommunityEndpointPatchProperties is CommunityEndpointProperties { -} +model CommunityEndpointPatchProperties is CommunityEndpointProperties; @doc("Community Endpoint Patch Resource") model CommunityEndpointPatchResource { @doc("Community Endpoint Patch properties") properties?: CommunityEndpointPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp index 8790235f9e3e..4bd620885815 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp @@ -70,12 +70,12 @@ model EnclaveConnectionProperties { } @doc("Enclave Connection Patch properties") -model EnclaveConnectionPatchProperties is EnclaveConnectionProperties { -} +model EnclaveConnectionPatchProperties is EnclaveConnectionProperties; @doc("Enclave Connection Patch Resource") model EnclaveConnectionPatchResource { @doc("Enclave Connection Patch properties") properties?: EnclaveConnectionPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index 22abcf7a3759..8c0df995528f 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -92,12 +92,12 @@ model EnclaveEndpointProperties { } @doc("Enclave Endpoint Patch properties") -model EnclaveEndpointPatchProperties is EnclaveEndpointProperties { -} +model EnclaveEndpointPatchProperties is EnclaveEndpointProperties; @doc("Enclave Endpoint Patch Resource") model EnclaveEndpointPatchResource { @doc("Enclave Endpoint Patch properties") properties?: EnclaveEndpointPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp index 6f5dd954d304..e553918c6a77 100644 --- a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp @@ -78,11 +78,11 @@ model EndpointProperties { } @doc("Endpoint Patch properties") -model EndpointPatchProperties is EndpointProperties { -} +model EndpointPatchProperties is EndpointProperties; @doc("Endpoint Patch Resource") model EndpointPatchResource { @doc("Endpoint Patch properties") properties?: EndpointPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp index dc3c528b8ad5..0dcd7e91f577 100644 --- a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp @@ -52,11 +52,11 @@ model ExternalConnectionProperties { } @doc("External Connection Resource properties") -model ExternalConnectionPatchProperties is ExternalConnectionProperties { -} +model ExternalConnectionPatchProperties is ExternalConnectionProperties; @doc("External Connection Patch Resource") model ExternalConnectionPatchResource { @doc("External Connection properties") properties?: ExternalConnectionPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp index 9464eb81df36..64dc5d3e631d 100644 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -85,11 +85,11 @@ model InternalConnectionProperties { } @doc("Internal Connection Patch properties") -model InternalConnectionPatchProperties is InternalConnectionProperties { -} +model InternalConnectionPatchProperties is InternalConnectionProperties; @doc("Internal Connection Patch Resource") model InternalConnectionPatchResource { @doc("Internal Connection properties") properties?: InternalConnectionProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index 4b09d5193db9..fcb2ddd7f4d9 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -84,12 +84,12 @@ model TransitHubProperties { } @doc("Describes the properties of an Transit Hub.") -model TransitHubPatchProperties is TransitHubProperties{ -} +model TransitHubPatchProperties is TransitHubProperties; @doc("TH Patch Resource") model TransitHubPatchResource { @doc("The TransitHub resource.") properties?: TransitHubPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index e2088712c24b..73c06639b012 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -187,13 +187,13 @@ model VirtualEnclaveProperties { } @doc("Virtual Enclave Patch properties") -model VirtualEnclavePatchProperties is VirtualEnclaveProperties { -} +model VirtualEnclavePatchProperties is VirtualEnclaveProperties; @doc("Virtual Enclave Patch Resource") model VirtualEnclavePatchResource { @doc("Virtual Enclave Patch properties") properties?: VirtualEnclavePatchProperties; + ...ManagedServiceIdentityProperty; ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} \ No newline at end of file +} diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 3d9bd642b8cc..8fe19841972c 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -50,12 +50,12 @@ model WorkloadProperties { } @doc("Workload Patch properties") -model WorkloadPatchProperties is WorkloadProperties { -} +model WorkloadPatchProperties is WorkloadProperties; @doc("Workload Patch Resource") model WorkloadPatchResource { @doc("Workload Patch properties") properties?: WorkloadPatchProperties; + ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} \ No newline at end of file +} From d0ee627f39ba609e9c7efee974eb2122db22c124 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 23:40:17 -0500 Subject: [PATCH 56/89] Format update. Use Azure.Core.azureLocation for location def in mrg --- .../mission/Mission.Management/model.tsp | 45 +++++++++++++++---- .../managedresourcegroupconfiguration.tsp | 6 ++- .../preview/2024-06-01-preview/openapi.json | 6 ++- .../preview/2024-10-01-preview/openapi.json | 6 ++- .../preview/2024-11-01-preview/openapi.json | 6 ++- .../preview/2024-12-01-preview/openapi.json | 6 ++- 6 files changed, 61 insertions(+), 14 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 4fe6edf0b4cb..ba7e88d91866 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -199,7 +199,10 @@ interface Workload { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + WorkloadResource, + PatchModel = WorkloadPatchResource + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -218,7 +221,10 @@ interface Endpoint { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + EndpointResource, + PatchModel = EndpointPatchResource + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -237,7 +243,10 @@ interface VirtualEnclave { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + EnclaveResource, + PatchModel = VirtualEnclavePatchResource + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -287,7 +296,10 @@ interface Community { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + CommunityResource, + PatchModel = CommunityPatchResource + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -322,7 +334,10 @@ interface CatalogInterface { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + CatalogResource, + PatchModel = CatalogPatchResource + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteAsync; @@ -341,7 +356,10 @@ interface InternalConnections { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + InternalConnection, + PatchModel = InternalConnectionPatchResource + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -361,7 +379,10 @@ interface TransitHub { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + TransitHubResource, + PatchModel = TransitHubPatchResource + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -500,7 +521,10 @@ interface ExternalConnections { ArmAsyncOperationHeader >; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + ExternalConnection, + PatchModel = ExternalConnectionPatchResource + >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; @@ -521,7 +545,10 @@ interface Approval { >; listByParent is ArmResourceListByParent; @patch(#{ implicitOptionality: false }) - update is ArmCustomPatchAsync; + update is ArmCustomPatchAsync< + ApprovalResource, + PatchModel = ApprovalPatchResource + >; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") @armResourceAction(ApprovalResource) diff --git a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp index 09eba5d97d8c..7188e9035044 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp @@ -1,3 +1,7 @@ +import "@azure-tools/typespec-azure-core"; + +using Azure.Core; + @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @@ -7,5 +11,5 @@ model ManagedResourceGroupConfiguration { name?: string; @doc("The geo-location where the resource lives") - location?: string; + location?: Azure.Core.azureLocation; } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index a76884b08ab9..3cc24aca0f7e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4447,6 +4447,10 @@ ] } }, + "Azure.Core.azureLocation": { + "type": "string", + "description": "Represents an Azure geography region where supported resource providers live." + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -6107,7 +6111,7 @@ "description": "Name of managed resource group" }, "location": { - "type": "string", + "$ref": "#/definitions/Azure.Core.azureLocation", "description": "The geo-location where the resource lives" } } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index e3dc76cebbce..de8d87d4f9c7 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -4520,6 +4520,10 @@ "lastUpdatedAt" ] }, + "Azure.Core.azureLocation": { + "type": "string", + "description": "Represents an Azure geography region where supported resource providers live." + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -6194,7 +6198,7 @@ "description": "Name of managed resource group" }, "location": { - "type": "string", + "$ref": "#/definitions/Azure.Core.azureLocation", "description": "The geo-location where the resource lives" } } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 3e931a41a351..3bda29e6afe3 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -5088,6 +5088,10 @@ "lastUpdatedAt" ] }, + "Azure.Core.azureLocation": { + "type": "string", + "description": "Represents an Azure geography region where supported resource providers live." + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -6778,7 +6782,7 @@ "description": "Name of managed resource group" }, "location": { - "type": "string", + "$ref": "#/definitions/Azure.Core.azureLocation", "description": "The geo-location where the resource lives" } } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index ecba58bcbc00..7d350f65728f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5114,6 +5114,10 @@ "lastUpdatedAt" ] }, + "Azure.Core.azureLocation": { + "type": "string", + "description": "Represents an Azure geography region where supported resource providers live." + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -6788,7 +6792,7 @@ "description": "Name of managed resource group" }, "location": { - "type": "string", + "$ref": "#/definitions/Azure.Core.azureLocation", "description": "The geo-location where the resource lives" } } From c10d00a2eaf6e61d9dcd21ba4ddf37b0aaafa3d6 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Thu, 6 Mar 2025 23:59:43 -0500 Subject: [PATCH 57/89] Fix visibility for mrg location --- .../shared/managedresourcegroupconfiguration.tsp | 1 + .../preview/2024-06-01-preview/openapi.json | 6 +++++- .../preview/2024-10-01-preview/openapi.json | 6 +++++- .../preview/2024-11-01-preview/openapi.json | 6 +++++- .../preview/2024-12-01-preview/openapi.json | 6 +++++- 5 files changed, 21 insertions(+), 4 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp index 7188e9035044..1786a68be20c 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp @@ -11,5 +11,6 @@ model ManagedResourceGroupConfiguration { name?: string; @doc("The geo-location where the resource lives") + @visibility(Lifecycle.Read, Lifecycle.Create) location?: Azure.Core.azureLocation; } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 3cc24aca0f7e..8175d4e382f5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -6112,7 +6112,11 @@ }, "location": { "$ref": "#/definitions/Azure.Core.azureLocation", - "description": "The geo-location where the resource lives" + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index de8d87d4f9c7..022090be477d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -6199,7 +6199,11 @@ }, "location": { "$ref": "#/definitions/Azure.Core.azureLocation", - "description": "The geo-location where the resource lives" + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 3bda29e6afe3..014296e84d53 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -6783,7 +6783,11 @@ }, "location": { "$ref": "#/definitions/Azure.Core.azureLocation", - "description": "The geo-location where the resource lives" + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 7d350f65728f..de14c64c920f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -6793,7 +6793,11 @@ }, "location": { "$ref": "#/definitions/Azure.Core.azureLocation", - "description": "The geo-location where the resource lives" + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] } } }, From c976b0969ac13f26b38c89c4ae0016c2d898a289 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Fri, 7 Mar 2025 11:26:16 -0500 Subject: [PATCH 58/89] Remove 2024_10 and 2024_11 --- .../mission/Mission.Management/model.tsp | 12 +++++------ .../resourcetypes/approvals/approvals.tsp | 14 ++++++------- .../resourcetypes/catalog/catalog.tsp | 1 + .../resourcetypes/community/community.tsp | 12 +++++------ .../communityEndpoint/communityEndpoint.tsp | 6 ++++++ .../internalConnection/internalConnection.tsp | 1 + .../postActions/approvalcallback.tsp | 4 ++-- .../virtualEnclave/virtualenclave.tsp | 8 +++---- .../mission/Mission.Management/version.tsp | 20 +++++++++--------- .../preview/2024-10-01-preview/openapi.json | 21 +++++++++++++++++++ .../preview/2024-11-01-preview/openapi.json | 21 +++++++++++++++++++ .../mission/resource-manager/readme.md | 4 ++-- 12 files changed, 87 insertions(+), 37 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index ba7e88d91866..b8ccab64833c 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -269,7 +269,7 @@ interface VirtualEnclave { @doc("Callback that triggers on approval state change.") @armResourceAction(EnclaveResource) - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) approvalCallback is ArmResourceActionAsync< EnclaveResource, ApprovalCallbackRequest, @@ -277,7 +277,7 @@ interface VirtualEnclave { >; @doc("Callback that triggers on approval deletion state change.") @armResourceAction(EnclaveResource) - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) approvalDeletionCallback is ArmResourceActionAsync< EnclaveResource, ApprovalDeletionCallbackRequest, @@ -454,7 +454,7 @@ interface EnclaveEndpoints { @doc("Callback that triggers on approval state change.") @armResourceAction(EnclaveEndpointResource) - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) approvalCallback is ArmResourceActionAsync< EnclaveEndpointResource, ApprovalCallbackRequest, @@ -462,7 +462,7 @@ interface EnclaveEndpoints { >; @doc("Callback that triggers on approval deletion state change.") @armResourceAction(EnclaveEndpointResource) - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) approvalDeletionCallback is ArmResourceActionAsync< EnclaveEndpointResource, ApprovalDeletionCallbackRequest, @@ -494,7 +494,7 @@ interface CommunityEndpoints { @doc("Callback that triggers on approval state change.") @armResourceAction(CommunityEndpointResource) - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) approvalCallback is ArmResourceActionAsync< CommunityEndpointResource, ApprovalCallbackRequest, @@ -502,7 +502,7 @@ interface CommunityEndpoints { >; @doc("Callback that triggers on approval deletion state change.") @armResourceAction(CommunityEndpointResource) - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) approvalDeletionCallback is ArmResourceActionAsync< CommunityEndpointResource, ApprovalDeletionCallbackRequest, diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index 3ce710bf40e5..79d82e9eaebc 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -25,11 +25,11 @@ union ApprovalStatus { @doc("ApprovalStatus Type Pending") Pending: "Pending", - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("ApprovalStatus Type Deleted") Deleted: "Deleted", - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("ApprovalStatus Type Expired") Expired: "Expired", @@ -55,11 +55,11 @@ model RequestMetadata { @doc("Approval status.") approvalStatus?: ApprovalStatus; - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Route name for the approval callback") approvalCallbackRoute?: string; - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Payload to be sent upon any action on approval request") approvalCallbackPayload?: string; } @@ -92,18 +92,18 @@ model ApprovalProperties { @doc("Request metadata for the approval request.") requestMetadata?: RequestMetadata; - @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @OpenAPI.extension("x-ms-identifiers", #["approverEntraId"]) @doc("List of approvers for the approval request") approvers?: Approver[]; - @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @OpenAPI.extension("x-ms-identifiers", #["approverEntraId"]) @doc("List of mandatory approvers for the approval request") mandatoryApprovers?: Approver[]; - @added(Microsoft.Mission.Versions.v2024_10_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Minimum number of approvers required for the approval request") minimumApproversRequired?: int64; diff --git a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp index cf571671b1b9..0c8aece75eee 100644 --- a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp +++ b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp @@ -77,6 +77,7 @@ model CatalogProperties { @doc("Catalog Patch properties") model CatalogPatchProperties is CatalogProperties; + @doc("Catalog Patch Resource") model CatalogPatchResource { @doc("Catalog Patch properties") diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 147c00a9cc3a..b60af342e9ee 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -111,7 +111,7 @@ model GovernedServiceItem { initiatives?: string[]; } -@added(Microsoft.Mission.Versions.v2024_11_01_preview) +@added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Approval Policy.") union ApprovalPolicy { string, @@ -130,7 +130,7 @@ model MandatoryApprover { approverEntraId: string; } -@added(Microsoft.Mission.Versions.v2024_11_01_preview) +@added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("ApprovalSettings Properties") model ApprovalSettings { @doc("Approval required for endpoint creation (Required or NotRequired).") @@ -231,16 +231,16 @@ model CommunityProperties { @doc("List of services governed by a community.") governedServiceList?: GovernedServiceItem[]; - @added(Microsoft.Mission.Versions.v2024_10_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_10_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Community role assignments") communityRoleAssignments?: RoleAssignmentItem[]; - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Approval requirements for various actions on the community's resources.") approvalSettings?: ApprovalSettings; - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Maintenance Mode configuration.") maintenanceModeConfiguration?: MaintenanceModeConfiguration; } diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index fbae63489502..5fec62bf5c95 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -126,6 +126,12 @@ model CommunityEndpointProperties { approvalRequired?: boolean; } +// @doc("Community Endpoint Create properties") +// model CommunityEndpointCreateProperties { +// ruleCollection: CommunityEndpointDestinationRule[]; +// ...CommunityEndpointProperties; +// } + @doc("Community Endpoint Patch properties") model CommunityEndpointPatchProperties is CommunityEndpointProperties; diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp index 64dc5d3e631d..12521486a7ab 100644 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -86,6 +86,7 @@ model InternalConnectionProperties { @doc("Internal Connection Patch properties") model InternalConnectionPatchProperties is InternalConnectionProperties; + @doc("Internal Connection Patch Resource") model InternalConnectionPatchResource { @doc("Internal Connection properties") diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp index 1f342693ab92..bc33fc00b038 100644 --- a/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp +++ b/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp @@ -14,7 +14,7 @@ namespace Microsoft.Mission; @doc("Request body for calling post-action") model ApprovalCallbackRequest { - @removed(Microsoft.Mission.Versions.v2024_11_01_preview) + @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Resource Id of the item being approved or rejected") resourceId: string; @@ -24,7 +24,7 @@ model ApprovalCallbackRequest { @doc("Approval status indicating 'Approved' or 'Rejected'") approvalStatus: "Approved" | "Rejected" | string; - @added(Microsoft.Mission.Versions.v2024_11_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Payload requested by client upon approval action") approvalCallbackPayload?: string; } diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 73c06639b012..7d496faf3d1c 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -175,13 +175,13 @@ model VirtualEnclaveProperties { @doc("Deploy Bastion service (True or False).") bastionEnabled?: boolean; - @added(Microsoft.Mission.Versions.v2024_10_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_10_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Enclave role assignments") enclaveRoleAssignments?: RoleAssignmentItem[]; - @added(Microsoft.Mission.Versions.v2024_10_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_10_01_preview) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @madeOptional(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Workload role assignments") workloadRoleAssignments?: RoleAssignmentItem[]; } diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index 272d1c6fc624..194a08a8a8e8 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -16,17 +16,17 @@ enum Versions { @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_06_01_preview: "2024-06-01-preview", - @doc("The 2024-10-01-preview version.") - @armCommonTypesVersion("v6") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) - v2024_10_01_preview: "2024-10-01-preview", + // @doc("The 2024-10-01-preview version.") + // @armCommonTypesVersion("v6") + // @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + // @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + // v2024_12_01_preview: "2024-10-01-preview", - @doc("The 2024-11-01-preview version.") - @armCommonTypesVersion("v6") - @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) - v2024_11_01_preview: "2024-11-01-preview", + // @doc("The 2024-11-01-preview version.") + // @armCommonTypesVersion("v6") + // @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + // @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + // v2024_11_01_preview: "2024-11-01-preview", @doc("The 2024-12-01-preview version.") @armCommonTypesVersion("v6") diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json index 022090be477d..d5ed1ff783b2 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json @@ -4555,6 +4555,27 @@ "value" ] }, + "CommunityEndpointCreateProperties": { + "type": "object", + "description": "Community Endpoint Create properties", + "properties": { + "ruleCollection": { + "type": "array", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "ruleCollection" + ], + "allOf": [ + { + "$ref": "#/definitions/CommunityEndpointProperties" + } + ] + }, "CommunityEndpointDestinationRule": { "type": "object", "description": "Base type for destination rules.", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json index 014296e84d53..dc408e559769 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json @@ -5123,6 +5123,27 @@ "value" ] }, + "CommunityEndpointCreateProperties": { + "type": "object", + "description": "Community Endpoint Create properties", + "properties": { + "ruleCollection": { + "type": "array", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "ruleCollection" + ], + "allOf": [ + { + "$ref": "#/definitions/CommunityEndpointProperties" + } + ] + }, "CommunityEndpointDestinationRule": { "type": "object", "description": "Base type for destination rules.", diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index 7ebb20a5a31d..f8fb11367712 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -39,7 +39,7 @@ These settings apply only when `--tag=package-2024-12-01-preview` is specified o input-file: - Microsoft.Mission/preview/2024-12-01-preview/openapi.json ``` - + ### Tag: package-2024-06-01-preview From 6b9cd5852d97fb9d745227430ac6c95cb7408bda Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Fri, 7 Mar 2025 11:36:31 -0500 Subject: [PATCH 59/89] Remove 2024_10 and 2024_11 examples --- .../Approvals_CreateOrUpdate.json | 117 ---- .../2024-10-01-preview/Approvals_Delete.json | 25 - .../2024-10-01-preview/Approvals_Get.json | 52 -- .../Approvals_InitiatorCallback.json | 28 - .../Approvals_ListByParent.json | 57 -- .../2024-10-01-preview/Approvals_Update.json | 81 --- .../CommunityEndpoints_CreateOrUpdate.json | 101 --- .../CommunityEndpoints_Delete.json | 25 - .../CommunityEndpoints_Get.json | 46 -- ...nityEndpoints_ListByCommunityResource.json | 51 -- ...CommunityEndpoints_ListBySubscription.json | 50 -- .../CommunityEndpoints_Update.json | 70 -- .../Community_CreateOrUpdate.json | 564 ---------------- .../2024-10-01-preview/Community_Delete.json | 24 - .../2024-10-01-preview/Community_Get.json | 218 ------- .../Community_ListByResourceGroup.json | 222 ------- .../Community_ListBySubscription.json | 221 ------- ...ity_PostCheckAddressSpaceAvailability.json | 33 - .../2024-10-01-preview/Community_Update.json | 362 ----------- ...veConnection_ApprovalDeletionCallback.json | 27 - .../EnclaveConnection_CreateOrUpdate.json | 79 --- .../EnclaveConnection_Delete.json | 24 - .../EnclaveConnection_Get.json | 38 -- ...EnclaveConnection_ListByResourceGroup.json | 43 -- .../EnclaveConnection_ListBySubscription.json | 42 -- ...nclaveConnection_PostApprovalCallback.json | 29 - .../EnclaveConnection_Update.json | 55 -- .../EnclaveEndpoints_CreateOrUpdate.json | 98 --- .../EnclaveEndpoints_Delete.json | 25 - .../EnclaveEndpoints_Get.json | 45 -- ...nclaveEndpoints_ListByEnclaveResource.json | 49 -- .../EnclaveEndpoints_ListBySubscription.json | 48 -- .../EnclaveEndpoints_Update.json | 68 -- .../Endpoint_CreateOrUpdate.json | 92 --- .../2024-10-01-preview/Endpoint_Delete.json | 25 - .../2024-10-01-preview/Endpoint_Get.json | 43 -- .../Endpoint_ListByEnclaveResource.json | 47 -- .../Endpoint_ListBySubscription.json | 46 -- .../2024-10-01-preview/Endpoint_Update.json | 64 -- .../ExternalConnections_CreateOrUpdate.json | 100 --- .../ExternalConnections_Delete.json | 24 - .../ExternalConnections_Get.json | 46 -- ...ternalConnections_ListByResourceGroup.json | 50 -- ...xternalConnections_ListBySubscription.json | 49 -- .../ExternalConnections_Update.json | 71 -- .../InternalConnections_CreateOrUpdate.json | 103 --- .../InternalConnections_Delete.json | 24 - .../InternalConnections_Get.json | 46 -- ...ternalConnections_ListByResourceGroup.json | 50 -- ...nternalConnections_ListBySubscription.json | 49 -- .../InternalConnections_Update.json | 71 -- .../2024-10-01-preview/Operations_List.json | 28 - .../TransitHub_CreateOrUpdate.json | 98 --- .../2024-10-01-preview/TransitHub_Delete.json | 25 - .../2024-10-01-preview/TransitHub_Get.json | 45 -- .../TransitHub_ListByCommunityResource.json | 49 -- .../TransitHub_ListBySubscription.json | 48 -- .../2024-10-01-preview/TransitHub_Update.json | 68 -- .../VirtualEnclave_CreateOrUpdate.json | 329 ---------- .../VirtualEnclave_Delete.json | 24 - .../VirtualEnclave_Get.json | 129 ---- .../VirtualEnclave_ListByResourceGroup.json | 133 ---- .../VirtualEnclave_ListBySubscription.json | 132 ---- .../VirtualEnclave_Update.json | 226 ------- .../Workload_CreateOrUpdate.json | 71 -- .../2024-10-01-preview/Workload_Delete.json | 25 - .../2024-10-01-preview/Workload_Get.json | 38 -- .../Workload_ListByEnclaveResource.json | 42 -- .../Workload_ListBySubscription.json | 41 -- .../2024-10-01-preview/Workload_Update.json | 54 -- .../Approvals_CreateOrUpdate.json | 123 ---- .../2024-11-01-preview/Approvals_Delete.json | 25 - .../2024-11-01-preview/Approvals_Get.json | 54 -- .../Approvals_InitiatorCallback.json | 28 - .../Approvals_ListByParent.json | 59 -- .../2024-11-01-preview/Approvals_Update.json | 85 --- ...ityEndpoints_ApprovalDeletionCallback.json | 28 - .../CommunityEndpoints_CreateOrUpdate.json | 101 --- .../CommunityEndpoints_Delete.json | 25 - .../CommunityEndpoints_Get.json | 46 -- ...nityEndpoints_ListByCommunityResource.json | 51 -- ...CommunityEndpoints_ListBySubscription.json | 50 -- ...mmunityEndpoints_PostApprovalCallback.json | 29 - .../CommunityEndpoints_Update.json | 70 -- .../Community_CreateOrUpdate.json | 607 ------------------ .../2024-11-01-preview/Community_Delete.json | 24 - .../2024-11-01-preview/Community_Get.json | 228 ------- .../Community_ListByResourceGroup.json | 232 ------- .../Community_ListBySubscription.json | 231 ------- ...ity_PostCheckAddressSpaceAvailability.json | 33 - .../2024-11-01-preview/Community_Update.json | 362 ----------- ...veConnection_ApprovalDeletionCallback.json | 27 - .../EnclaveConnection_CreateOrUpdate.json | 79 --- .../EnclaveConnection_Delete.json | 24 - .../EnclaveConnection_Get.json | 38 -- ...EnclaveConnection_ListByResourceGroup.json | 43 -- .../EnclaveConnection_ListBySubscription.json | 42 -- ...nclaveConnection_PostApprovalCallback.json | 29 - .../EnclaveConnection_Update.json | 55 -- ...aveEndpoints_ApprovalDeletionCallback.json | 28 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 --- .../EnclaveEndpoints_Delete.json | 25 - .../EnclaveEndpoints_Get.json | 45 -- ...nclaveEndpoints_ListByEnclaveResource.json | 49 -- .../EnclaveEndpoints_ListBySubscription.json | 48 -- ...EnclaveEndpoints_PostApprovalCallback.json | 29 - .../EnclaveEndpoints_Update.json | 68 -- .../Endpoint_CreateOrUpdate.json | 92 --- .../2024-11-01-preview/Endpoint_Delete.json | 25 - .../2024-11-01-preview/Endpoint_Get.json | 43 -- .../Endpoint_ListByEnclaveResource.json | 47 -- .../Endpoint_ListBySubscription.json | 46 -- .../2024-11-01-preview/Endpoint_Update.json | 64 -- .../ExternalConnections_CreateOrUpdate.json | 100 --- .../ExternalConnections_Delete.json | 24 - .../ExternalConnections_Get.json | 46 -- ...ternalConnections_ListByResourceGroup.json | 50 -- ...xternalConnections_ListBySubscription.json | 49 -- .../ExternalConnections_Update.json | 71 -- .../InternalConnections_CreateOrUpdate.json | 103 --- .../InternalConnections_Delete.json | 24 - .../InternalConnections_Get.json | 46 -- ...ternalConnections_ListByResourceGroup.json | 50 -- ...nternalConnections_ListBySubscription.json | 49 -- .../InternalConnections_Update.json | 71 -- .../2024-11-01-preview/Operations_List.json | 28 - .../TransitHub_CreateOrUpdate.json | 98 --- .../2024-11-01-preview/TransitHub_Delete.json | 25 - .../2024-11-01-preview/TransitHub_Get.json | 45 -- .../TransitHub_ListByCommunityResource.json | 49 -- .../TransitHub_ListBySubscription.json | 48 -- .../2024-11-01-preview/TransitHub_Update.json | 68 -- .../VirtualEnclave_CreateOrUpdate.json | 329 ---------- .../VirtualEnclave_Delete.json | 24 - .../VirtualEnclave_Get.json | 129 ---- .../VirtualEnclave_ListByResourceGroup.json | 133 ---- .../VirtualEnclave_ListBySubscription.json | 132 ---- .../VirtualEnclave_PostApprovalCallback.json | 29 - ...lEnclave_PostApprovalDeletionCallback.json | 27 - .../VirtualEnclave_Update.json | 226 ------- .../Workload_CreateOrUpdate.json | 71 -- .../2024-11-01-preview/Workload_Delete.json | 25 - .../2024-11-01-preview/Workload_Get.json | 38 -- .../Workload_ListByEnclaveResource.json | 42 -- .../Workload_ListBySubscription.json | 41 -- .../2024-11-01-preview/Workload_Update.json | 54 -- 146 files changed, 11501 deletions(-) delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_InitiatorCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_ListByParent.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_PostApprovalCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ApprovalDeletionCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_PostApprovalCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_PostApprovalCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Operations_List.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json deleted file mode 100644 index af21bae61e74..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_CreateOrUpdate.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "title": "Approval_CreateOrUpdate", - "operationId": "Approval_CreateOrUpdate", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resource": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json deleted file mode 100644 index 598be1195ae0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Approval_Delete", - "operationId": "Approval_Delete", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json deleted file mode 100644 index 70686559cae9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Get.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "title": "Approval_Get", - "operationId": "Approval_Get", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json deleted file mode 100644 index 3f3288d9fc32..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_InitiatorCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "Approval_InitiatorCallback", - "title": "Approval_InitiatorCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "body": { - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval initiator callback handled successfully" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json deleted file mode 100644 index 27f896c6ff11..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_ListByParent.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "title": "Approval_ListByParent", - "operationId": "Approval_ListByParent", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json deleted file mode 100644 index 4b4bae7d6c31..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Approvals_Update.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "title": "Approval_Update", - "operationId": "Approval_Update", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "properties": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index 74ccac9ed0e0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json deleted file mode 100644 index 36bd6ec27717..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json deleted file mode 100644 index aadf367454c5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index d706fc1c592f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 1aa6f1c38841..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json deleted file mode 100644 index 0dc40ab9b4b5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/CommunityEndpoints_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json deleted file mode 100644 index 27a6391e135c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_CreateOrUpdate.json +++ /dev/null @@ -1,564 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json deleted file mode 100644 index 89b24ca578cd..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json deleted file mode 100644 index a77dbee34a1d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Get.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json deleted file mode 100644 index 82d8fa80d062..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListByResourceGroup.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json deleted file mode 100644 index ed69e3298ee0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_ListBySubscription.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 9664ce231521..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "operationId": "Community_CheckAddressSpaceAvailability", - "title": "Community_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - } - }, - "api-version": "2024-10-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json deleted file mode 100644 index d7bf90cfc27d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Community_Update.json +++ /dev/null @@ -1,362 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json deleted file mode 100644 index 620695d96801..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "title": "EnclaveConnection_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 408742addf05..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json deleted file mode 100644 index 49874ddaff4f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json deleted file mode 100644 index d12d696e74bf..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 20f6b6f90267..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 398baf2b1245..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json deleted file mode 100644 index f91ff5393234..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalCallback", - "title": "EnclaveConnection_ApprovalCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json deleted file mode 100644 index 977c2cd49395..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveConnection_Update.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 48d032ce058f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json deleted file mode 100644 index 3cf51fd7ffb6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json deleted file mode 100644 index a4f6bbfcac32..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 524bc8b6253b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 200c18b170d6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json deleted file mode 100644 index e4f3cdc15406..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 266c8b7c0f9c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json deleted file mode 100644 index 258a549bbd13..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json deleted file mode 100644 index c41834e46777..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 2820b913d6c8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index 98ca3c717a55..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json deleted file mode 100644 index 4d2feaad8fad..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 821882f3c021..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index d31b96148716..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json deleted file mode 100644 index 857d3133d7ed..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index c6566524f763..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 58cbc587f957..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json deleted file mode 100644 index c2cbbaa4c521..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 8f3e2753e2ca..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json deleted file mode 100644 index 1da99f630d14..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json deleted file mode 100644 index a83d87ba75f6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index cade59094581..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index 38858b6b1a89..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json deleted file mode 100644 index 61a49867b2e5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json deleted file mode 100644 index a1a732462fe7..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json deleted file mode 100644 index cc3fb34fba62..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json deleted file mode 100644 index 55a69d09f8de..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json deleted file mode 100644 index 7761238dd938..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json deleted file mode 100644 index e5563a86383a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithub", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json deleted file mode 100644 index 0b9e66cde8dd..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json deleted file mode 100644 index fee3c5cc3f0f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/TransitHub_Update.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 966b230e7714..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,329 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json deleted file mode 100644 index 3dc3faec3fe4..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json deleted file mode 100644 index 4543c62c4ad6..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Get.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 1577e5f356ad..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 5658dfa7f86d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json deleted file mode 100644 index 11cf77c749d5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/VirtualEnclave_Update.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "location": "westcentralus", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json deleted file mode 100644 index 6196986fcfa8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json deleted file mode 100644 index 09ad56c68c1e..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json deleted file mode 100644 index c8d33a0ae87a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json deleted file mode 100644 index 150f46b1731c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json deleted file mode 100644 index 1a4b02ce550b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json deleted file mode 100644 index 2a35c3f47bf2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-10-01-preview/Workload_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "location": "westcentralus", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "resourceGroupCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_CreateOrUpdate.json deleted file mode 100644 index 3b75cfa13d20..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_CreateOrUpdate.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "title": "Approval_CreateOrUpdate", - "operationId": "Approval_CreateOrUpdate", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resource": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Delete.json deleted file mode 100644 index 0548b00dd0be..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Approval_Delete", - "operationId": "Approval_Delete", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Get.json deleted file mode 100644 index 7f6802046826..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Get.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Approval_Get", - "operationId": "Approval_Get", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_InitiatorCallback.json deleted file mode 100644 index 2363d34b4659..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_InitiatorCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "Approval_InitiatorCallback", - "title": "Approval_InitiatorCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "body": { - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval initiator callback handled successfully" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_ListByParent.json deleted file mode 100644 index 630321ce8242..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_ListByParent.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "title": "Approval_ListByParent", - "operationId": "Approval_ListByParent", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Update.json deleted file mode 100644 index 12bc1b9c620b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Approvals_Update.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "title": "Approval_Update", - "operationId": "Approval_Update", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "properties": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json deleted file mode 100644 index 71405756c1c5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "CommunityEndpoints_ApprovalDeletionCallback", - "title": "CommunityEndpoints_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index 294721f35452..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json deleted file mode 100644 index eed4cb22a0d8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Get.json deleted file mode 100644 index a481c2474133..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index 6ab0e2540638..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 25db6ed243f9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_PostApprovalCallback.json deleted file mode 100644 index f561d72d9e79..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "CommunityEndpoints_ApprovalCallback", - "title": "CommunityEndpoints_ApprovalCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "body": { - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json deleted file mode 100644 index b736391138f7..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/CommunityEndpoints_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json deleted file mode 100644 index 033dd5398a1c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_CreateOrUpdate.json +++ /dev/null @@ -1,607 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "approvalSettings": { - "endpointCreation": "NotRequired", - "endpointUpdate": "Required", - "endpointDeletion": "NotRequired", - "connectionCreation": "Required", - "connectionUpdate": "Required", - "connectionUpdateMode": "Manual", - "connectionDeletion": "NotRequired", - "enclaveCreation": "NotRequired", - "enclaveDeletion": "NotRequired", - "maintenanceMode": "NotRequired", - "serviceCatalogDeployment": "NotRequired" - }, - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json deleted file mode 100644 index 33ce401428cc..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json deleted file mode 100644 index 426b9646910a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Get.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json deleted file mode 100644 index 52af74bfc100..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListByResourceGroup.json +++ /dev/null @@ -1,232 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json deleted file mode 100644 index d1a725eef584..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_ListBySubscription.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 3f50a5b624bb..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "operationId": "Community_CheckAddressSpaceAvailability", - "title": "Community_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - } - }, - "api-version": "2024-11-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json deleted file mode 100644 index dd2b4caee9d8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Community_Update.json +++ /dev/null @@ -1,362 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ApprovalDeletionCallback.json deleted file mode 100644 index 63fd67d015c5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "title": "EnclaveConnection_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 8954f2c43ad8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json deleted file mode 100644 index 616f887d6eed..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Get.json deleted file mode 100644 index e038053f305c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index d2201b270011..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 99166e170255..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_PostApprovalCallback.json deleted file mode 100644 index fa6ff6986a59..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalCallback", - "title": "EnclaveConnection_ApprovalCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create", - "approvalStatus": "Approved", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json deleted file mode 100644 index 4df1b927353d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveConnection_Update.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json deleted file mode 100644 index a728647dfc90..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", - "title": "EnclaveEndpoints_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index fc64900ddcc3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json deleted file mode 100644 index d8aa1de66957..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Get.json deleted file mode 100644 index 459ad1c21041..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 293e453ce8e0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index c5a3d5578144..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_PostApprovalCallback.json deleted file mode 100644 index 6fe02dbad243..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveEndpoints_ApprovalCallback", - "title": "EnclaveEndpoints_ApprovalCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "body": { - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json deleted file mode 100644 index fce6a0cb700d..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index ea234f0b1819..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json deleted file mode 100644 index 64fa36e6e46c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Get.json deleted file mode 100644 index 87031a6db49b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 4e354c370b4c..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index c9c267a5d84a..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json deleted file mode 100644 index 24c10fd78507..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 8426317b007b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index 8c2250e052fe..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Get.json deleted file mode 100644 index 00740b125212..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 95978b0eebd8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index d1772cc7b7ad..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json deleted file mode 100644 index 0d8279f5bc06..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 06f1547b53b8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json deleted file mode 100644 index 2f9fc7f69801..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Get.json deleted file mode 100644 index 76a4af7e3e41..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index a992032e70ae..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index 76f8f77648e2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json deleted file mode 100644 index 4eda2743eccf..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Operations_List.json deleted file mode 100644 index 16fd01396361..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_CreateOrUpdate.json deleted file mode 100644 index bc2c20797e62..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json deleted file mode 100644 index d98742217624..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Get.json deleted file mode 100644 index e185a683be09..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListByCommunityResource.json deleted file mode 100644 index 9ac043958e92..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithub", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListBySubscription.json deleted file mode 100644 index 35a986a9f69b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json deleted file mode 100644 index 847674a253ec..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/TransitHub_Update.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 7f420de13a52..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,329 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json deleted file mode 100644 index eebf06d89258..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Get.json deleted file mode 100644 index 6d78c8706a8e..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Get.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 6c5ffa48b710..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 6e485fdc569b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalCallback.json deleted file mode 100644 index d9ae75ee04a9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "VirtualEnclave_ApprovalCallback", - "title": "VirtualEnclave_ApprovalCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "body": { - "resourceRequestAction": "Create", - "approvalStatus": "Approved", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json deleted file mode 100644 index ed1ad69344cd..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "VirtualEnclave_ApprovalDeletionCallback", - "title": "VirtualEnclave_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json deleted file mode 100644 index b540c45c4f85..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/VirtualEnclave_Update.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "location": "westcentralus", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_CreateOrUpdate.json deleted file mode 100644 index 362495a003fc..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json deleted file mode 100644 index f7842e7e4228..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Get.json deleted file mode 100644 index d81d82c776d2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListByEnclaveResource.json deleted file mode 100644 index 472362b6a194..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListBySubscription.json deleted file mode 100644 index 6a6d80560dfd..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json deleted file mode 100644 index 6f3ea412c2f3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-11-01-preview/Workload_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "location": "westcentralus", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "resourceGroupCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} From a120ba864420969dabe7715ee1adb9f7a9ff6f83 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Fri, 7 Mar 2025 11:43:26 -0500 Subject: [PATCH 60/89] Remove 2024_10 and 2024_11 from readme.md --- .../mission/resource-manager/readme.md | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index f8fb11367712..fb1dc5c35941 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -39,24 +39,6 @@ These settings apply only when `--tag=package-2024-12-01-preview` is specified o input-file: - Microsoft.Mission/preview/2024-12-01-preview/openapi.json ``` - ### Tag: package-2024-06-01-preview From f3e2fa2f700d9a87b58703ae946d2bb9f42cfa32 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Fri, 7 Mar 2025 11:51:44 -0500 Subject: [PATCH 61/89] Remove 2024_10 and 2024_11 from resource-manager --- .../mission/Mission.Management/version.tsp | 12 - .../examples/Approvals_CreateOrUpdate.json | 117 - .../examples/Approvals_Delete.json | 25 - .../examples/Approvals_Get.json | 52 - .../examples/Approvals_InitiatorCallback.json | 28 - .../examples/Approvals_ListByParent.json | 57 - .../examples/Approvals_Update.json | 81 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../examples/CommunityEndpoints_Delete.json | 25 - .../examples/CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - .../examples/CommunityEndpoints_Update.json | 70 - .../examples/Community_CreateOrUpdate.json | 564 -- .../examples/Community_Delete.json | 24 - .../examples/Community_Get.json | 218 - .../Community_ListByResourceGroup.json | 222 - .../Community_ListBySubscription.json | 221 - ...ity_PostCheckAddressSpaceAvailability.json | 33 - .../examples/Community_Update.json | 362 - ...veConnection_ApprovalDeletionCallback.json | 27 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../examples/EnclaveConnection_Delete.json | 24 - .../examples/EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - ...nclaveConnection_PostApprovalCallback.json | 29 - .../examples/EnclaveConnection_Update.json | 55 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../examples/EnclaveEndpoints_Delete.json | 25 - .../examples/EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - .../examples/EnclaveEndpoints_Update.json | 68 - .../examples/Endpoint_CreateOrUpdate.json | 92 - .../examples/Endpoint_Delete.json | 25 - .../examples/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../examples/Endpoint_ListBySubscription.json | 46 - .../examples/Endpoint_Update.json | 64 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../examples/ExternalConnections_Delete.json | 24 - .../examples/ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../examples/ExternalConnections_Update.json | 71 - .../InternalConnections_CreateOrUpdate.json | 103 - .../examples/InternalConnections_Delete.json | 24 - .../examples/InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../examples/InternalConnections_Update.json | 71 - .../examples/Operations_List.json | 28 - .../examples/TransitHub_CreateOrUpdate.json | 98 - .../examples/TransitHub_Delete.json | 25 - .../examples/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../examples/TransitHub_Update.json | 68 - .../VirtualEnclave_CreateOrUpdate.json | 329 - .../examples/VirtualEnclave_Delete.json | 24 - .../examples/VirtualEnclave_Get.json | 129 - .../VirtualEnclave_ListByResourceGroup.json | 133 - .../VirtualEnclave_ListBySubscription.json | 132 - .../examples/VirtualEnclave_Update.json | 226 - .../examples/Workload_CreateOrUpdate.json | 71 - .../examples/Workload_Delete.json | 25 - .../examples/Workload_Get.json | 38 - .../Workload_ListByEnclaveResource.json | 42 - .../examples/Workload_ListBySubscription.json | 41 - .../examples/Workload_Update.json | 54 - .../preview/2024-10-01-preview/openapi.json | 7006 --------------- .../examples/Approvals_CreateOrUpdate.json | 123 - .../examples/Approvals_Delete.json | 25 - .../examples/Approvals_Get.json | 54 - .../examples/Approvals_InitiatorCallback.json | 28 - .../examples/Approvals_ListByParent.json | 59 - .../examples/Approvals_Update.json | 85 - ...ityEndpoints_ApprovalDeletionCallback.json | 28 - .../CommunityEndpoints_CreateOrUpdate.json | 101 - .../examples/CommunityEndpoints_Delete.json | 25 - .../examples/CommunityEndpoints_Get.json | 46 - ...nityEndpoints_ListByCommunityResource.json | 51 - ...CommunityEndpoints_ListBySubscription.json | 50 - ...mmunityEndpoints_PostApprovalCallback.json | 29 - .../examples/CommunityEndpoints_Update.json | 70 - .../examples/Community_CreateOrUpdate.json | 607 -- .../examples/Community_Delete.json | 24 - .../examples/Community_Get.json | 228 - .../Community_ListByResourceGroup.json | 232 - .../Community_ListBySubscription.json | 231 - ...ity_PostCheckAddressSpaceAvailability.json | 33 - .../examples/Community_Update.json | 362 - ...veConnection_ApprovalDeletionCallback.json | 27 - .../EnclaveConnection_CreateOrUpdate.json | 79 - .../examples/EnclaveConnection_Delete.json | 24 - .../examples/EnclaveConnection_Get.json | 38 - ...EnclaveConnection_ListByResourceGroup.json | 43 - .../EnclaveConnection_ListBySubscription.json | 42 - ...nclaveConnection_PostApprovalCallback.json | 29 - .../examples/EnclaveConnection_Update.json | 55 - ...aveEndpoints_ApprovalDeletionCallback.json | 28 - .../EnclaveEndpoints_CreateOrUpdate.json | 98 - .../examples/EnclaveEndpoints_Delete.json | 25 - .../examples/EnclaveEndpoints_Get.json | 45 - ...nclaveEndpoints_ListByEnclaveResource.json | 49 - .../EnclaveEndpoints_ListBySubscription.json | 48 - ...EnclaveEndpoints_PostApprovalCallback.json | 29 - .../examples/EnclaveEndpoints_Update.json | 68 - .../examples/Endpoint_CreateOrUpdate.json | 92 - .../examples/Endpoint_Delete.json | 25 - .../examples/Endpoint_Get.json | 43 - .../Endpoint_ListByEnclaveResource.json | 47 - .../examples/Endpoint_ListBySubscription.json | 46 - .../examples/Endpoint_Update.json | 64 - .../ExternalConnections_CreateOrUpdate.json | 100 - .../examples/ExternalConnections_Delete.json | 24 - .../examples/ExternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...xternalConnections_ListBySubscription.json | 49 - .../examples/ExternalConnections_Update.json | 71 - .../InternalConnections_CreateOrUpdate.json | 103 - .../examples/InternalConnections_Delete.json | 24 - .../examples/InternalConnections_Get.json | 46 - ...ternalConnections_ListByResourceGroup.json | 50 - ...nternalConnections_ListBySubscription.json | 49 - .../examples/InternalConnections_Update.json | 71 - .../examples/Operations_List.json | 28 - .../examples/TransitHub_CreateOrUpdate.json | 98 - .../examples/TransitHub_Delete.json | 25 - .../examples/TransitHub_Get.json | 45 - .../TransitHub_ListByCommunityResource.json | 49 - .../TransitHub_ListBySubscription.json | 48 - .../examples/TransitHub_Update.json | 68 - .../VirtualEnclave_CreateOrUpdate.json | 329 - .../examples/VirtualEnclave_Delete.json | 24 - .../examples/VirtualEnclave_Get.json | 129 - .../VirtualEnclave_ListByResourceGroup.json | 133 - .../VirtualEnclave_ListBySubscription.json | 132 - .../VirtualEnclave_PostApprovalCallback.json | 29 - ...lEnclave_PostApprovalDeletionCallback.json | 27 - .../examples/VirtualEnclave_Update.json | 226 - .../examples/Workload_CreateOrUpdate.json | 71 - .../examples/Workload_Delete.json | 25 - .../examples/Workload_Get.json | 38 - .../Workload_ListByEnclaveResource.json | 42 - .../examples/Workload_ListBySubscription.json | 41 - .../examples/Workload_Update.json | 54 - .../preview/2024-11-01-preview/openapi.json | 7598 ----------------- 149 files changed, 26117 deletions(-) delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_InitiatorCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_ListByParent.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_PostApprovalCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Operations_List.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListByCommunityResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index 194a08a8a8e8..daa1f0a689b8 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -16,18 +16,6 @@ enum Versions { @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_06_01_preview: "2024-06-01-preview", - // @doc("The 2024-10-01-preview version.") - // @armCommonTypesVersion("v6") - // @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - // @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) - // v2024_12_01_preview: "2024-10-01-preview", - - // @doc("The 2024-11-01-preview version.") - // @armCommonTypesVersion("v6") - // @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) - // @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) - // v2024_11_01_preview: "2024-11-01-preview", - @doc("The 2024-12-01-preview version.") @armCommonTypesVersion("v6") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json deleted file mode 100644 index af21bae61e74..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_CreateOrUpdate.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "title": "Approval_CreateOrUpdate", - "operationId": "Approval_CreateOrUpdate", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resource": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json deleted file mode 100644 index 598be1195ae0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Approval_Delete", - "operationId": "Approval_Delete", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json deleted file mode 100644 index 70686559cae9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Get.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "title": "Approval_Get", - "operationId": "Approval_Get", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json deleted file mode 100644 index 3f3288d9fc32..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_InitiatorCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "Approval_InitiatorCallback", - "title": "Approval_InitiatorCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "body": { - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval initiator callback handled successfully" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json deleted file mode 100644 index 27f896c6ff11..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_ListByParent.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "title": "Approval_ListByParent", - "operationId": "Approval_ListByParent", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json deleted file mode 100644 index 4b4bae7d6c31..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Approvals_Update.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "title": "Approval_Update", - "operationId": "Approval_Update", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "properties": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index 74ccac9ed0e0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json deleted file mode 100644 index 36bd6ec27717..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json deleted file mode 100644 index aadf367454c5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index d706fc1c592f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 1aa6f1c38841..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json deleted file mode 100644 index 0dc40ab9b4b5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/CommunityEndpoints_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json deleted file mode 100644 index 27a6391e135c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_CreateOrUpdate.json +++ /dev/null @@ -1,564 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json deleted file mode 100644 index 89b24ca578cd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json deleted file mode 100644 index a77dbee34a1d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Get.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json deleted file mode 100644 index 82d8fa80d062..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListByResourceGroup.json +++ /dev/null @@ -1,222 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json deleted file mode 100644 index ed69e3298ee0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_ListBySubscription.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 9664ce231521..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "operationId": "Community_CheckAddressSpaceAvailability", - "title": "Community_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - } - }, - "api-version": "2024-10-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json deleted file mode 100644 index d7bf90cfc27d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Community_Update.json +++ /dev/null @@ -1,362 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json deleted file mode 100644 index 620695d96801..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "title": "EnclaveConnection_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 408742addf05..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json deleted file mode 100644 index 49874ddaff4f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json deleted file mode 100644 index d12d696e74bf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index 20f6b6f90267..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 398baf2b1245..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json deleted file mode 100644 index f91ff5393234..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalCallback", - "title": "EnclaveConnection_ApprovalCallback", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json deleted file mode 100644 index 977c2cd49395..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveConnection_Update.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index 48d032ce058f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json deleted file mode 100644 index 3cf51fd7ffb6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json deleted file mode 100644 index a4f6bbfcac32..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 524bc8b6253b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index 200c18b170d6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json deleted file mode 100644 index e4f3cdc15406..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 266c8b7c0f9c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 258a549bbd13..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index c41834e46777..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 2820b913d6c8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index 98ca3c717a55..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index 4d2feaad8fad..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 821882f3c021..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index d31b96148716..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index 857d3133d7ed..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index c6566524f763..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 58cbc587f957..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index c2cbbaa4c521..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 8f3e2753e2ca..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index 1da99f630d14..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index a83d87ba75f6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index cade59094581..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index 38858b6b1a89..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index 61a49867b2e5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json deleted file mode 100644 index a1a732462fe7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-10-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json deleted file mode 100644 index cc3fb34fba62..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json deleted file mode 100644 index 55a69d09f8de..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json deleted file mode 100644 index 7761238dd938..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json deleted file mode 100644 index e5563a86383a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithub", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json deleted file mode 100644 index 0b9e66cde8dd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json deleted file mode 100644 index fee3c5cc3f0f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/TransitHub_Update.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 966b230e7714..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,329 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json deleted file mode 100644 index 3dc3faec3fe4..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json deleted file mode 100644 index 4543c62c4ad6..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Get.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 1577e5f356ad..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 5658dfa7f86d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json deleted file mode 100644 index 11cf77c749d5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/VirtualEnclave_Update.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "location": "westcentralus", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json deleted file mode 100644 index 6196986fcfa8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json deleted file mode 100644 index 09ad56c68c1e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json deleted file mode 100644 index c8d33a0ae87a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json deleted file mode 100644 index 150f46b1731c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json deleted file mode 100644 index 1a4b02ce550b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json deleted file mode 100644 index 2a35c3f47bf2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/examples/Workload_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-10-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "location": "westcentralus", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "resourceGroupCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json deleted file mode 100644 index d5ed1ff783b2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-10-01-preview/openapi.json +++ /dev/null @@ -1,7006 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2024-10-01-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Workload" - }, - { - "name": "Endpoint" - }, - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "InternalConnections" - }, - { - "name": "TransitHub" - }, - { - "name": "EnclaveConnection" - }, - { - "name": "EnclaveEndpoints" - }, - { - "name": "CommunityEndpoints" - }, - { - "name": "ExternalConnections" - }, - { - "name": "Approval" - } - ], - "paths": { - "/{resourceUri}/providers/Microsoft.Mission/approvals": { - "get": { - "operationId": "Approval_ListByParent", - "tags": [ - "Approval" - ], - "description": "List ApprovalResource resources by parent", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_ListByParent": { - "$ref": "./examples/Approvals_ListByParent.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { - "get": { - "operationId": "Approval_Get", - "tags": [ - "Approval" - ], - "description": "Get a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Get": { - "$ref": "./examples/Approvals_Get.json" - } - } - }, - "put": { - "operationId": "Approval_CreateOrUpdate", - "tags": [ - "Approval" - ], - "description": "Create a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ApprovalResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "201": { - "description": "Resource 'ApprovalResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/ApprovalResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_CreateOrUpdate": { - "$ref": "./examples/Approvals_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Approval_Update", - "tags": [ - "Approval" - ], - "description": "Update a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Update": { - "$ref": "./examples/Approvals_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Approval_Delete", - "tags": [ - "Approval" - ], - "description": "Delete a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Delete": { - "$ref": "./examples/Approvals_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { - "post": { - "operationId": "Approval_InitiatorCallback", - "tags": [ - "Approval" - ], - "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/InitiatorCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InitiatorCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_InitiatorCallback": { - "$ref": "./examples/Approvals_InitiatorCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.Mission/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListBySubscription", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListBySubscription": { - "$ref": "./examples/Community_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListBySubscription", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListBySubscription": { - "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListBySubscription", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListBySubscription": { - "$ref": "./examples/TransitHub_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListBySubscription", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListBySubscription": { - "$ref": "./examples/EnclaveConnection_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListBySubscription", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription": { - "$ref": "./examples/VirtualEnclave_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListBySubscription", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListBySubscription": { - "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListBySubscription", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListBySubscription": { - "$ref": "./examples/Workload_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListByResourceGroup", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListByResourceGroup": { - "$ref": "./examples/Community_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "operationId": "Community_Get", - "tags": [ - "Community" - ], - "description": "Get a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get": { - "$ref": "./examples/Community_Get.json" - } - } - }, - "put": { - "operationId": "Community_CreateOrUpdate", - "tags": [ - "Community" - ], - "description": "Create a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "201": { - "description": "Resource 'CommunityResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CreateOrUpdate": { - "$ref": "./examples/Community_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Community_Update", - "tags": [ - "Community" - ], - "description": "Update a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", - "tags": [ - "Community" - ], - "description": "Delete a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "Community_CheckAddressSpaceAvailability", - "tags": [ - "Community" - ], - "description": "Checks that the IP Address Space to be allocated for this Community is available.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CheckAddressSpaceAvailability": { - "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListByCommunityResource", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListByCommunityResource": { - "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { - "get": { - "operationId": "CommunityEndpoints_Get", - "tags": [ - "CommunityEndpoints" - ], - "description": "Get a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Get": { - "$ref": "./examples/CommunityEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "CommunityEndpoints_CreateOrUpdate", - "tags": [ - "CommunityEndpoints" - ], - "description": "Create a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "201": { - "description": "Resource 'CommunityEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_CreateOrUpdate": { - "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CommunityEndpoints_Update", - "tags": [ - "CommunityEndpoints" - ], - "description": "Update a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", - "tags": [ - "CommunityEndpoints" - ], - "description": "Delete a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListByCommunityResource", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListByCommunityResource": { - "$ref": "./examples/TransitHub_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { - "get": { - "operationId": "TransitHub_Get", - "tags": [ - "TransitHub" - ], - "description": "Get a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Get": { - "$ref": "./examples/TransitHub_Get.json" - } - } - }, - "put": { - "operationId": "TransitHub_CreateOrUpdate", - "tags": [ - "TransitHub" - ], - "description": "Create a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'TransitHubResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "201": { - "description": "Resource 'TransitHubResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_CreateOrUpdate": { - "$ref": "./examples/TransitHub_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "TransitHub_Update", - "tags": [ - "TransitHub" - ], - "description": "Update a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", - "tags": [ - "TransitHub" - ], - "description": "Delete a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListByResourceGroup", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListByResourceGroup": { - "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { - "get": { - "operationId": "EnclaveConnection_Get", - "tags": [ - "EnclaveConnection" - ], - "description": "Get a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Get": { - "$ref": "./examples/EnclaveConnection_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveConnection_CreateOrUpdate", - "tags": [ - "EnclaveConnection" - ], - "description": "Create a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveConnectionResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "201": { - "description": "Resource 'EnclaveConnectionResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_CreateOrUpdate": { - "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveConnection_Update", - "tags": [ - "EnclaveConnection" - ], - "description": "Update a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", - "tags": [ - "EnclaveConnection" - ], - "description": "Delete a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalCallback", - "tags": [ - "EnclaveConnection" - ], - "description": "Callback that triggers on approval state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ApprovalCallback": { - "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "tags": [ - "EnclaveConnection" - ], - "description": "Callback that triggers on approval deletion state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListByResourceGroup", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { - "get": { - "operationId": "ExternalConnections_Get", - "tags": [ - "ExternalConnections" - ], - "description": "Get a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "ExternalConnections_CreateOrUpdate", - "tags": [ - "ExternalConnections" - ], - "description": "Create a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ExternalConnections_Update", - "tags": [ - "ExternalConnections" - ], - "description": "Update a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", - "tags": [ - "ExternalConnections" - ], - "description": "Delete a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", - "tags": [ - "InternalConnections" - ], - "description": "Get a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualEnclavePatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Delete a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { - "$ref": "./examples/Workload_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { - "get": { - "operationId": "Workload_Get", - "tags": [ - "Workload" - ], - "description": "Get a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Get": { - "$ref": "./examples/Workload_Get.json" - } - } - }, - "put": { - "operationId": "Workload_CreateOrUpdate", - "tags": [ - "Workload" - ], - "description": "Create a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'WorkloadResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "201": { - "description": "Resource 'WorkloadResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_CreateOrUpdate": { - "$ref": "./examples/Workload_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Workload_Update", - "tags": [ - "Workload" - ], - "description": "Update a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", - "tags": [ - "Workload" - ], - "description": "Delete a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "ActionPerformed": { - "type": "string", - "description": "Specifies the action performed by the approver", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "ActionPerformed", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved", - "description": "ActionPerformed Type Approved" - }, - { - "name": "Rejected", - "value": "Rejected", - "description": "ActionPerformed Type Rejected" - } - ] - } - }, - "ApprovalCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "resourceId": { - "type": "string", - "description": "Resource Id of the item being approved or rejected" - }, - "resourceRequestAction": { - "type": "string", - "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", - "enum": [ - "Create", - "Delete", - "Update", - "Reset" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "resourceId", - "resourceRequestAction", - "approvalStatus" - ] - }, - "ApprovalCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "ApprovalDeletionCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "resourceRequestAction": { - "type": "string", - "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", - "enum": [ - "Create", - "Delete", - "Update" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "resourceRequestAction" - ] - }, - "ApprovalDeletionCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalDeletionCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "ApprovalPatchResource": { - "type": "object", - "description": "Approvals properties for patching", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "Approval Patch properties" - } - } - }, - "ApprovalProperties": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadata", - "description": "Request metadata for the approval request." - }, - "approvers": { - "type": "array", - "description": "List of approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "mandatoryApprovers": { - "type": "array", - "description": "List of mandatory approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "minimumApproversRequired": { - "type": "integer", - "format": "int64", - "description": "Minimum number of approvers required for the approval request" - } - } - }, - "ApprovalResource": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ApprovalResourceListResult": { - "type": "object", - "description": "The response of a ApprovalResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ApprovalResource items on this page", - "items": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ApprovalStatus": { - "type": "string", - "description": "Approval Status Enum", - "enum": [ - "Approved", - "Rejected", - "Pending" - ], - "x-ms-enum": { - "name": "ApprovalStatus", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved", - "description": "ApprovalStatus Type Approved" - }, - { - "name": "Rejected", - "value": "Rejected", - "description": "ApprovalStatus Type Rejected" - }, - { - "name": "Pending", - "value": "Pending", - "description": "ApprovalStatus Type Pending" - } - ] - } - }, - "Approvers": { - "type": "object", - "description": "Approver Metadata for approvals request.", - "properties": { - "approverEntraId": { - "type": "string", - "description": "EntraId of the approver" - }, - "actionPerformed": { - "$ref": "#/definitions/ActionPerformed", - "description": "Action Performed by approver" - }, - "lastUpdatedAt": { - "type": "string", - "format": "date-time", - "description": "approval request last updated at" - } - }, - "required": [ - "approverEntraId", - "actionPerformed", - "lastUpdatedAt" - ] - }, - "Azure.Core.azureLocation": { - "type": "string", - "description": "Represents an Azure geography region where supported resource providers live." - }, - "CheckAddressSpaceAvailabilityRequest": { - "type": "object", - "description": "Request to the action call to check address space availability.", - "properties": { - "communityResourceId": { - "type": "string", - "description": "Resource Id of the Community" - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Information about the enclave virtual network" - } - }, - "required": [ - "communityResourceId", - "enclaveVirtualNetwork" - ] - }, - "CheckAddressSpaceAvailabilityResponse": { - "type": "object", - "description": "Response of availability of the requested address space.", - "properties": { - "value": { - "type": "boolean", - "description": "Boolean representing whether the address space is available." - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointCreateProperties": { - "type": "object", - "description": "Community Endpoint Create properties", - "properties": { - "ruleCollection": { - "type": "array", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - } - }, - "required": [ - "ruleCollection" - ], - "allOf": [ - { - "$ref": "#/definitions/CommunityEndpointProperties" - } - ] - }, - "CommunityEndpointDestinationRule": { - "type": "object", - "description": "Base type for destination rules.", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "destinationType": { - "$ref": "#/definitions/DestinationType", - "description": "Destination Type." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/CommunityEndpointProtocol" - } - }, - "transitHubResourceId": { - "$ref": "#/definitions/TransitHubResourceId", - "description": "Transit Hub Resource Id." - } - } - }, - "CommunityEndpointPatchProperties": { - "type": "object", - "description": "Community Endpoint Patch properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "CommunityEndpointPatchResource": { - "type": "object", - "description": "Community Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPatchProperties", - "description": "Community Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "CommunityEndpointProperties": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "CommunityEndpointProtocol": { - "type": "string", - "description": "Community Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH", - "HTTPS", - "HTTP" - ], - "x-ms-enum": { - "name": "CommunityEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "CommunityEndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "CommunityEndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "CommunityEndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "CommunityEndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "CommunityEndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "CommunityEndpointProtocol Type AH" - }, - { - "name": "HTTPS", - "value": "HTTPS", - "description": "CommunityEndpointProtocol Type HTTPS" - }, - { - "name": "HTTP", - "value": "HTTP", - "description": "CommunityEndpointProtocol Type HTTP" - } - ] - } - }, - "CommunityEndpointResource": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityEndpointResourceListResult": { - "type": "object", - "description": "The response of a CommunityEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityEndpointResource items on this page", - "items": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityPatchProperties": { - "type": "object", - "description": "Community Patch Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "CommunityPatchResource": { - "type": "object", - "description": "Community Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityPatchProperties", - "description": "Community Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - } - }, - "CommunityProperties": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", - "items": { - "$ref": "#/definitions/CommunityResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "DestinationEndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" - }, - { - "type": "Microsoft.Mission/communities/communityEndpoints" - } - ] - } - }, - "DestinationType": { - "type": "string", - "description": "Destination Type Enum", - "enum": [ - "FQDN", - "FQDNTag", - "IPAddress", - "PrivateNetwork" - ], - "x-ms-enum": { - "name": "DestinationType", - "modelAsString": true, - "values": [ - { - "name": "FQDN", - "value": "FQDN", - "description": "DestinationType Type FQDN" - }, - { - "name": "FQDNTag", - "value": "FQDNTag", - "description": "DestinationType Type FQDNTag" - }, - { - "name": "IPAddress", - "value": "IPAddress", - "description": "DestinationType Type IPAddress" - }, - { - "name": "PrivateNetwork", - "value": "PrivateNetwork", - "description": "DestinationType Type PrivateNetwork" - } - ] - } - }, - "DiagnosticDestination": { - "type": "string", - "description": "Specifies the destination of where to store diagnostic logs.", - "enum": [ - "CommunityOnly", - "EnclaveOnly", - "Both" - ], - "x-ms-enum": { - "name": "DiagnosticDestination", - "modelAsString": true, - "values": [ - { - "name": "CommunityOnly", - "value": "CommunityOnly", - "description": "DiagnosticDestination Type CommunityOnly" - }, - { - "name": "EnclaveOnly", - "value": "EnclaveOnly", - "description": "DiagnosticDestination Type EnclaveOnly" - }, - { - "name": "Both", - "value": "Both", - "description": "DiagnosticDestination Type Both" - } - ] - } - }, - "EnclaveAddressSpaces": { - "type": "object", - "description": "Enclave Address Spaces", - "properties": { - "enclaveAddressSpace": { - "type": "string", - "description": "Enclave Address Space" - }, - "managedAddressSpace": { - "type": "string", - "description": "Managed Address Space" - } - } - }, - "EnclaveConnectionPatchProperties": { - "type": "object", - "description": "Enclave Connection Patch properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionPatchResource": { - "type": "object", - "description": "Enclave Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPatchProperties", - "description": "Enclave Connection Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EnclaveConnectionProperties": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionResource": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveConnectionResourceListResult": { - "type": "object", - "description": "The response of a EnclaveConnectionResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveConnectionResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveConnectionSourceResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - }, - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "EnclaveConnectionState": { - "type": "string", - "description": "Specifies the state of the enclave connection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed", - "Connected", - "Disconnected" - ], - "x-ms-enum": { - "name": "EnclaveConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "EnclaveConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "EnclaveConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "EnclaveConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "EnclaveConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "EnclaveConnectionState Type Failed" - }, - { - "name": "Connected", - "value": "Connected", - "description": "EnclaveConnectionState Type Connected" - }, - { - "name": "Disconnected", - "value": "Disconnected", - "description": "EnclaveConnectionState Type Disconnected" - } - ] - } - }, - "EnclaveDefaultSettings": { - "type": "object", - "description": "Virtual Enclave Default Settings", - "properties": { - "keyVaultResourceId": { - "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." - }, - "storageAccountResourceId": { - "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." - }, - "logAnalyticsResourceIdCollection": { - "type": "array", - "description": "Log Analytics Resource Ids.", - "items": { - "$ref": "#/definitions/LogAnalyticsResourceId" - } - }, - "diagnosticDestination": { - "$ref": "#/definitions/DiagnosticDestination", - "description": "Diagnostic Destination." - } - } - }, - "EnclaveEndpointDestinationRule": { - "type": "object", - "description": "Enclave Endpoint Rule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/EnclaveEndpointProtocol" - } - } - } - }, - "EnclaveEndpointPatchProperties": { - "type": "object", - "description": "Enclave Endpoint Patch properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "EnclaveEndpointPatchResource": { - "type": "object", - "description": "Enclave Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPatchProperties", - "description": "Enclave Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EnclaveEndpointProperties": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "EnclaveEndpointProtocol": { - "type": "string", - "description": "Enclave Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EnclaveEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EnclaveEndpointResource": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveEndpointResourceListResult": { - "type": "object", - "description": "The response of a EnclaveEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveEndpointResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveResource": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveResourceListResult": { - "type": "object", - "description": "The response of a EnclaveResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveVirtualNetwork": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, - "EndpointPatchProperties": { - "type": "object", - "description": "Endpoint Patch properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointPatchResource": { - "type": "object", - "description": "Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointPatchProperties", - "description": "Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionPatchProperties": { - "type": "object", - "description": "External Connection Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionPatchResource": { - "type": "object", - "description": "External Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPatchProperties", - "description": "External Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] - } - }, - "GovernedServiceItem": { - "type": "object", - "description": "GovernedServiceItem Properties", - "properties": { - "id": { - "$ref": "#/definitions/ServiceIdentifier", - "description": "service id" - }, - "name": { - "type": "string", - "description": "service name", - "readOnly": true - }, - "option": { - "type": "string", - "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", - "enum": [ - "Allow", - "Deny", - "ExceptionOnly", - "NotApplicable" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "enforcement": { - "type": "string", - "description": "initiative enforcement (Enabled or Disabled).", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "auditOnly": { - "type": "boolean", - "description": "policies set to auditOnly (True or False)." - }, - "initiatives": { - "type": "array", - "description": "initiatives associated with this service", - "items": { - "type": "string" - }, - "readOnly": true - } - }, - "required": [ - "id" - ] - }, - "IPGroupResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/IpGroups" - } - ] - } - }, - "InitiatorCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "approvalStatus" - ] - }, - "InitiatorCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionPatchResource": { - "type": "object", - "description": "Internal Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "Internal Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, - "KeyVaultResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "LogAnalyticsResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - }, - "MaintenanceModeConfiguration": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - } - }, - "ManagedResourceGroupConfiguration": { - "type": "object", - "description": "ManagedResourceGroup related properties", - "properties": { - "name": { - "type": "string", - "description": "Name of managed resource group" - }, - "location": { - "$ref": "#/definitions/Azure.Core.azureLocation", - "description": "The geo-location where the resource lives", - "x-ms-mutability": [ - "read", - "create" - ] - } - } - }, - "Principal": { - "type": "object", - "description": "Principal for maintenance mode or role assignments", - "properties": { - "id": { - "type": "string", - "description": "The object id associated with the principal" - }, - "type": { - "type": "string", - "description": "The type of the object id. We currently allow users, groups, and service principals", - "enum": [ - "User", - "Group", - "ServicePrincipal" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "id", - "type" - ] - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning status of the resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted", - "Created", - "Creating", - "Deleted", - "Deleting", - "NotSpecified", - "Ready", - "Running", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Accepted", - "value": "Accepted", - "description": "Provisioning State Type Accepted" - }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Provisioning State Type Creating" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Provisioning State Type Deleting" - }, - { - "name": "NotSpecified", - "value": "NotSpecified", - "description": "Provisioning State Type NotSpecified" - }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, - { - "name": "Running", - "value": "Running", - "description": "Provisioning State Type Running" - }, - { - "name": "Updating", - "value": "Updating", - "description": "Provisioning State Type Updating" - } - ] - }, - "readOnly": true - }, - "RequestMetadata": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - } - } - }, - "RoleAssignmentItem": { - "type": "object", - "description": "Role assignment item that indicates which principals should be assigned this role definition", - "properties": { - "id": { - "type": "string", - "description": "Role definition identifier" - }, - "principals": { - "type": "array", - "description": "List of principal IDs to which to assign this role definition", - "items": { - "$ref": "#/definitions/Principal" - } - } - }, - "required": [ - "id" - ] - }, - "ServiceIdentifier": { - "type": "string", - "description": "Identifier for governed services.", - "enum": [ - "AKS", - "AppService", - "AzureFirewalls", - "ContainerRegistry", - "CosmosDB", - "DataConnectors", - "Insights", - "KeyVault", - "Logic", - "MicrosoftSQL", - "Monitoring", - "PostgreSQL", - "PrivateDNSZones", - "ServiceBus", - "Storage" - ], - "x-ms-enum": { - "name": "ServiceIdentifier", - "modelAsString": true, - "values": [ - { - "name": "AKS", - "value": "AKS", - "description": "Service identifier for AKS" - }, - { - "name": "AppService", - "value": "AppService", - "description": "Service identifier for App Service" - }, - { - "name": "AzureFirewalls", - "value": "AzureFirewalls", - "description": "Service identifier for Azure Firewalls" - }, - { - "name": "ContainerRegistry", - "value": "ContainerRegistry", - "description": "Service identifier for Container Registry" - }, - { - "name": "CosmosDB", - "value": "CosmosDB", - "description": "Service identifier for CosmosDB" - }, - { - "name": "DataConnectors", - "value": "DataConnectors", - "description": "Service identifier for Data Connectors" - }, - { - "name": "Insights", - "value": "Insights", - "description": "Service identifier for Insights" - }, - { - "name": "KeyVault", - "value": "KeyVault", - "description": "Service identifier for Key Vault" - }, - { - "name": "Logic", - "value": "Logic", - "description": "Service identifier for Logic" - }, - { - "name": "MicrosoftSql", - "value": "MicrosoftSQL", - "description": "Service identifier for Microsoft SQL" - }, - { - "name": "Monitoring", - "value": "Monitoring", - "description": "Service identifier for Monitoring" - }, - { - "name": "PostgreSql", - "value": "PostgreSQL", - "description": "Service identifier for PostgreSQL" - }, - { - "name": "PrivateDNSZones", - "value": "PrivateDNSZones", - "description": "Service identifier for Private DNS Zones" - }, - { - "name": "ServiceBus", - "value": "ServiceBus", - "description": "Service identifier for Service Bus" - }, - { - "name": "Storage", - "value": "Storage", - "description": "Service identifier for Storage" - } - ] - } - }, - "StorageAccountResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - } - }, - "SubnetConfiguration": { - "type": "object", - "description": "Subnet Configuration", - "properties": { - "name": { - "type": "string", - "description": "Subnet name." - }, - "id": { - "type": "string", - "format": "arm-id", - "description": "Subnet ID.", - "readOnly": true - }, - "networkPrefixSize": { - "type": "integer", - "format": "int32", - "description": "Network prefix size." - }, - "subnetDelegation": { - "type": "string", - "description": "Subnet delegation." - }, - "addressPrefix": { - "type": "string", - "description": "Address prefix.", - "readOnly": true - }, - "networkSecurityGroupId": { - "type": "string", - "format": "arm-id", - "description": "Network security group ID.", - "readOnly": true - } - }, - "required": [ - "name", - "networkPrefixSize" - ] - }, - "TransitHubPatchProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubPatchResource": { - "type": "object", - "description": "TH Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubPatchProperties", - "description": "The TransitHub resource." - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "TransitHubProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubResource": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "TransitHubResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "TransitHubResourceListResult": { - "type": "object", - "description": "The response of a TransitHubResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The TransitHubResource items on this page", - "items": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TransitHubState": { - "type": "string", - "description": "Specifies the state of the transitHub.", - "enum": [ - "PendingApproval", - "Approved", - "PendingUpdate", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "TransitHubState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "TransitHubState Type PendingApproval" - }, - { - "name": "Approved", - "value": "Approved", - "description": "TransitHubState Type Approved" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "TransitHubState Type PendingUpdate" - }, - { - "name": "Active", - "value": "Active", - "description": "TransitHubState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "TransitHubState Type Failed" - } - ] - } - }, - "TransitOption": { - "type": "object", - "description": "TransitOption Properties", - "properties": { - "type": { - "$ref": "#/definitions/TransitOptionType", - "description": "Transit Option Type." - }, - "params": { - "$ref": "#/definitions/TransitOptionParams", - "description": "Transit Option Params" - } - } - }, - "TransitOptionParams": { - "type": "object", - "description": "TransitOptionParams Properties", - "properties": { - "scaleUnits": { - "type": "integer", - "format": "int64", - "description": "Transit Option Params scaleUnits." - }, - "remoteVirtualNetworkId": { - "type": "string", - "description": "Transit Option Params remoteVirtualNetworkId." - } - } - }, - "TransitOptionType": { - "type": "string", - "description": "Specifies the type of the transitOption.", - "enum": [ - "ExpressRoute", - "Gateway", - "Peering" - ], - "x-ms-enum": { - "name": "TransitOptionType", - "modelAsString": true, - "values": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute", - "description": "TransitOptionType ExpressRoute" - }, - { - "name": "Gateway", - "value": "Gateway", - "description": "TransitOptionType Gateway" - }, - { - "name": "Peering", - "value": "Peering", - "description": "TransitOptionType Peering" - } - ] - } - }, - "VirtualEnclavePatchProperties": { - "type": "object", - "description": "Virtual Enclave Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "VirtualEnclavePatchResource": { - "type": "object", - "description": "Virtual Enclave Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePatchProperties", - "description": "Virtual Enclave Patch properties" - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "VirtualEnclaveProperties": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, - "WorkloadPatchProperties": { - "type": "object", - "description": "Workload Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkloadPatchResource": { - "type": "object", - "description": "Workload Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadPatchProperties", - "description": "Workload Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "WorkloadProperties": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkloadResource": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "WorkloadResourceListResult": { - "type": "object", - "description": "The response of a WorkloadResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadResource items on this page", - "items": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - } - }, - "parameters": { - "Azure.ResourceManager.ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_CreateOrUpdate.json deleted file mode 100644 index 3b75cfa13d20..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_CreateOrUpdate.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "title": "Approval_CreateOrUpdate", - "operationId": "Approval_CreateOrUpdate", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resource": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Delete.json deleted file mode 100644 index 0548b00dd0be..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Approval_Delete", - "operationId": "Approval_Delete", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Get.json deleted file mode 100644 index 7f6802046826..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Get.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Approval_Get", - "operationId": "Approval_Get", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_InitiatorCallback.json deleted file mode 100644 index 2363d34b4659..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_InitiatorCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "Approval_InitiatorCallback", - "title": "Approval_InitiatorCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "body": { - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval initiator callback handled successfully" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_ListByParent.json deleted file mode 100644 index 630321ce8242..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_ListByParent.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "title": "Approval_ListByParent", - "operationId": "Approval_ListByParent", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Update.json deleted file mode 100644 index 12bc1b9c620b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Approvals_Update.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "title": "Approval_Update", - "operationId": "Approval_Update", - "parameters": { - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "approvalName": "TestApprovals", - "properties": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "parent1": "string", - "parent2": "string", - "requestMetadata": { - "resourceAction": "string", - "approvalStatus": "Approved", - "approvalCallbackRoute": "approvalCallback", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - }, - "approvers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "mandatoryApprovers": [ - { - "approverEntraId": "string", - "actionPerformed": "Approved", - "lastUpdatedAt": "2023-03-17T20:43:17.760Z" - } - ], - "minimumApproversRequired": 0 - }, - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", - "name": "TestApprovals", - "type": "Microsoft.Mission/approvals", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json deleted file mode 100644 index 71405756c1c5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ApprovalDeletionCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "CommunityEndpoints_ApprovalDeletionCallback", - "title": "CommunityEndpoints_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json deleted file mode 100644 index 294721f35452..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "title": "CommunityEndpoints_CreateOrUpdate", - "operationId": "CommunityEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communties/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDNTag", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json deleted file mode 100644 index eed4cb22a0d8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "CommunityEndpoints_Delete", - "operationId": "CommunityEndpoints_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Get.json deleted file mode 100644 index a481c2474133..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "CommunityEndpoints_Get", - "operationId": "CommunityEndpoints_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json deleted file mode 100644 index 6ab0e2540638..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "title": "CommunityEndpoints_ListByCommunityResource", - "operationId": "CommunityEndpoints_ListByCommunityResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json deleted file mode 100644 index 25db6ed243f9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_ListBySubscription.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "CommunityEndpoints_ListBySubscription", - "operationId": "CommunityEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json deleted file mode 100644 index f561d72d9e79..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "CommunityEndpoints_ApprovalCallback", - "title": "CommunityEndpoints_ApprovalCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "body": { - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json deleted file mode 100644 index b736391138f7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/CommunityEndpoints_Update.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "title": "CommunityEndpoints_Update", - "operationId": "CommunityEndpoints_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "communityEndpointName": "TestMyCommunityEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "destinationType": "FQDN", - "destination": "foo.example.com", - "port": "443", - "protocols": [ - "TCP" - ], - "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", - "name": "TestMyCommunityEndpoint", - "type": "Microsoft.Mission/communities/communityendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json deleted file mode 100644 index 033dd5398a1c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_CreateOrUpdate.json +++ /dev/null @@ -1,607 +0,0 @@ -{ - "title": "Community_CreateOrUpdate", - "operationId": "Community_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "approvalSettings": { - "endpointCreation": "NotRequired", - "endpointUpdate": "Required", - "endpointDeletion": "NotRequired", - "connectionCreation": "Required", - "connectionUpdate": "Required", - "connectionUpdateMode": "Manual", - "connectionDeletion": "NotRequired", - "enclaveCreation": "NotRequired", - "enclaveDeletion": "NotRequired", - "maintenanceMode": "NotRequired", - "serviceCatalogDeployment": "NotRequired" - }, - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json deleted file mode 100644 index 33ce401428cc..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "Community_Delete", - "operationId": "Community_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json deleted file mode 100644 index 426b9646910a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Get.json +++ /dev/null @@ -1,228 +0,0 @@ -{ - "title": "Community_Get", - "operationId": "Community_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json deleted file mode 100644 index 52af74bfc100..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListByResourceGroup.json +++ /dev/null @@ -1,232 +0,0 @@ -{ - "title": "Community_ListByResourceGroup", - "operationId": "Community_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json deleted file mode 100644 index d1a725eef584..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_ListBySubscription.json +++ /dev/null @@ -1,231 +0,0 @@ -{ - "title": "Community_ListBySubscription", - "operationId": "Community_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - } - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json deleted file mode 100644 index 3f50a5b624bb..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "operationId": "Community_CheckAddressSpaceAvailability", - "title": "Community_CheckAddressSpaceAvailability", - "parameters": { - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "checkAddressSpaceAvailabilityRequest": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - } - }, - "api-version": "2024-11-01-preview" - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "value": true - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json deleted file mode 100644 index dd2b4caee9d8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Community_Update.json +++ /dev/null @@ -1,362 +0,0 @@ -{ - "title": "Community_Update", - "operationId": "Community_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AppService", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ContainerRegistry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "KeyVault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "MicrosoftSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "ServiceBus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "AzureFirewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "PrivateDNSZones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - }, - { - "id": "DataConnectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "addressSpace": "10.0.0.0/24", - "dnsServers": [ - "azure.net" - ], - "provisioningState": "Succeeded", - "resourceCollection": [ - "resCollection" - ], - "governedServiceList": [ - { - "id": "AKS", - "name": "AKS", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "d300338e-65d1-4be3-b18e-fb4ce5715a8f" - ] - }, - { - "id": "AppService", - "name": "App Service", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "528d78c5-246c-4f26-ade6-d30798705411" - ] - }, - { - "id": "ContainerRegistry", - "name": "Container Registry", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "b3fe25eb-cdc6-475f-96a5-04ac270f630d" - ] - }, - { - "id": "CosmosDB", - "name": "CosmosDB", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" - ] - }, - { - "id": "KeyVault", - "name": "Key Vault", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" - ] - }, - { - "id": "MicrosoftSQL", - "name": "Microsoft SQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0fbe78a5-1722-4f1b-83a5-89c14151fa60" - ] - }, - { - "id": "Monitoring", - "name": "Monitoring", - "option": "Not Applicable", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" - ] - }, - { - "id": "PostgreSQL", - "name": "PostgreSQL", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "5eaa16b4-81f2-4354-aef3-2d77288e396e" - ] - }, - { - "id": "ServiceBus", - "name": "Service Bus", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "8fcdb3f1-1369-426d-9917-81edfee903ab" - ] - }, - { - "id": "Storage", - "name": "Storage", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [ - "ca122c06-05f6-4423-9018-ccb523168eb2" - ] - }, - { - "id": "AzureFirewalls", - "name": "Azure Firewalls", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Insights", - "name": "Insights", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "Logic", - "name": "Logic", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "PrivateDNSZones", - "name": "Private DNS Zones", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - }, - { - "id": "DataConnectors", - "name": "Data Connectors", - "option": "Allow", - "enforcement": "Enabled", - "auditOnly": false, - "initiatives": [] - } - ], - "communityRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "name": "TestMyCommunity", - "type": "Microsoft.Mission/communities", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json deleted file mode 100644 index 63fd67d015c5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "title": "EnclaveConnection_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json deleted file mode 100644 index 8954f2c43ad8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_CreateOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "title": "EnclaveConnection_CreateOrUpdate", - "operationId": "EnclaveConnection_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "resource": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json deleted file mode 100644 index 616f887d6eed..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "EnclaveConnection_Delete", - "operationId": "EnclaveConnection_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Get.json deleted file mode 100644 index e038053f305c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "EnclaveConnection_Get", - "operationId": "EnclaveConnection_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json deleted file mode 100644 index d2201b270011..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListByResourceGroup.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "EnclaveConnection_ListByResourceGroup", - "operationId": "EnclaveConnection_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListBySubscription.json deleted file mode 100644 index 99166e170255..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_ListBySubscription.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "EnclaveConnection_ListBySubscription", - "operationId": "EnclaveConnection_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "enclaveConnectionName": "TestMyEnclaveConnection" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_PostApprovalCallback.json deleted file mode 100644 index fa6ff6986a59..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveConnection_ApprovalCallback", - "title": "EnclaveConnection_ApprovalCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "body": { - "resourceRequestAction": "Create", - "approvalStatus": "Approved", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json deleted file mode 100644 index 4df1b927353d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveConnection_Update.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "title": "EnclaveConnection_Update", - "operationId": "EnclaveConnection_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "enclaveConnectionName": "TestMyEnclaveConnection", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", - "name": "TestMyEnclaveConnection", - "type": "Microsoft.Mission/enclaveconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json deleted file mode 100644 index a728647dfc90..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ApprovalDeletionCallback.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", - "title": "EnclaveEndpoints_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json deleted file mode 100644 index fc64900ddcc3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "EnclaveEndpoints_CreateOrUpdate", - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "resource": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json deleted file mode 100644 index d8aa1de66957..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "EnclaveEndpoints_Delete", - "operationId": "EnclaveEndpoints_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Get.json deleted file mode 100644 index 459ad1c21041..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "EnclaveEndpoints_Get", - "operationId": "EnclaveEndpoints_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json deleted file mode 100644 index 293e453ce8e0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListByEnclaveResource", - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json deleted file mode 100644 index c5a3d5578144..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "EnclaveEndpoints_ListBySubscription", - "operationId": "EnclaveEndpoints_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json deleted file mode 100644 index 6fe02dbad243..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "EnclaveEndpoints_ApprovalCallback", - "title": "EnclaveEndpoints_ApprovalCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "body": { - "resourceRequestAction": "Create", - "approvalStatus": "Approved" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json deleted file mode 100644 index fce6a0cb700d..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/EnclaveEndpoints_Update.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "EnclaveEndpoints_Update", - "operationId": "EnclaveEndpoints_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "enclaveEndpointName": "TestMyEnclaveEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "ruleCollection": [ - { - "name": "54CEECEF-2C30-488E-946F-D20F414D99BA", - "destination": "10.0.0.0/24", - "port": "443", - "protocols": [ - "TCP" - ] - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", - "name": "TestMyEnclaveEndpoint", - "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index ea234f0b1819..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 64fa36e6e46c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index 87031a6db49b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 4e354c370b4c..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index c9c267a5d84a..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index 24c10fd78507..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 8426317b007b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index 8c2250e052fe..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index 00740b125212..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 95978b0eebd8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index d1772cc7b7ad..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index 0d8279f5bc06..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 06f1547b53b8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index 2f9fc7f69801..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index 76a4af7e3e41..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index a992032e70ae..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index 76f8f77648e2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index 4eda2743eccf..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Operations_List.json deleted file mode 100644 index 16fd01396361..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Operations_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "title": "Operations_List", - "operationId": "Operations_List", - "parameters": { - "api-version": "2024-11-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "kribdpoznbvrjci", - "isDataAction": true, - "display": { - "provider": "usvnnruysydqdpwj", - "resource": "lrdjzltcbeoljosqrw", - "operation": "vdnitexr", - "description": "valid description goes here" - }, - "origin": "user", - "actionType": "Internal" - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_CreateOrUpdate.json deleted file mode 100644 index bc2c20797e62..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_CreateOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "title": "TransitHub_CreateOrUpdate", - "operationId": "TransitHub_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "resource": { - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json deleted file mode 100644 index d98742217624..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "TransitHub_Delete", - "operationId": "TransitHub_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Get.json deleted file mode 100644 index e185a683be09..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "title": "TransitHub_Get", - "operationId": "TransitHub_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListByCommunityResource.json deleted file mode 100644 index 9ac043958e92..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListByCommunityResource.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "TransitHub_ListByCommunityResource", - "operationId": "TransitHub_ListByCommunityResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithub", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListBySubscription.json deleted file mode 100644 index 35a986a9f69b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_ListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "title": "TransitHub_ListBySubscription", - "operationId": "TransitHub_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "communityName": "TestMyCommunity" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json deleted file mode 100644 index 847674a253ec..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/TransitHub_Update.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "title": "TransitHub_Update", - "operationId": "TransitHub_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "communityName": "TestMyCommunity", - "transitHubName": "TestThName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "PendingApproval", - "transitOption": { - "type": "ExpressRoute", - "params": { - "scaleUnits": 1 - } - }, - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", - "name": "TestThName", - "type": "microsoft.mission/communities/transithubs", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json deleted file mode 100644 index 7f420de13a52..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ /dev/null @@ -1,329 +0,0 @@ -{ - "title": "VirtualEnclave_CreateOrUpdate", - "operationId": "VirtualEnclave_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "resource": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json deleted file mode 100644 index eebf06d89258..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "VirtualEnclave_Delete", - "operationId": "VirtualEnclave_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Get.json deleted file mode 100644 index 6d78c8706a8e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Get.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "title": "VirtualEnclave_Get", - "operationId": "VirtualEnclave_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json deleted file mode 100644 index 6c5ffa48b710..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "title": "VirtualEnclave_ListByResourceGroup", - "operationId": "VirtualEnclave_ListByResourceGroup", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListBySubscription.json deleted file mode 100644 index 6e485fdc569b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ /dev/null @@ -1,132 +0,0 @@ -{ - "title": "VirtualEnclave_ListBySubscription", - "operationId": "VirtualEnclave_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "networkPrefixSize": 26, - "addressPrefix": "10.0.0.0/26", - "networkSecurityGroupId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "subnetDelegation": null - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalCallback.json deleted file mode 100644 index d9ae75ee04a9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalCallback.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "operationId": "VirtualEnclave_ApprovalCallback", - "title": "VirtualEnclave_ApprovalCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "body": { - "resourceRequestAction": "Create", - "approvalStatus": "Approved", - "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json deleted file mode 100644 index ed1ad69344cd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_PostApprovalDeletionCallback.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "operationId": "VirtualEnclave_ApprovalDeletionCallback", - "title": "VirtualEnclave_ApprovalDeletionCallback", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "body": { - "resourceRequestAction": "Create" - } - }, - "responses": { - "200": { - "description": "ARM operation completed successfully.", - "body": { - "message": "Approval state change handled successfully." - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json deleted file mode 100644 index b540c45c4f85..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/VirtualEnclave_Update.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "title": "VirtualEnclave_Update", - "operationId": "VirtualEnclave_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} - } - }, - "location": "westcentralus", - "properties": { - "tags": { - "Tag1": "Value1" - }, - "properties": { - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", - "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", - "userAssignedIdentities": { - "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { - "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", - "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" - } - } - }, - "properties": { - "provisioningState": "Succeeded", - "enclaveVirtualNetwork": { - "networkSize": "small", - "customCidrRange": "10.0.0.0/24", - "subnetConfigurations": [ - { - "name": "test", - "networkPrefixSize": 26 - } - ], - "allowSubnetCommunication": true, - "connectToAzureServices": true - }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], - "diagnosticDestination": "Both" - }, - "resourceCollection": [ - "g" - ], - "maintenanceModeConfiguration": { - "mode": "Off", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ], - "justification": "Off" - }, - "bastionEnabled": true, - "enclaveRoleAssignments": [ - { - "id": "b24988ac-6180-42a0-ab88-20f7382dd24c", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - }, - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", - "type": "User" - } - ] - }, - { - "id": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", - "principals": [ - { - "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", - "type": "User" - } - ] - } - ], - "workloadRoleAssignments": [ - { - "id": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - }, - { - "id": "fb879df8-f326-4884-b1cf-06f3ad86be52", - "principals": [ - { - "id": "01234567-89ab-ef01-2345-0123456789ab", - "type": "Group" - } - ] - } - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "name": "TestMyEnclave", - "type": "microsoft.mission/virtualenclaves", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_CreateOrUpdate.json deleted file mode 100644 index 362495a003fc..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_CreateOrUpdate.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "Workload_CreateOrUpdate", - "operationId": "Workload_CreateOrUpdate", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "resource": { - "properties": { - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json deleted file mode 100644 index f7842e7e4228..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Workload_Delete", - "operationId": "Workload_Delete", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Get.json deleted file mode 100644 index d81d82c776d2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Get.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "title": "Workload_Get", - "operationId": "Workload_Get", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListByEnclaveResource.json deleted file mode 100644 index 472362b6a194..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListByEnclaveResource.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "title": "Workload_ListByEnclaveResource", - "operationId": "Workload_ListByEnclaveResource", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListBySubscription.json deleted file mode 100644 index 6a6d80560dfd..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_ListBySubscription.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "title": "Workload_ListBySubscription", - "operationId": "Workload_ListBySubscription", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json deleted file mode 100644 index 6f3ea412c2f3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/examples/Workload_Update.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "title": "Workload_Update", - "operationId": "Workload_Update", - "parameters": { - "api-version": "2024-11-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "workloadName": "TestMyWorkload", - "location": "westcentralus", - "properties": { - "tags": { - "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" - }, - "properties": { - "resourceGroupCollection": [ - "g" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "resourceGroupCollection": [ - "g" - ] - }, - "tags": { - "TestKey": "TestValue" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", - "name": "kxzylwqnmxtivpmupnlho", - "type": "microsoft.mission/virtualenclaves/workloads", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json deleted file mode 100644 index dc408e559769..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-11-01-preview/openapi.json +++ /dev/null @@ -1,7598 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Microsoft Mission", - "version": "2024-11-01-preview", - "description": "Microsoft Mission Resource Provider management API.", - "x-typespec-generated": [ - { - "emitter": "@azure-tools/typespec-autorest" - } - ] - }, - "schemes": [ - "https" - ], - "host": "management.azure.com", - "produces": [ - "application/json" - ], - "consumes": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "description": "Azure Active Directory OAuth2 Flow.", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "tags": [ - { - "name": "Operations" - }, - { - "name": "Workload" - }, - { - "name": "Endpoint" - }, - { - "name": "VirtualEnclave" - }, - { - "name": "Community" - }, - { - "name": "InternalConnections" - }, - { - "name": "TransitHub" - }, - { - "name": "EnclaveConnection" - }, - { - "name": "EnclaveEndpoints" - }, - { - "name": "CommunityEndpoints" - }, - { - "name": "ExternalConnections" - }, - { - "name": "Approval" - } - ], - "paths": { - "/{resourceUri}/providers/Microsoft.Mission/approvals": { - "get": { - "operationId": "Approval_ListByParent", - "tags": [ - "Approval" - ], - "description": "List ApprovalResource resources by parent", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_ListByParent": { - "$ref": "./examples/Approvals_ListByParent.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { - "get": { - "operationId": "Approval_Get", - "tags": [ - "Approval" - ], - "description": "Get a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Get": { - "$ref": "./examples/Approvals_Get.json" - } - } - }, - "put": { - "operationId": "Approval_CreateOrUpdate", - "tags": [ - "Approval" - ], - "description": "Create a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ApprovalResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "201": { - "description": "Resource 'ApprovalResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/ApprovalResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_CreateOrUpdate": { - "$ref": "./examples/Approvals_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Approval_Update", - "tags": [ - "Approval" - ], - "description": "Update a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Update": { - "$ref": "./examples/Approvals_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Approval_Delete", - "tags": [ - "Approval" - ], - "description": "Delete a ApprovalResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_Delete": { - "$ref": "./examples/Approvals_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/initiatorCallback": { - "post": { - "operationId": "Approval_InitiatorCallback", - "tags": [ - "Approval" - ], - "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" - }, - { - "name": "approvalName", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/InitiatorCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InitiatorCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Approval_InitiatorCallback": { - "$ref": "./examples/Approvals_InitiatorCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/providers/Microsoft.Mission/operations": { - "get": { - "operationId": "Operations_List", - "tags": [ - "Operations" - ], - "description": "List the operations for the provider", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListBySubscription", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListBySubscription": { - "$ref": "./examples/Community_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListBySubscription", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListBySubscription": { - "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListBySubscription", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListBySubscription": { - "$ref": "./examples/TransitHub_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListBySubscription", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListBySubscription": { - "$ref": "./examples/EnclaveConnection_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListBySubscription", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListBySubscription": { - "$ref": "./examples/VirtualEnclave_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListBySubscription", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListBySubscription": { - "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListBySubscription", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListBySubscription": { - "$ref": "./examples/Workload_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { - "get": { - "operationId": "Community_ListByResourceGroup", - "tags": [ - "Community" - ], - "description": "List CommunityResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_ListByResourceGroup": { - "$ref": "./examples/Community_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { - "get": { - "operationId": "Community_Get", - "tags": [ - "Community" - ], - "description": "Get a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Get": { - "$ref": "./examples/Community_Get.json" - } - } - }, - "put": { - "operationId": "Community_CreateOrUpdate", - "tags": [ - "Community" - ], - "description": "Create a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "201": { - "description": "Resource 'CommunityResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CreateOrUpdate": { - "$ref": "./examples/Community_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Community_Update", - "tags": [ - "Community" - ], - "description": "Update a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", - "tags": [ - "Community" - ], - "description": "Delete a CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "Community_CheckAddressSpaceAvailability", - "tags": [ - "Community" - ], - "description": "Checks that the IP Address Space to be allocated for this Community is available.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Community_CheckAddressSpaceAvailability": { - "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { - "get": { - "operationId": "CommunityEndpoints_ListByCommunityResource", - "tags": [ - "CommunityEndpoints" - ], - "description": "List CommunityEndpointResource resources by CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ListByCommunityResource": { - "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { - "get": { - "operationId": "CommunityEndpoints_Get", - "tags": [ - "CommunityEndpoints" - ], - "description": "Get a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Get": { - "$ref": "./examples/CommunityEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "CommunityEndpoints_CreateOrUpdate", - "tags": [ - "CommunityEndpoints" - ], - "description": "Create a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'CommunityEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "201": { - "description": "Resource 'CommunityEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_CreateOrUpdate": { - "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "CommunityEndpoints_Update", - "tags": [ - "CommunityEndpoints" - ], - "description": "Update a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", - "tags": [ - "CommunityEndpoints" - ], - "description": "Delete a CommunityEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalCallback": { - "post": { - "operationId": "CommunityEndpoints_ApprovalCallback", - "tags": [ - "CommunityEndpoints" - ], - "description": "Callback that triggers on approval state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ApprovalCallback": { - "$ref": "./examples/CommunityEndpoints_PostApprovalCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalDeletionCallback": { - "post": { - "operationId": "CommunityEndpoints_ApprovalDeletionCallback", - "tags": [ - "CommunityEndpoints" - ], - "description": "Callback that triggers on approval deletion state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "communityEndpointName", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CommunityEndpoints_ApprovalDeletionCallback": { - "$ref": "./examples/CommunityEndpoints_ApprovalDeletionCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { - "get": { - "operationId": "TransitHub_ListByCommunityResource", - "tags": [ - "TransitHub" - ], - "description": "List TransitHubResource resources by CommunityResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_ListByCommunityResource": { - "$ref": "./examples/TransitHub_ListByCommunityResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { - "get": { - "operationId": "TransitHub_Get", - "tags": [ - "TransitHub" - ], - "description": "Get a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Get": { - "$ref": "./examples/TransitHub_Get.json" - } - } - }, - "put": { - "operationId": "TransitHub_CreateOrUpdate", - "tags": [ - "TransitHub" - ], - "description": "Create a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'TransitHubResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "201": { - "description": "Resource 'TransitHubResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/TransitHubResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_CreateOrUpdate": { - "$ref": "./examples/TransitHub_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "TransitHub_Update", - "tags": [ - "TransitHub" - ], - "description": "Update a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", - "tags": [ - "TransitHub" - ], - "description": "Delete a TransitHubResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "communityName", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "transitHubName", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { - "get": { - "operationId": "EnclaveConnection_ListByResourceGroup", - "tags": [ - "EnclaveConnection" - ], - "description": "List EnclaveConnectionResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ListByResourceGroup": { - "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { - "get": { - "operationId": "EnclaveConnection_Get", - "tags": [ - "EnclaveConnection" - ], - "description": "Get a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Get": { - "$ref": "./examples/EnclaveConnection_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveConnection_CreateOrUpdate", - "tags": [ - "EnclaveConnection" - ], - "description": "Create a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveConnectionResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "201": { - "description": "Resource 'EnclaveConnectionResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_CreateOrUpdate": { - "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveConnection_Update", - "tags": [ - "EnclaveConnection" - ], - "description": "Update a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", - "tags": [ - "EnclaveConnection" - ], - "description": "Delete a EnclaveConnectionResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalCallback", - "tags": [ - "EnclaveConnection" - ], - "description": "Callback that triggers on approval state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ApprovalCallback": { - "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalDeletionCallback", - "tags": [ - "EnclaveConnection" - ], - "description": "Callback that triggers on approval deletion state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "enclaveConnectionName", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveConnection_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListByResourceGroup", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { - "get": { - "operationId": "ExternalConnections_Get", - "tags": [ - "ExternalConnections" - ], - "description": "Get a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "ExternalConnections_CreateOrUpdate", - "tags": [ - "ExternalConnections" - ], - "description": "Create a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/ExternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "ExternalConnections_Update", - "tags": [ - "ExternalConnections" - ], - "description": "Update a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", - "tags": [ - "ExternalConnections" - ], - "description": "Delete a ExternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "externalConnectionName", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", - "tags": [ - "InternalConnections" - ], - "description": "Get a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualEnclavePatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalCallback": { - "post": { - "operationId": "VirtualEnclave_ApprovalCallback", - "tags": [ - "VirtualEnclave" - ], - "description": "Callback that triggers on approval state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ApprovalCallback": { - "$ref": "./examples/VirtualEnclave_PostApprovalCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalDeletionCallback": { - "post": { - "operationId": "VirtualEnclave_ApprovalDeletionCallback", - "tags": [ - "VirtualEnclave" - ], - "description": "Callback that triggers on approval deletion state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ApprovalDeletionCallback": { - "$ref": "./examples/VirtualEnclave_PostApprovalDeletionCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Delete a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { - "post": { - "operationId": "EnclaveEndpoints_ApprovalCallback", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Callback that triggers on approval state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ApprovalCallback": { - "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Callback that triggers on approval deletion state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { - "$ref": "./examples/Workload_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { - "get": { - "operationId": "Workload_Get", - "tags": [ - "Workload" - ], - "description": "Get a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Get": { - "$ref": "./examples/Workload_Get.json" - } - } - }, - "put": { - "operationId": "Workload_CreateOrUpdate", - "tags": [ - "Workload" - ], - "description": "Create a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'WorkloadResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "201": { - "description": "Resource 'WorkloadResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/WorkloadResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_CreateOrUpdate": { - "$ref": "./examples/Workload_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Workload_Update", - "tags": [ - "Workload" - ], - "description": "Update a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", - "tags": [ - "Workload" - ], - "description": "Delete a WorkloadResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "workloadName", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - } - }, - "definitions": { - "ActionPerformed": { - "type": "string", - "description": "Specifies the action performed by the approver", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "ActionPerformed", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved", - "description": "ActionPerformed Type Approved" - }, - { - "name": "Rejected", - "value": "Rejected", - "description": "ActionPerformed Type Rejected" - } - ] - } - }, - "ApprovalCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "resourceRequestAction": { - "type": "string", - "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", - "enum": [ - "Create", - "Delete", - "Update", - "Reset" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "approvalCallbackPayload": { - "type": "string", - "description": "Payload requested by client upon approval action" - } - }, - "required": [ - "resourceRequestAction", - "approvalStatus" - ] - }, - "ApprovalCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "ApprovalDeletionCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "resourceRequestAction": { - "type": "string", - "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", - "enum": [ - "Create", - "Delete", - "Update" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "resourceRequestAction" - ] - }, - "ApprovalDeletionCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalDeletionCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "ApprovalPatchResource": { - "type": "object", - "description": "Approvals properties for patching", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "Approval Patch properties" - } - } - }, - "ApprovalPolicy": { - "type": "string", - "description": "Approval Policy.", - "enum": [ - "Required", - "NotRequired" - ], - "x-ms-enum": { - "name": "ApprovalPolicy", - "modelAsString": true, - "values": [ - { - "name": "Required", - "value": "Required", - "description": "Approval will be required for the specified action." - }, - { - "name": "NotRequired", - "value": "NotRequired", - "description": "Approval will not be required for the specified action." - } - ] - } - }, - "ApprovalProperties": { - "type": "object", - "description": "Approvals Resource Properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadata", - "description": "Request metadata for the approval request." - }, - "approvers": { - "type": "array", - "description": "List of approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "mandatoryApprovers": { - "type": "array", - "description": "List of mandatory approvers for the approval request", - "items": { - "$ref": "#/definitions/Approvers" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "minimumApproversRequired": { - "type": "integer", - "format": "int64", - "description": "Minimum number of approvers required for the approval request" - } - } - }, - "ApprovalResource": { - "type": "object", - "description": "Approval Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" - } - ] - }, - "ApprovalResourceListResult": { - "type": "object", - "description": "The response of a ApprovalResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ApprovalResource items on this page", - "items": { - "$ref": "#/definitions/ApprovalResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ApprovalSettings": { - "type": "object", - "description": "ApprovalSettings Properties", - "properties": { - "endpointCreation": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for endpoint creation (Required or NotRequired)." - }, - "endpointUpdate": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for endpoint update (Required or NotRequired)." - }, - "endpointDeletion": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for endpoint deletion (Required or NotRequired)." - }, - "connectionCreation": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for enclave connection creation (Required or NotRequired)." - }, - "connectionUpdate": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for enclave connection update (Required or NotRequired)." - }, - "connectionUpdateMode": { - "type": "string", - "description": "Behavior of enclave connection update workflow after endpoint update is approved (Automatic or Manual).", - "enum": [ - "Automatic", - "Manual" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "connectionDeletion": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for enclave connection deletion (Required or NotRequired)." - }, - "enclaveCreation": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for virtual enclave creation (Required or NotRequired)." - }, - "enclaveDeletion": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for virtual enclave deletion (Required or NotRequired)." - }, - "maintenanceMode": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for toggling maintenance mode (Required or NotRequired)." - }, - "serviceCatalogDeployment": { - "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for deploying service catalog templates (Required or NotRequired)." - } - } - }, - "ApprovalStatus": { - "type": "string", - "description": "Approval Status Enum", - "enum": [ - "Approved", - "Rejected", - "Pending", - "Deleted", - "Expired" - ], - "x-ms-enum": { - "name": "ApprovalStatus", - "modelAsString": true, - "values": [ - { - "name": "Approved", - "value": "Approved", - "description": "ApprovalStatus Type Approved" - }, - { - "name": "Rejected", - "value": "Rejected", - "description": "ApprovalStatus Type Rejected" - }, - { - "name": "Pending", - "value": "Pending", - "description": "ApprovalStatus Type Pending" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "ApprovalStatus Type Deleted" - }, - { - "name": "Expired", - "value": "Expired", - "description": "ApprovalStatus Type Expired" - } - ] - } - }, - "Approvers": { - "type": "object", - "description": "Approver Metadata for approvals request.", - "properties": { - "approverEntraId": { - "type": "string", - "description": "EntraId of the approver" - }, - "actionPerformed": { - "$ref": "#/definitions/ActionPerformed", - "description": "Action Performed by approver" - }, - "lastUpdatedAt": { - "type": "string", - "format": "date-time", - "description": "approval request last updated at" - } - }, - "required": [ - "approverEntraId", - "actionPerformed", - "lastUpdatedAt" - ] - }, - "Azure.Core.azureLocation": { - "type": "string", - "description": "Represents an Azure geography region where supported resource providers live." - }, - "CheckAddressSpaceAvailabilityRequest": { - "type": "object", - "description": "Request to the action call to check address space availability.", - "properties": { - "communityResourceId": { - "type": "string", - "description": "Resource Id of the Community" - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Information about the enclave virtual network" - } - }, - "required": [ - "communityResourceId", - "enclaveVirtualNetwork" - ] - }, - "CheckAddressSpaceAvailabilityResponse": { - "type": "object", - "description": "Response of availability of the requested address space.", - "properties": { - "value": { - "type": "boolean", - "description": "Boolean representing whether the address space is available." - } - }, - "required": [ - "value" - ] - }, - "CommunityEndpointCreateProperties": { - "type": "object", - "description": "Community Endpoint Create properties", - "properties": { - "ruleCollection": { - "type": "array", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - } - }, - "required": [ - "ruleCollection" - ], - "allOf": [ - { - "$ref": "#/definitions/CommunityEndpointProperties" - } - ] - }, - "CommunityEndpointDestinationRule": { - "type": "object", - "description": "Base type for destination rules.", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "destinationType": { - "$ref": "#/definitions/DestinationType", - "description": "Destination Type." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/CommunityEndpointProtocol" - } - }, - "transitHubResourceId": { - "$ref": "#/definitions/TransitHubResourceId", - "description": "Transit Hub Resource Id." - } - } - }, - "CommunityEndpointPatchProperties": { - "type": "object", - "description": "Community Endpoint Patch properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "CommunityEndpointPatchResource": { - "type": "object", - "description": "Community Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPatchProperties", - "description": "Community Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "CommunityEndpointProperties": { - "type": "object", - "description": "Community Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "CommunityEndpointProtocol": { - "type": "string", - "description": "Community Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH", - "HTTPS", - "HTTP" - ], - "x-ms-enum": { - "name": "CommunityEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "CommunityEndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "CommunityEndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "CommunityEndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "CommunityEndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "CommunityEndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "CommunityEndpointProtocol Type AH" - }, - { - "name": "HTTPS", - "value": "HTTPS", - "description": "CommunityEndpointProtocol Type HTTPS" - }, - { - "name": "HTTP", - "value": "HTTP", - "description": "CommunityEndpointProtocol Type HTTP" - } - ] - } - }, - "CommunityEndpointResource": { - "type": "object", - "description": "CommunityEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityEndpointResourceListResult": { - "type": "object", - "description": "The response of a CommunityEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityEndpointResource items on this page", - "items": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "CommunityPatchProperties": { - "type": "object", - "description": "Community Patch Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "approvalSettings": { - "$ref": "#/definitions/ApprovalSettings", - "description": "Approval requirements for various actions on the community's resources." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - } - } - }, - "CommunityPatchResource": { - "type": "object", - "description": "Community Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityPatchProperties", - "description": "Community Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - } - }, - "CommunityProperties": { - "type": "object", - "description": "Community Resource Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "approvalSettings": { - "$ref": "#/definitions/ApprovalSettings", - "description": "Approval requirements for various actions on the community's resources." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", - "items": { - "$ref": "#/definitions/CommunityResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "DestinationEndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" - }, - { - "type": "Microsoft.Mission/communities/communityEndpoints" - } - ] - } - }, - "DestinationType": { - "type": "string", - "description": "Destination Type Enum", - "enum": [ - "FQDN", - "FQDNTag", - "IPAddress", - "PrivateNetwork" - ], - "x-ms-enum": { - "name": "DestinationType", - "modelAsString": true, - "values": [ - { - "name": "FQDN", - "value": "FQDN", - "description": "DestinationType Type FQDN" - }, - { - "name": "FQDNTag", - "value": "FQDNTag", - "description": "DestinationType Type FQDNTag" - }, - { - "name": "IPAddress", - "value": "IPAddress", - "description": "DestinationType Type IPAddress" - }, - { - "name": "PrivateNetwork", - "value": "PrivateNetwork", - "description": "DestinationType Type PrivateNetwork" - } - ] - } - }, - "DiagnosticDestination": { - "type": "string", - "description": "Specifies the destination of where to store diagnostic logs.", - "enum": [ - "CommunityOnly", - "EnclaveOnly", - "Both" - ], - "x-ms-enum": { - "name": "DiagnosticDestination", - "modelAsString": true, - "values": [ - { - "name": "CommunityOnly", - "value": "CommunityOnly", - "description": "DiagnosticDestination Type CommunityOnly" - }, - { - "name": "EnclaveOnly", - "value": "EnclaveOnly", - "description": "DiagnosticDestination Type EnclaveOnly" - }, - { - "name": "Both", - "value": "Both", - "description": "DiagnosticDestination Type Both" - } - ] - } - }, - "EnclaveAddressSpaces": { - "type": "object", - "description": "Enclave Address Spaces", - "properties": { - "enclaveAddressSpace": { - "type": "string", - "description": "Enclave Address Space" - }, - "managedAddressSpace": { - "type": "string", - "description": "Managed Address Space" - } - } - }, - "EnclaveConnectionPatchProperties": { - "type": "object", - "description": "Enclave Connection Patch properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionPatchResource": { - "type": "object", - "description": "Enclave Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPatchProperties", - "description": "Enclave Connection Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EnclaveConnectionProperties": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionResource": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveConnectionResourceListResult": { - "type": "object", - "description": "The response of a EnclaveConnectionResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveConnectionResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveConnectionSourceResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - }, - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "EnclaveConnectionState": { - "type": "string", - "description": "Specifies the state of the enclave connection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed", - "Connected", - "Disconnected" - ], - "x-ms-enum": { - "name": "EnclaveConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "EnclaveConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "EnclaveConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "EnclaveConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "EnclaveConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "EnclaveConnectionState Type Failed" - }, - { - "name": "Connected", - "value": "Connected", - "description": "EnclaveConnectionState Type Connected" - }, - { - "name": "Disconnected", - "value": "Disconnected", - "description": "EnclaveConnectionState Type Disconnected" - } - ] - } - }, - "EnclaveDefaultSettings": { - "type": "object", - "description": "Virtual Enclave Default Settings", - "properties": { - "keyVaultResourceId": { - "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." - }, - "storageAccountResourceId": { - "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." - }, - "logAnalyticsResourceIdCollection": { - "type": "array", - "description": "Log Analytics Resource Ids.", - "items": { - "$ref": "#/definitions/LogAnalyticsResourceId" - } - }, - "diagnosticDestination": { - "$ref": "#/definitions/DiagnosticDestination", - "description": "Diagnostic Destination." - } - } - }, - "EnclaveEndpointDestinationRule": { - "type": "object", - "description": "Enclave Endpoint Rule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/EnclaveEndpointProtocol" - } - } - } - }, - "EnclaveEndpointPatchProperties": { - "type": "object", - "description": "Enclave Endpoint Patch properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "EnclaveEndpointPatchResource": { - "type": "object", - "description": "Enclave Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPatchProperties", - "description": "Enclave Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EnclaveEndpointProperties": { - "type": "object", - "description": "Enclave Endpoint Resource properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "EnclaveEndpointProtocol": { - "type": "string", - "description": "Enclave Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EnclaveEndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EnclaveEndpointResource": { - "type": "object", - "description": "EnclaveEndpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveEndpointResourceListResult": { - "type": "object", - "description": "The response of a EnclaveEndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveEndpointResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveResource": { - "type": "object", - "description": "Virtual Enclave Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EnclaveResourceListResult": { - "type": "object", - "description": "The response of a EnclaveResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EnclaveResource items on this page", - "items": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EnclaveVirtualNetwork": { - "type": "object", - "description": "Enclave Virtual Network Properties", - "properties": { - "name": { - "type": "string", - "description": "Network Name." - }, - "networkSize": { - "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, - "EndpointPatchProperties": { - "type": "object", - "description": "Endpoint Patch properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointPatchResource": { - "type": "object", - "description": "Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointPatchProperties", - "description": "Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionPatchProperties": { - "type": "object", - "description": "External Connection Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionPatchResource": { - "type": "object", - "description": "External Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPatchProperties", - "description": "External Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] - } - }, - "GovernedServiceItem": { - "type": "object", - "description": "GovernedServiceItem Properties", - "properties": { - "id": { - "$ref": "#/definitions/ServiceIdentifier", - "description": "service id" - }, - "name": { - "type": "string", - "description": "service name", - "readOnly": true - }, - "option": { - "type": "string", - "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", - "enum": [ - "Allow", - "Deny", - "ExceptionOnly", - "NotApplicable" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "enforcement": { - "type": "string", - "description": "initiative enforcement (Enabled or Disabled).", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "auditOnly": { - "type": "boolean", - "description": "policies set to auditOnly (True or False)." - }, - "initiatives": { - "type": "array", - "description": "initiatives associated with this service", - "items": { - "type": "string" - }, - "readOnly": true - } - }, - "required": [ - "id" - ] - }, - "IPGroupResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Network/IpGroups" - } - ] - } - }, - "InitiatorCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "approvalStatus" - ] - }, - "InitiatorCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionPatchResource": { - "type": "object", - "description": "Internal Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "Internal Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, - "KeyVaultResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.KeyVault/vaults" - } - ] - } - }, - "LogAnalyticsResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.OperationalInsights/workspaces" - } - ] - } - }, - "MaintenanceModeConfiguration": { - "type": "object", - "description": "Maintenance Mode", - "properties": { - "mode": { - "type": "string", - "description": "Current mode of Maintenance Mode Configuration", - "enum": [ - "On", - "CanNotDelete", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - }, - "principals": { - "type": "array", - "description": "The user, group or service principal object affected by Maintenance Mode", - "items": { - "$ref": "#/definitions/Principal" - } - }, - "justification": { - "type": "string", - "description": "Justification for entering or exiting Maintenance Mode", - "enum": [ - "Networking", - "Governance", - "Off" - ], - "x-ms-enum": { - "modelAsString": true - } - } - } - }, - "ManagedResourceGroupConfiguration": { - "type": "object", - "description": "ManagedResourceGroup related properties", - "properties": { - "name": { - "type": "string", - "description": "Name of managed resource group" - }, - "location": { - "$ref": "#/definitions/Azure.Core.azureLocation", - "description": "The geo-location where the resource lives", - "x-ms-mutability": [ - "read", - "create" - ] - } - } - }, - "Principal": { - "type": "object", - "description": "Principal for maintenance mode or role assignments", - "properties": { - "id": { - "type": "string", - "description": "The object id associated with the principal" - }, - "type": { - "type": "string", - "description": "The type of the object id. We currently allow users, groups, and service principals", - "enum": [ - "User", - "Group", - "ServicePrincipal" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "id", - "type" - ] - }, - "ProvisioningState": { - "type": "string", - "description": "The provisioning status of the resource.", - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "Accepted", - "Created", - "Creating", - "Deleted", - "Deleting", - "NotSpecified", - "Ready", - "Running", - "Updating" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true, - "values": [ - { - "name": "Succeeded", - "value": "Succeeded", - "description": "Resource has been created." - }, - { - "name": "Failed", - "value": "Failed", - "description": "Resource creation failed." - }, - { - "name": "Canceled", - "value": "Canceled", - "description": "Resource creation was canceled." - }, - { - "name": "Accepted", - "value": "Accepted", - "description": "Provisioning State Type Accepted" - }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, - { - "name": "Creating", - "value": "Creating", - "description": "Provisioning State Type Creating" - }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, - { - "name": "Deleting", - "value": "Deleting", - "description": "Provisioning State Type Deleting" - }, - { - "name": "NotSpecified", - "value": "NotSpecified", - "description": "Provisioning State Type NotSpecified" - }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, - { - "name": "Running", - "value": "Running", - "description": "Provisioning State Type Running" - }, - { - "name": "Updating", - "value": "Updating", - "description": "Provisioning State Type Updating" - } - ] - }, - "readOnly": true - }, - "RequestMetadata": { - "type": "object", - "description": "Request Metadata for approvals request.", - "properties": { - "resourceAction": { - "type": "string", - "description": "Resource Action of the item being approved or declined." - }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - }, - "approvalCallbackRoute": { - "type": "string", - "description": "Route name for the approval callback" - }, - "approvalCallbackPayload": { - "type": "string", - "description": "Payload to be sent upon any action on approval request" - } - } - }, - "RoleAssignmentItem": { - "type": "object", - "description": "Role assignment item that indicates which principals should be assigned this role definition", - "properties": { - "id": { - "type": "string", - "description": "Role definition identifier" - }, - "principals": { - "type": "array", - "description": "List of principal IDs to which to assign this role definition", - "items": { - "$ref": "#/definitions/Principal" - } - } - }, - "required": [ - "id" - ] - }, - "ServiceIdentifier": { - "type": "string", - "description": "Identifier for governed services.", - "enum": [ - "AKS", - "AppService", - "AzureFirewalls", - "ContainerRegistry", - "CosmosDB", - "DataConnectors", - "Insights", - "KeyVault", - "Logic", - "MicrosoftSQL", - "Monitoring", - "PostgreSQL", - "PrivateDNSZones", - "ServiceBus", - "Storage" - ], - "x-ms-enum": { - "name": "ServiceIdentifier", - "modelAsString": true, - "values": [ - { - "name": "AKS", - "value": "AKS", - "description": "Service identifier for AKS" - }, - { - "name": "AppService", - "value": "AppService", - "description": "Service identifier for App Service" - }, - { - "name": "AzureFirewalls", - "value": "AzureFirewalls", - "description": "Service identifier for Azure Firewalls" - }, - { - "name": "ContainerRegistry", - "value": "ContainerRegistry", - "description": "Service identifier for Container Registry" - }, - { - "name": "CosmosDB", - "value": "CosmosDB", - "description": "Service identifier for CosmosDB" - }, - { - "name": "DataConnectors", - "value": "DataConnectors", - "description": "Service identifier for Data Connectors" - }, - { - "name": "Insights", - "value": "Insights", - "description": "Service identifier for Insights" - }, - { - "name": "KeyVault", - "value": "KeyVault", - "description": "Service identifier for Key Vault" - }, - { - "name": "Logic", - "value": "Logic", - "description": "Service identifier for Logic" - }, - { - "name": "MicrosoftSql", - "value": "MicrosoftSQL", - "description": "Service identifier for Microsoft SQL" - }, - { - "name": "Monitoring", - "value": "Monitoring", - "description": "Service identifier for Monitoring" - }, - { - "name": "PostgreSql", - "value": "PostgreSQL", - "description": "Service identifier for PostgreSQL" - }, - { - "name": "PrivateDNSZones", - "value": "PrivateDNSZones", - "description": "Service identifier for Private DNS Zones" - }, - { - "name": "ServiceBus", - "value": "ServiceBus", - "description": "Service identifier for Service Bus" - }, - { - "name": "Storage", - "value": "Storage", - "description": "Service identifier for Storage" - } - ] - } - }, - "StorageAccountResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - } - }, - "SubnetConfiguration": { - "type": "object", - "description": "Subnet Configuration", - "properties": { - "name": { - "type": "string", - "description": "Subnet name." - }, - "id": { - "type": "string", - "format": "arm-id", - "description": "Subnet ID.", - "readOnly": true - }, - "networkPrefixSize": { - "type": "integer", - "format": "int32", - "description": "Network prefix size." - }, - "subnetDelegation": { - "type": "string", - "description": "Subnet delegation." - }, - "addressPrefix": { - "type": "string", - "description": "Address prefix.", - "readOnly": true - }, - "networkSecurityGroupId": { - "type": "string", - "format": "arm-id", - "description": "Network security group ID.", - "readOnly": true - } - }, - "required": [ - "name", - "networkPrefixSize" - ] - }, - "TransitHubPatchProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubPatchResource": { - "type": "object", - "description": "TH Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubPatchProperties", - "description": "The TransitHub resource." - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "TransitHubProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubResource": { - "type": "object", - "description": "TransitHub Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "TransitHubResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities/transitHubs" - } - ] - } - }, - "TransitHubResourceListResult": { - "type": "object", - "description": "The response of a TransitHubResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The TransitHubResource items on this page", - "items": { - "$ref": "#/definitions/TransitHubResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "TransitHubState": { - "type": "string", - "description": "Specifies the state of the transitHub.", - "enum": [ - "PendingApproval", - "Approved", - "PendingUpdate", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "TransitHubState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "TransitHubState Type PendingApproval" - }, - { - "name": "Approved", - "value": "Approved", - "description": "TransitHubState Type Approved" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "TransitHubState Type PendingUpdate" - }, - { - "name": "Active", - "value": "Active", - "description": "TransitHubState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "TransitHubState Type Failed" - } - ] - } - }, - "TransitOption": { - "type": "object", - "description": "TransitOption Properties", - "properties": { - "type": { - "$ref": "#/definitions/TransitOptionType", - "description": "Transit Option Type." - }, - "params": { - "$ref": "#/definitions/TransitOptionParams", - "description": "Transit Option Params" - } - } - }, - "TransitOptionParams": { - "type": "object", - "description": "TransitOptionParams Properties", - "properties": { - "scaleUnits": { - "type": "integer", - "format": "int64", - "description": "Transit Option Params scaleUnits." - }, - "remoteVirtualNetworkId": { - "type": "string", - "description": "Transit Option Params remoteVirtualNetworkId." - } - } - }, - "TransitOptionType": { - "type": "string", - "description": "Specifies the type of the transitOption.", - "enum": [ - "ExpressRoute", - "Gateway", - "Peering" - ], - "x-ms-enum": { - "name": "TransitOptionType", - "modelAsString": true, - "values": [ - { - "name": "ExpressRoute", - "value": "ExpressRoute", - "description": "TransitOptionType ExpressRoute" - }, - { - "name": "Gateway", - "value": "Gateway", - "description": "TransitOptionType Gateway" - }, - { - "name": "Peering", - "value": "Peering", - "description": "TransitOptionType Peering" - } - ] - } - }, - "VirtualEnclavePatchProperties": { - "type": "object", - "description": "Virtual Enclave Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "VirtualEnclavePatchResource": { - "type": "object", - "description": "Virtual Enclave Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclavePatchProperties", - "description": "Virtual Enclave Patch properties" - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "VirtualEnclaveProperties": { - "type": "object", - "description": "Virtual Enclave Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." - }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, - "WorkloadPatchProperties": { - "type": "object", - "description": "Workload Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkloadPatchResource": { - "type": "object", - "description": "Workload Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadPatchProperties", - "description": "Workload Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "WorkloadProperties": { - "type": "object", - "description": "Workload Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkloadResource": { - "type": "object", - "description": "Workload Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "WorkloadResourceListResult": { - "type": "object", - "description": "The response of a WorkloadResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The WorkloadResource items on this page", - "items": { - "$ref": "#/definitions/WorkloadResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - } - }, - "parameters": { - "Azure.ResourceManager.ResourceUriParameter": { - "name": "resourceUri", - "in": "path", - "description": "The fully qualified Azure Resource manager identifier of the resource.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "x-ms-skip-url-encoding": true - } - } -} From b51e3cbab87eee502c77e51b6b2f4f98228bd86f Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Fri, 7 Mar 2025 13:12:40 -0500 Subject: [PATCH 62/89] Use Update instead of separately defining the patchable props --- .../mission/Mission.Management/model.tsp | 24 +- .../preview/2024-06-01-preview/openapi.json | 1685 ++++++++-------- .../preview/2024-12-01-preview/openapi.json | 1772 ++++++++--------- 3 files changed, 1601 insertions(+), 1880 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index b8ccab64833c..5fabcfc6af15 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -201,7 +201,7 @@ interface Workload { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< WorkloadResource, - PatchModel = WorkloadPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -223,7 +223,7 @@ interface Endpoint { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EndpointResource, - PatchModel = EndpointPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -245,7 +245,7 @@ interface VirtualEnclave { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveResource, - PatchModel = VirtualEnclavePatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -298,7 +298,7 @@ interface Community { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CommunityResource, - PatchModel = CommunityPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -336,7 +336,7 @@ interface CatalogInterface { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CatalogResource, - PatchModel = CatalogPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -358,7 +358,7 @@ interface InternalConnections { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< InternalConnection, - PatchModel = InternalConnectionPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -381,7 +381,7 @@ interface TransitHub { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< TransitHubResource, - PatchModel = TransitHubPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -404,7 +404,7 @@ interface EnclaveConnection { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveConnectionResource, - PatchModel = EnclaveConnectionPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -444,7 +444,7 @@ interface EnclaveEndpoints { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveEndpointResource, - PatchModel = EnclaveEndpointPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -484,7 +484,7 @@ interface CommunityEndpoints { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CommunityEndpointResource, - PatchModel = CommunityEndpointPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -523,7 +523,7 @@ interface ExternalConnections { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< ExternalConnection, - PatchModel = ExternalConnectionPatchResource + PatchModel = Update >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -547,7 +547,7 @@ interface Approval { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< ApprovalResource, - PatchModel = ApprovalPatchResource + PatchModel = Update >; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 8175d4e382f5..e5ac6dd7d230 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -231,12 +231,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "Approval_Update", + "delete": { + "operationId": "Approval_Delete", "tags": [ "Approval" ], - "description": "Update a ApprovalResource", + "description": "Delete a ApprovalResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -251,26 +251,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -283,6 +268,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -291,21 +279,23 @@ } }, "x-ms-examples": { - "Approval_Update": { - "$ref": "./examples/Approvals_Update.json" + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Approval_Delete", + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/approvals/{name}": { + "patch": { + "operationId": "Approval_Update", "tags": [ "Approval" ], - "description": "Delete a ApprovalResource", + "description": "Update a ApprovalResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -320,11 +310,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/ApprovalResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateApprovalResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -337,9 +345,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -348,8 +353,8 @@ } }, "x-ms-examples": { - "Approval_Delete": { - "$ref": "./examples/Approvals_Delete.json" + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" } }, "x-ms-long-running-operation-options": { @@ -1058,12 +1063,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "Community_Update", + "delete": { + "operationId": "Community_Delete", "tags": [ "Community" ], - "description": "Update a CommunityResource", + "description": "Delete a CommunityResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1081,26 +1086,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1113,6 +1103,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1121,21 +1114,23 @@ } }, "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", "tags": [ "Community" ], - "description": "Delete a CommunityResource", + "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1153,26 +1148,24 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } } ], "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1181,23 +1174,19 @@ } }, "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "Community_CheckAddressSpaceAvailability", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communities/{name}": { + "patch": { + "operationId": "Community_Update", "tags": [ "Community" ], - "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "description": "Update a CommunityResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1217,12 +1206,15 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "checkAddressSpaceAvailabilityRequest", + "$ref": "#/parameters/CommunityResource.name" + }, + { + "name": "properties", "in": "body", - "description": "Check IP Address Space request body.", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + "$ref": "#/definitions/UpdateCommunityResource" } } ], @@ -1230,7 +1222,21 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { @@ -1241,10 +1247,14 @@ } }, "x-ms-examples": { - "Community_CheckAddressSpaceAvailability": { - "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + "Community_Update": { + "$ref": "./examples/Community_Update.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { @@ -1434,12 +1444,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "CommunityEndpoints_Update", + "delete": { + "operationId": "CommunityEndpoints_Delete", "tags": [ "CommunityEndpoints" ], - "description": "Update a CommunityEndpointResource", + "description": "Delete a CommunityEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1465,26 +1475,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1497,6 +1492,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1505,21 +1503,23 @@ } }, "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/communityEndpoints/{name}": { + "patch": { + "operationId": "CommunityEndpoints_Update", "tags": [ "CommunityEndpoints" ], - "description": "Delete a CommunityEndpointResource", + "description": "Update a CommunityEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1545,11 +1545,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/CommunityEndpointResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateCommunityEndpointResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -1562,9 +1580,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1573,8 +1588,8 @@ } }, "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { @@ -1770,12 +1785,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "TransitHub_Update", + "delete": { + "operationId": "TransitHub_Delete", "tags": [ "TransitHub" ], - "description": "Update a TransitHubResource", + "description": "Delete a TransitHubResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1801,26 +1816,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1833,6 +1833,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1841,21 +1844,23 @@ } }, "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}/transitHubs/{name}": { + "patch": { + "operationId": "TransitHub_Update", "tags": [ "TransitHub" ], - "description": "Delete a TransitHubResource", + "description": "Update a TransitHubResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1881,11 +1886,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/TransitHubResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateTransitHubResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -1898,9 +1921,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1909,8 +1929,8 @@ } }, "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2082,12 +2102,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "EnclaveConnection_Update", + "delete": { + "operationId": "EnclaveConnection_Delete", "tags": [ "EnclaveConnection" ], - "description": "Update a EnclaveConnectionResource", + "description": "Delete a EnclaveConnectionResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2105,26 +2125,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2137,6 +2142,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2145,21 +2153,23 @@ } }, "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalCallback", "tags": [ "EnclaveConnection" ], - "description": "Delete a EnclaveConnectionResource", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2177,11 +2187,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -2194,9 +2219,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2205,8 +2227,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" } }, "x-ms-long-running-operation-options": { @@ -2215,13 +2237,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { "post": { - "operationId": "EnclaveConnection_ApprovalCallback", + "operationId": "EnclaveConnection_ApprovalDeletionCallback", "tags": [ "EnclaveConnection" ], - "description": "Callback that triggers on approval state change.", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2246,7 +2268,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" } } ], @@ -2254,7 +2276,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" } }, "202": { @@ -2279,8 +2301,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_ApprovalCallback": { - "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { @@ -2289,13 +2311,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/enclaveConnections/{name}": { + "patch": { + "operationId": "EnclaveConnection_Update", "tags": [ "EnclaveConnection" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Update a EnclaveConnectionResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2315,12 +2337,15 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "body", + "$ref": "#/parameters/EnclaveConnectionResource.name" + }, + { + "name": "properties", "in": "body", - "description": "The content of the action request", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/UpdateEnclaveConnectionResource" } } ], @@ -2328,11 +2353,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/EnclaveConnectionResource" } }, "202": { - "description": "Resource operation accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2353,8 +2378,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2526,12 +2551,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "ExternalConnections_Update", + "delete": { + "operationId": "ExternalConnections_Delete", "tags": [ "ExternalConnections" ], - "description": "Update a ExternalConnection", + "description": "Delete a ExternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2549,26 +2574,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2581,6 +2591,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2589,21 +2602,23 @@ } }, "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}/externalConnections/{name}": { + "patch": { + "operationId": "ExternalConnections_Update", "tags": [ "ExternalConnections" ], - "description": "Delete a ExternalConnection", + "description": "Update a ExternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2621,11 +2636,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/ExternalConnection.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateExternalConnection" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2638,9 +2671,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2649,8 +2679,8 @@ } }, "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2822,12 +2852,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "InternalConnections_Update", + "delete": { + "operationId": "InternalConnections_Delete", "tags": [ "InternalConnections" ], - "description": "Update a InternalConnection", + "description": "Delete a InternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2845,26 +2875,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2877,6 +2892,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2885,21 +2903,23 @@ } }, "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}/internalConnections/{name}": { + "patch": { + "operationId": "InternalConnections_Update", "tags": [ "InternalConnections" ], - "description": "Delete a InternalConnection", + "description": "Update a InternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2917,12 +2937,30 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { + }, + { + "$ref": "#/parameters/InternalConnection.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateInternalConnection" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { "Location": { "type": "string", "description": "The Location header contains the URL where the status of the long running operation can be checked." @@ -2934,9 +2972,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2945,8 +2980,8 @@ } }, "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" } }, "x-ms-long-running-operation-options": { @@ -3118,78 +3153,6 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualEnclavePatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, "delete": { "operationId": "VirtualEnclave_Delete", "tags": [ @@ -3438,12 +3401,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "EnclaveEndpoints_Update", + "delete": { + "operationId": "EnclaveEndpoints_Delete", "tags": [ "EnclaveEndpoints" ], - "description": "Update a EnclaveEndpointResource", + "description": "Delete a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3469,26 +3432,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -3501,6 +3449,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -3509,21 +3460,23 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/enclaveEndpoints/{name}": { + "patch": { + "operationId": "EnclaveEndpoints_Update", "tags": [ "EnclaveEndpoints" ], - "description": "Delete a EnclaveEndpointResource", + "description": "Update a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3549,11 +3502,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/EnclaveEndpointResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateEnclaveEndpointResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -3566,9 +3537,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3577,8 +3545,8 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { @@ -3774,12 +3742,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "Endpoint_Update", + "delete": { + "operationId": "Endpoint_Delete", "tags": [ "Endpoint" ], - "description": "Update a EndpointResource", + "description": "Delete a EndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3805,26 +3773,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -3837,6 +3790,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -3845,21 +3801,23 @@ } }, "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}/endpoints/{name}": { + "patch": { + "operationId": "Endpoint_Update", "tags": [ "Endpoint" ], - "description": "Delete a EndpointResource", + "description": "Update a EndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3885,11 +3843,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/EndpointResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateEndpointResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -3902,9 +3878,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3913,8 +3886,8 @@ } }, "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" } }, "x-ms-long-running-operation-options": { @@ -3923,13 +3896,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/virtualEnclaves/{name}": { + "patch": { + "operationId": "VirtualEnclave_Update", "tags": [ - "Workload" + "VirtualEnclave" ], - "description": "List WorkloadResource resources by EnclaveResource", + "description": "Update a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3947,24 +3920,101 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/EnclaveResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateEnclaveResource" + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" + "$ref": "#/definitions/EnclaveResource" } }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Workload_ListByEnclaveResource": { + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { "$ref": "./examples/Workload_ListByEnclaveResource.json" } }, @@ -4110,12 +4160,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "Workload_Update", + "delete": { + "operationId": "Workload_Delete", "tags": [ "Workload" ], - "description": "Update a WorkloadResource", + "description": "Delete a WorkloadResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4141,26 +4191,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -4173,6 +4208,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -4181,21 +4219,23 @@ } }, "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}/workloads/{name}": { + "patch": { + "operationId": "Workload_Update", "tags": [ "Workload" ], - "description": "Delete a WorkloadResource", + "description": "Update a WorkloadResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4221,11 +4261,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/WorkloadResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateWorkloadResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -4238,9 +4296,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -4249,8 +4304,8 @@ } }, "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" } }, "x-ms-long-running-operation-options": { @@ -4347,16 +4402,6 @@ "message" ] }, - "ApprovalPatchResource": { - "type": "object", - "description": "Approvals properties for patching", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "Approval Patch properties" - } - } - }, "ApprovalProperties": { "type": "object", "description": "Approvals Resource Properties", @@ -4515,53 +4560,6 @@ } } }, - "CommunityEndpointPatchProperties": { - "type": "object", - "description": "Community Endpoint Patch properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "CommunityEndpointPatchResource": { - "type": "object", - "description": "Community Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPatchProperties", - "description": "Community Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -4689,67 +4687,6 @@ "value" ] }, - "CommunityPatchProperties": { - "type": "object", - "description": "Community Patch Properties", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - } - } - }, - "CommunityPatchResource": { - "type": "object", - "description": "Community Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityPatchProperties", - "description": "Community Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - } - }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -4938,9 +4875,9 @@ } } }, - "EnclaveConnectionPatchProperties": { + "EnclaveConnectionProperties": { "type": "object", - "description": "Enclave Connection Patch properties", + "description": "Enclave Connection Resource properties", "properties": { "state": { "$ref": "#/definitions/EnclaveConnectionState", @@ -4980,73 +4917,14 @@ } } }, - "EnclaveConnectionPatchResource": { + "EnclaveConnectionResource": { "type": "object", - "description": "Enclave Connection Patch Resource", + "description": "EnclaveConnection Model Resource", "properties": { "properties": { - "$ref": "#/definitions/EnclaveConnectionPatchProperties", - "description": "Enclave Connection Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EnclaveConnectionProperties": { - "type": "object", - "description": "Enclave Connection Resource properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionResource": { - "type": "object", - "description": "EnclaveConnection Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true } }, "allOf": [ @@ -5195,53 +5073,6 @@ } } }, - "EnclaveEndpointPatchProperties": { - "type": "object", - "description": "Enclave Endpoint Patch properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "EnclaveEndpointPatchResource": { - "type": "object", - "description": "Enclave Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPatchProperties", - "description": "Enclave Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -5431,44 +5262,6 @@ } } }, - "EndpointPatchProperties": { - "type": "object", - "description": "Endpoint Patch properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointPatchResource": { - "type": "object", - "description": "Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointPatchProperties", - "description": "Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -5646,63 +5439,6 @@ "value" ] }, - "ExternalConnectionPatchProperties": { - "type": "object", - "description": "External Connection Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionPatchResource": { - "type": "object", - "description": "External Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPatchProperties", - "description": "External Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "ExternalConnectionProperties": { "type": "object", "description": "Describes the properties of an External Connection.", @@ -5909,23 +5645,6 @@ "value" ] }, - "InternalConnectionPatchResource": { - "type": "object", - "description": "Internal Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "Internal Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "InternalConnectionProperties": { "type": "object", "description": "Describes the properties of an Internal Connection.", @@ -6399,49 +6118,6 @@ "networkPrefixSize" ] }, - "TransitHubPatchProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubPatchResource": { - "type": "object", - "description": "TH Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubPatchProperties", - "description": "The TransitHub resource." - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", @@ -6618,60 +6294,101 @@ ] } }, - "VirtualEnclavePatchProperties": { + "UpdateApprovalResource": { "type": "object", - "description": "Virtual Enclave Patch properties", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." - }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + } + }, + "UpdateCommunityEndpointResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateCommunityResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { "type": "string" } + } + } + }, + "UpdateEnclaveConnectionResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateEnclaveEndpointResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } } } }, - "VirtualEnclavePatchResource": { + "UpdateEnclaveResource": { "type": "object", - "description": "Virtual Enclave Patch Resource", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclavePatchProperties", - "description": "Virtual Enclave Patch properties" + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", @@ -6686,6 +6403,96 @@ } } }, + "UpdateEndpointResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateExternalConnection": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateInternalConnection": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateTransitHubResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateWorkloadResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "VirtualEnclaveProperties": { "type": "object", "description": "Virtual Enclave Resource properties", @@ -6745,41 +6552,6 @@ ] } }, - "WorkloadPatchProperties": { - "type": "object", - "description": "Workload Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkloadPatchResource": { - "type": "object", - "description": "Workload Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadPatchProperties", - "description": "Workload Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", @@ -6837,6 +6609,15 @@ } }, "parameters": { + "ApprovalResource.name": { + "name": "name", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, "Azure.ResourceManager.ResourceUriParameter": { "name": "resourceUri", "in": "path", @@ -6845,6 +6626,96 @@ "type": "string", "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true + }, + "CommunityEndpointResource.name": { + "name": "name", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "CommunityResource.name": { + "name": "name", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "EnclaveConnectionResource.name": { + "name": "name", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "EnclaveEndpointResource.name": { + "name": "name", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "EnclaveResource.name": { + "name": "name", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "EndpointResource.name": { + "name": "name", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "ExternalConnection.name": { + "name": "name", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "InternalConnection.name": { + "name": "name", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "TransitHubResource.name": { + "name": "name", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "WorkloadResource.name": { + "name": "name", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" } } } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index de14c64c920f..9eae05a7b95e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -231,12 +231,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "Approval_Update", + "delete": { + "operationId": "Approval_Delete", "tags": [ "Approval" ], - "description": "Update a ApprovalResource", + "description": "Delete a ApprovalResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -251,26 +251,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -283,6 +268,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -291,21 +279,23 @@ } }, "x-ms-examples": { - "Approval_Update": { - "$ref": "./examples/Approvals_Update.json" + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Approval_Delete", + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/approvals/{name}": { + "patch": { + "operationId": "Approval_Update", "tags": [ "Approval" ], - "description": "Delete a ApprovalResource", + "description": "Update a ApprovalResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -320,11 +310,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/ApprovalResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateApprovalResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -337,9 +345,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -348,8 +353,8 @@ } }, "x-ms-examples": { - "Approval_Delete": { - "$ref": "./examples/Approvals_Delete.json" + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" } }, "x-ms-long-running-operation-options": { @@ -1058,12 +1063,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "Community_Update", + "delete": { + "operationId": "Community_Delete", "tags": [ "Community" ], - "description": "Update a CommunityResource", + "description": "Delete a CommunityResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1081,26 +1086,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1113,6 +1103,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1121,21 +1114,23 @@ } }, "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Community_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", "tags": [ "Community" ], - "description": "Delete a CommunityResource", + "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1153,26 +1148,24 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } } ], "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1181,23 +1174,19 @@ } }, "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "Community_CheckAddressSpaceAvailability", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communities/{name}": { + "patch": { + "operationId": "Community_Update", "tags": [ "Community" ], - "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "description": "Update a CommunityResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1217,12 +1206,15 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "checkAddressSpaceAvailabilityRequest", + "$ref": "#/parameters/CommunityResource.name" + }, + { + "name": "properties", "in": "body", - "description": "Check IP Address Space request body.", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + "$ref": "#/definitions/UpdateCommunityResource" } } ], @@ -1230,7 +1222,21 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { @@ -1241,10 +1247,14 @@ } }, "x-ms-examples": { - "Community_CheckAddressSpaceAvailability": { - "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + "Community_Update": { + "$ref": "./examples/Community_Update.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { @@ -1434,12 +1444,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "CommunityEndpoints_Update", + "delete": { + "operationId": "CommunityEndpoints_Delete", "tags": [ "CommunityEndpoints" ], - "description": "Update a CommunityEndpointResource", + "description": "Delete a CommunityEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1465,26 +1475,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/CommunityEndpointPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1497,6 +1492,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1505,21 +1503,23 @@ } }, "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "CommunityEndpoints_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalCallback": { + "post": { + "operationId": "CommunityEndpoints_ApprovalCallback", "tags": [ "CommunityEndpoints" ], - "description": "Delete a CommunityEndpointResource", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1545,11 +1545,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -1562,9 +1577,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1573,8 +1585,8 @@ } }, "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" + "CommunityEndpoints_ApprovalCallback": { + "$ref": "./examples/CommunityEndpoints_PostApprovalCallback.json" } }, "x-ms-long-running-operation-options": { @@ -1583,13 +1595,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalCallback": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalDeletionCallback": { "post": { - "operationId": "CommunityEndpoints_ApprovalCallback", + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", "tags": [ "CommunityEndpoints" ], - "description": "Callback that triggers on approval state change.", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1622,7 +1634,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" } } ], @@ -1630,7 +1642,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" } }, "202": { @@ -1655,9 +1667,9 @@ } }, "x-ms-examples": { - "CommunityEndpoints_ApprovalCallback": { - "$ref": "./examples/CommunityEndpoints_PostApprovalCallback.json" - } + "CommunityEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/CommunityEndpoints_ApprovalDeletionCallback.json" + } }, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -1665,13 +1677,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalDeletionCallback": { - "post": { - "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/communityEndpoints/{name}": { + "patch": { + "operationId": "CommunityEndpoints_Update", "tags": [ "CommunityEndpoints" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Update a CommunityEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1699,12 +1711,15 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "body", + "$ref": "#/parameters/CommunityEndpointResource.name" + }, + { + "name": "properties", "in": "body", - "description": "The content of the action request", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/UpdateCommunityEndpointResource" } } ], @@ -1712,11 +1727,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/CommunityEndpointResource" } }, "202": { - "description": "Resource operation accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -1737,8 +1752,8 @@ } }, "x-ms-examples": { - "CommunityEndpoints_ApprovalDeletionCallback": { - "$ref": "./examples/CommunityEndpoints_ApprovalDeletionCallback.json" + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { @@ -1934,12 +1949,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "TransitHub_Update", + "delete": { + "operationId": "TransitHub_Delete", "tags": [ "TransitHub" ], - "description": "Update a TransitHubResource", + "description": "Delete a TransitHubResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1965,26 +1980,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/TransitHubPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1997,6 +1997,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2005,21 +2008,23 @@ } }, "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "TransitHub_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}/transitHubs/{name}": { + "patch": { + "operationId": "TransitHub_Update", "tags": [ "TransitHub" ], - "description": "Delete a TransitHubResource", + "description": "Update a TransitHubResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2045,11 +2050,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/TransitHubResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateTransitHubResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2062,9 +2085,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2073,8 +2093,8 @@ } }, "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2246,12 +2266,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "EnclaveConnection_Update", + "delete": { + "operationId": "EnclaveConnection_Delete", "tags": [ "EnclaveConnection" ], - "description": "Update a EnclaveConnectionResource", + "description": "Delete a EnclaveConnectionResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2269,26 +2289,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveConnectionPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2301,6 +2306,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2309,21 +2317,23 @@ } }, "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveConnection_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalCallback", "tags": [ "EnclaveConnection" ], - "description": "Delete a EnclaveConnectionResource", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2341,11 +2351,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -2358,9 +2383,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2369,8 +2391,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" } }, "x-ms-long-running-operation-options": { @@ -2379,13 +2401,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { "post": { - "operationId": "EnclaveConnection_ApprovalCallback", + "operationId": "EnclaveConnection_ApprovalDeletionCallback", "tags": [ "EnclaveConnection" ], - "description": "Callback that triggers on approval state change.", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2410,7 +2432,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" } } ], @@ -2418,7 +2440,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" } }, "202": { @@ -2443,8 +2465,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_ApprovalCallback": { - "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { @@ -2453,13 +2475,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/enclaveConnections/{name}": { + "patch": { + "operationId": "EnclaveConnection_Update", "tags": [ "EnclaveConnection" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Update a EnclaveConnectionResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2479,12 +2501,15 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "body", + "$ref": "#/parameters/EnclaveConnectionResource.name" + }, + { + "name": "properties", "in": "body", - "description": "The content of the action request", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/UpdateEnclaveConnectionResource" } } ], @@ -2492,11 +2517,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/EnclaveConnectionResource" } }, "202": { - "description": "Resource operation accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2517,8 +2542,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2690,12 +2715,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "ExternalConnections_Update", + "delete": { + "operationId": "ExternalConnections_Delete", "tags": [ "ExternalConnections" ], - "description": "Update a ExternalConnection", + "description": "Delete a ExternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2713,26 +2738,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/ExternalConnectionPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2745,6 +2755,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2753,21 +2766,23 @@ } }, "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "ExternalConnections_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}/externalConnections/{name}": { + "patch": { + "operationId": "ExternalConnections_Update", "tags": [ "ExternalConnections" ], - "description": "Delete a ExternalConnection", + "description": "Update a ExternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2785,11 +2800,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/ExternalConnection.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateExternalConnection" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2802,9 +2835,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2813,8 +2843,8 @@ } }, "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2986,12 +3016,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "InternalConnections_Update", + "delete": { + "operationId": "InternalConnections_Delete", "tags": [ "InternalConnections" ], - "description": "Update a InternalConnection", + "description": "Delete a InternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3009,26 +3039,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -3041,6 +3056,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -3049,21 +3067,23 @@ } }, "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}/internalConnections/{name}": { + "patch": { + "operationId": "InternalConnections_Update", "tags": [ "InternalConnections" ], - "description": "Delete a InternalConnection", + "description": "Update a InternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3081,11 +3101,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/InternalConnection.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateInternalConnection" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -3098,9 +3136,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3109,8 +3144,8 @@ } }, "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" } }, "x-ms-long-running-operation-options": { @@ -3282,78 +3317,6 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualEnclavePatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, "delete": { "operationId": "VirtualEnclave_Delete", "tags": [ @@ -3750,12 +3713,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "EnclaveEndpoints_Update", + "delete": { + "operationId": "EnclaveEndpoints_Delete", "tags": [ "EnclaveEndpoints" ], - "description": "Update a EnclaveEndpointResource", + "description": "Delete a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3781,26 +3744,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -3813,6 +3761,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -3821,21 +3772,23 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { + "post": { + "operationId": "EnclaveEndpoints_ApprovalCallback", "tags": [ "EnclaveEndpoints" ], - "description": "Delete a EnclaveEndpointResource", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3861,11 +3814,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -3878,9 +3846,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3889,8 +3854,8 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" + "EnclaveEndpoints_ApprovalCallback": { + "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" } }, "x-ms-long-running-operation-options": { @@ -3899,13 +3864,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { "post": { - "operationId": "EnclaveEndpoints_ApprovalCallback", + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", "tags": [ "EnclaveEndpoints" ], - "description": "Callback that triggers on approval state change.", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3938,7 +3903,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" } } ], @@ -3946,7 +3911,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" } }, "202": { @@ -3971,8 +3936,8 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_ApprovalCallback": { - "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" + "EnclaveEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { @@ -3981,13 +3946,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/enclaveEndpoints/{name}": { + "patch": { + "operationId": "EnclaveEndpoints_Update", "tags": [ "EnclaveEndpoints" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Update a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4015,12 +3980,15 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "body", + "$ref": "#/parameters/EnclaveEndpointResource.name" + }, + { + "name": "properties", "in": "body", - "description": "The content of the action request", + "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/UpdateEnclaveEndpointResource" } } ], @@ -4028,11 +3996,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/EnclaveEndpointResource" } }, "202": { - "description": "Resource operation accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -4053,8 +4021,8 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { @@ -4250,12 +4218,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "Endpoint_Update", + "delete": { + "operationId": "Endpoint_Delete", "tags": [ "Endpoint" ], - "description": "Update a EndpointResource", + "description": "Delete a EndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4281,26 +4249,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -4313,6 +4266,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -4321,21 +4277,23 @@ } }, "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}/endpoints/{name}": { + "patch": { + "operationId": "Endpoint_Update", "tags": [ "Endpoint" ], - "description": "Delete a EndpointResource", + "description": "Update a EndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4361,11 +4319,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/EndpointResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateEndpointResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -4378,8 +4354,82 @@ } } }, - "204": { - "description": "Resource does not exist." + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/virtualEnclaves/{name}": { + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/EnclaveResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateEnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } }, "default": { "description": "An unexpected error response.", @@ -4389,8 +4439,8 @@ } }, "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" } }, "x-ms-long-running-operation-options": { @@ -4586,12 +4636,12 @@ }, "x-ms-long-running-operation": true }, - "patch": { - "operationId": "Workload_Update", + "delete": { + "operationId": "Workload_Delete", "tags": [ "Workload" ], - "description": "Update a WorkloadResource", + "description": "Delete a WorkloadResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4617,26 +4667,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadPatchResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -4649,6 +4684,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -4657,21 +4695,23 @@ } }, "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Workload_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}/workloads/{name}": { + "patch": { + "operationId": "Workload_Update", "tags": [ "Workload" ], - "description": "Delete a WorkloadResource", + "description": "Update a WorkloadResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4697,11 +4737,29 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "$ref": "#/parameters/WorkloadResource.name" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateWorkloadResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -4714,9 +4772,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -4725,8 +4780,8 @@ } }, "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" } }, "x-ms-long-running-operation-options": { @@ -4846,16 +4901,6 @@ "message" ] }, - "ApprovalPatchResource": { - "type": "object", - "description": "Approvals properties for patching", - "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "Approval Patch properties" - } - } - }, "ApprovalPolicy": { "type": "string", "description": "Approval Policy.", @@ -5182,49 +5227,6 @@ } } }, - "CommunityEndpointPatchProperties": { - "type": "object", - "description": "Community Endpoint Patch properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "CommunityEndpointPatchResource": { - "type": "object", - "description": "Community Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointPatchProperties", - "description": "Community Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -5348,9 +5350,9 @@ "value" ] }, - "CommunityPatchProperties": { + "CommunityProperties": { "type": "object", - "description": "Community Patch Properties", + "description": "Community Resource Properties", "properties": { "addressSpace": { "type": "string", @@ -5403,121 +5405,45 @@ } } }, - "CommunityPatchResource": { + "CommunityResource": { "type": "object", - "description": "Community Patch Resource", + "description": "Community Model Resource", "properties": { "properties": { - "$ref": "#/definitions/CommunityPatchProperties", - "description": "Community Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, "identity": { "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] } }, - "CommunityProperties": { + "CommunityResourceListResult": { "type": "object", - "description": "Community Resource Properties", + "description": "The response of a CommunityResource list operation.", "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { + "value": { "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "approvalSettings": { - "$ref": "#/definitions/ApprovalSettings", - "description": "Approval requirements for various actions on the community's resources." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." - } - } - }, - "CommunityResource": { - "type": "object", - "description": "Community Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "CommunityResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/communities" - } - ] - } - }, - "CommunityResourceListResult": { - "type": "object", - "description": "The response of a CommunityResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The CommunityResource items on this page", + "description": "The CommunityResource items on this page", "items": { "$ref": "#/definitions/CommunityResource" } @@ -5627,65 +5553,6 @@ } } }, - "EnclaveConnectionPatchProperties": { - "type": "object", - "description": "Enclave Connection Patch properties", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "EnclaveConnectionPatchResource": { - "type": "object", - "description": "Enclave Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionPatchProperties", - "description": "Enclave Connection Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", @@ -5884,49 +5751,6 @@ } } }, - "EnclaveEndpointPatchProperties": { - "type": "object", - "description": "Enclave Endpoint Patch properties", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EnclaveEndpointPatchResource": { - "type": "object", - "description": "Enclave Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointPatchProperties", - "description": "Enclave Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -6112,44 +5936,6 @@ } } }, - "EndpointPatchProperties": { - "type": "object", - "description": "Endpoint Patch properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointPatchResource": { - "type": "object", - "description": "Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointPatchProperties", - "description": "Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -6327,63 +6113,6 @@ "value" ] }, - "ExternalConnectionPatchProperties": { - "type": "object", - "description": "External Connection Resource properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "ExternalConnectionPatchResource": { - "type": "object", - "description": "External Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionPatchProperties", - "description": "External Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "ExternalConnectionProperties": { "type": "object", "description": "Describes the properties of an External Connection.", @@ -6590,23 +6319,6 @@ "value" ] }, - "InternalConnectionPatchResource": { - "type": "object", - "description": "Internal Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "Internal Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "InternalConnectionProperties": { "type": "object", "description": "Describes the properties of an Internal Connection.", @@ -7121,49 +6833,6 @@ "networkPrefixSize" ] }, - "TransitHubPatchProperties": { - "type": "object", - "description": "Describes the properties of an Transit Hub.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." - }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { - "type": "string" - } - } - } - }, - "TransitHubPatchResource": { - "type": "object", - "description": "TH Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/TransitHubPatchProperties", - "description": "The TransitHub resource." - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", @@ -7340,78 +7009,195 @@ ] } }, - "VirtualEnclavePatchProperties": { + "UpdateApprovalResource": { "type": "object", - "description": "Virtual Enclave Patch properties", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + } + }, + "UpdateCommunityEndpointResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", - "description": "Virtual Network." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateCommunityResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateEnclaveConnectionResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateEnclaveEndpointResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { "type": "string" } + } + } + }, + "UpdateEnclaveResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateEndpointResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/EndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "bastionEnabled": { - "type": "boolean", - "description": "Deploy Bastion service (True or False)." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateExternalConnection": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/ExternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "enclaveRoleAssignments": { - "type": "array", - "description": "Enclave role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" } + } + } + }, + "UpdateInternalConnection": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/InternalConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "workloadRoleAssignments": { - "type": "array", - "description": "Workload role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" } } } }, - "VirtualEnclavePatchResource": { + "UpdateTransitHubResource": { "type": "object", - "description": "Virtual Enclave Patch Resource", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { "properties": { - "$ref": "#/definitions/VirtualEnclavePatchProperties", - "description": "Virtual Enclave Patch properties" + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "UpdateWorkloadResource": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true }, "tags": { "type": "object", @@ -7495,41 +7281,6 @@ ] } }, - "WorkloadPatchProperties": { - "type": "object", - "description": "Workload Patch properties", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "WorkloadPatchResource": { - "type": "object", - "description": "Workload Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadPatchProperties", - "description": "Workload Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", @@ -7587,6 +7338,15 @@ } }, "parameters": { + "ApprovalResource.name": { + "name": "name", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, "Azure.ResourceManager.ResourceUriParameter": { "name": "resourceUri", "in": "path", @@ -7595,6 +7355,96 @@ "type": "string", "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true + }, + "CommunityEndpointResource.name": { + "name": "name", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "CommunityResource.name": { + "name": "name", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "EnclaveConnectionResource.name": { + "name": "name", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "EnclaveEndpointResource.name": { + "name": "name", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "EnclaveResource.name": { + "name": "name", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "EndpointResource.name": { + "name": "name", + "in": "path", + "description": "The name of the endpointResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "ExternalConnection.name": { + "name": "name", + "in": "path", + "description": "The name of the external connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "InternalConnection.name": { + "name": "name", + "in": "path", + "description": "The name of the internal connection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "TransitHubResource.name": { + "name": "name", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" + }, + "WorkloadResource.name": { + "name": "name", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", + "x-ms-parameter-location": "method" } } } From 8100474a35a99d036c95d0f51615bec188e37a05 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Fri, 7 Mar 2025 13:29:06 -0500 Subject: [PATCH 63/89] Use Update on patchResources --- .../mission/Mission.Management/model.tsp | 24 +- .../resourcetypes/approvals/approvals.tsp | 2 +- .../resourcetypes/catalog/catalog.tsp | 2 +- .../resourcetypes/community/community.tsp | 2 +- .../communityEndpoint/communityEndpoint.tsp | 8 +- .../enclaveConnection/enclaveConnection.tsp | 2 +- .../enclaveEndpoint/enclaveEndpoint.tsp | 2 +- .../resourcetypes/endpoint/endpoint.tsp | 3 +- .../externalConnection/externalConnection.tsp | 3 +- .../internalConnection/internalConnection.tsp | 2 +- .../resourcetypes/shared/tags.tsp | 12 - .../resourcetypes/transitHub/transitHub.tsp | 3 +- .../virtualEnclave/virtualenclave.tsp | 3 +- .../resourcetypes/workload/workload.tsp | 3 +- .../preview/2024-06-01-preview/openapi.json | 1581 ++++++++------- .../preview/2024-12-01-preview/openapi.json | 1696 ++++++++++------- 16 files changed, 1888 insertions(+), 1460 deletions(-) delete mode 100644 specification/mission/Mission.Management/resourcetypes/shared/tags.tsp diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 5fabcfc6af15..b8ccab64833c 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -201,7 +201,7 @@ interface Workload { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< WorkloadResource, - PatchModel = Update + PatchModel = WorkloadPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -223,7 +223,7 @@ interface Endpoint { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EndpointResource, - PatchModel = Update + PatchModel = EndpointPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -245,7 +245,7 @@ interface VirtualEnclave { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveResource, - PatchModel = Update + PatchModel = VirtualEnclavePatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -298,7 +298,7 @@ interface Community { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CommunityResource, - PatchModel = Update + PatchModel = CommunityPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -336,7 +336,7 @@ interface CatalogInterface { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CatalogResource, - PatchModel = Update + PatchModel = CatalogPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -358,7 +358,7 @@ interface InternalConnections { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< InternalConnection, - PatchModel = Update + PatchModel = InternalConnectionPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -381,7 +381,7 @@ interface TransitHub { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< TransitHubResource, - PatchModel = Update + PatchModel = TransitHubPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -404,7 +404,7 @@ interface EnclaveConnection { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveConnectionResource, - PatchModel = Update + PatchModel = EnclaveConnectionPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -444,7 +444,7 @@ interface EnclaveEndpoints { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveEndpointResource, - PatchModel = Update + PatchModel = EnclaveEndpointPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -484,7 +484,7 @@ interface CommunityEndpoints { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CommunityEndpointResource, - PatchModel = Update + PatchModel = CommunityEndpointPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -523,7 +523,7 @@ interface ExternalConnections { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< ExternalConnection, - PatchModel = Update + PatchModel = ExternalConnectionPatchResource >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" #suppress "deprecated" "Backwards compatibility" @@ -547,7 +547,7 @@ interface Approval { @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< ApprovalResource, - PatchModel = Update + PatchModel = ApprovalPatchResource >; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index 79d82e9eaebc..2df5a93d60c5 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -124,5 +124,5 @@ model ApprovalProperties { @doc("Approvals properties for patching") model ApprovalPatchResource { @doc("Approval Patch properties") - properties?: ApprovalProperties; + properties?: Update; } diff --git a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp index 0c8aece75eee..9f770eb0f052 100644 --- a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp +++ b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp @@ -81,7 +81,7 @@ model CatalogPatchProperties is CatalogProperties; @doc("Catalog Patch Resource") model CatalogPatchResource { @doc("Catalog Patch properties") - properties?: CatalogPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index b60af342e9ee..830faa368939 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -251,7 +251,7 @@ model CommunityPatchProperties is CommunityProperties; @doc("Community Patch Resource") model CommunityPatchResource { @doc("Community Patch properties") - properties?: CommunityPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; ...ManagedServiceIdentityProperty; diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index 5fec62bf5c95..83a0a3aaa5e3 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -126,19 +126,13 @@ model CommunityEndpointProperties { approvalRequired?: boolean; } -// @doc("Community Endpoint Create properties") -// model CommunityEndpointCreateProperties { -// ruleCollection: CommunityEndpointDestinationRule[]; -// ...CommunityEndpointProperties; -// } - @doc("Community Endpoint Patch properties") model CommunityEndpointPatchProperties is CommunityEndpointProperties; @doc("Community Endpoint Patch Resource") model CommunityEndpointPatchResource { @doc("Community Endpoint Patch properties") - properties?: CommunityEndpointPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp index 4bd620885815..29acd7e8be8a 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp @@ -75,7 +75,7 @@ model EnclaveConnectionPatchProperties is EnclaveConnectionProperties; @doc("Enclave Connection Patch Resource") model EnclaveConnectionPatchResource { @doc("Enclave Connection Patch properties") - properties?: EnclaveConnectionPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index 8c0df995528f..53f4bd3379db 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -97,7 +97,7 @@ model EnclaveEndpointPatchProperties is EnclaveEndpointProperties; @doc("Enclave Endpoint Patch Resource") model EnclaveEndpointPatchResource { @doc("Enclave Endpoint Patch properties") - properties?: EnclaveEndpointPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp index e553918c6a77..2bb20c182991 100644 --- a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp @@ -79,10 +79,11 @@ model EndpointProperties { @doc("Endpoint Patch properties") model EndpointPatchProperties is EndpointProperties; + @doc("Endpoint Patch Resource") model EndpointPatchResource { @doc("Endpoint Patch properties") - properties?: EndpointPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp index 0dcd7e91f577..6a2e1c3f98ce 100644 --- a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp @@ -53,10 +53,11 @@ model ExternalConnectionProperties { @doc("External Connection Resource properties") model ExternalConnectionPatchProperties is ExternalConnectionProperties; + @doc("External Connection Patch Resource") model ExternalConnectionPatchResource { @doc("External Connection properties") - properties?: ExternalConnectionPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp index 12521486a7ab..e97d4e67371e 100644 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -90,7 +90,7 @@ model InternalConnectionPatchProperties is InternalConnectionProperties; @doc("Internal Connection Patch Resource") model InternalConnectionPatchResource { @doc("Internal Connection properties") - properties?: InternalConnectionProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/shared/tags.tsp b/specification/mission/Mission.Management/resourcetypes/shared/tags.tsp deleted file mode 100644 index 98d09af1cb37..000000000000 --- a/specification/mission/Mission.Management/resourcetypes/shared/tags.tsp +++ /dev/null @@ -1,12 +0,0 @@ -import "@azure-tools/typespec-azure-resource-manager"; - -@doc("Microsoft Mission Resource Provider management API.") -namespace Microsoft.Mission; - -using Azure.ResourceManager; - -@doc("Tags associated with the resource.") -model TagsProperty { - @doc("Tags associated with the resource.") - tags?: Azure.ResourceManager.Foundations.ArmTagsProperty; -} diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index fcb2ddd7f4d9..af1c40b3b8cb 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -4,7 +4,6 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "../shared/provisioningstate.tsp"; -import "../shared/tags.tsp"; using TypeSpec.Http; using TypeSpec.Rest; @@ -89,7 +88,7 @@ model TransitHubPatchProperties is TransitHubProperties; @doc("TH Patch Resource") model TransitHubPatchResource { @doc("The TransitHub resource.") - properties?: TransitHubPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 7d496faf3d1c..97482aa12212 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -9,7 +9,6 @@ import "../shared/resourceid.tsp"; import "../shared/managedresourcegroupconfiguration.tsp"; import "../shared/principal.tsp"; import "../shared/roleassignmentitem.tsp"; -import "../shared/tags.tsp"; using TypeSpec.Http; using TypeSpec.Rest; @@ -192,7 +191,7 @@ model VirtualEnclavePatchProperties is VirtualEnclaveProperties; @doc("Virtual Enclave Patch Resource") model VirtualEnclavePatchResource { @doc("Virtual Enclave Patch properties") - properties?: VirtualEnclavePatchProperties; + properties?: Update; ...ManagedServiceIdentityProperty; ...Azure.ResourceManager.Foundations.ArmTagsProperty; diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 8fe19841972c..281ab7fa1a70 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -5,7 +5,6 @@ import "@azure-tools/typespec-azure-resource-manager"; import "../shared/provisioningstate.tsp"; import "../shared/resourceid.tsp"; -import "../shared/tags.tsp"; import "../virtualEnclave/virtualenclave.tsp"; using TypeSpec.Rest; @@ -55,7 +54,7 @@ model WorkloadPatchProperties is WorkloadProperties; @doc("Workload Patch Resource") model WorkloadPatchResource { @doc("Workload Patch properties") - properties?: WorkloadPatchProperties; + properties?: Update; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index e5ac6dd7d230..196004a550c1 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -231,12 +231,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Approval_Delete", + "patch": { + "operationId": "Approval_Update", "tags": [ "Approval" ], - "description": "Delete a ApprovalResource", + "description": "Update a ApprovalResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -251,11 +251,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -268,9 +283,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -279,23 +291,21 @@ } }, "x-ms-examples": { - "Approval_Delete": { - "$ref": "./examples/Approvals_Delete.json" + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/approvals/{name}": { - "patch": { - "operationId": "Approval_Update", + }, + "delete": { + "operationId": "Approval_Delete", "tags": [ "Approval" ], - "description": "Update a ApprovalResource", + "description": "Delete a ApprovalResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -310,29 +320,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/ApprovalResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateApprovalResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -345,6 +337,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -353,8 +348,8 @@ } }, "x-ms-examples": { - "Approval_Update": { - "$ref": "./examples/Approvals_Update.json" + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -1063,12 +1058,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Community_Delete", + "patch": { + "operationId": "Community_Update", "tags": [ "Community" ], - "description": "Delete a CommunityResource", + "description": "Update a CommunityResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1086,11 +1081,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -1103,9 +1113,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1114,23 +1121,21 @@ } }, "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" + "Community_Update": { + "$ref": "./examples/Community_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "Community_CheckAddressSpaceAvailability", + }, + "delete": { + "operationId": "Community_Delete", "tags": [ "Community" ], - "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "description": "Delete a CommunityResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1148,24 +1153,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1174,19 +1181,23 @@ } }, "x-ms-examples": { - "Community_CheckAddressSpaceAvailability": { - "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communities/{name}": { - "patch": { - "operationId": "Community_Update", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", "tags": [ "Community" ], - "description": "Update a CommunityResource", + "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1206,15 +1217,12 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "$ref": "#/parameters/CommunityResource.name" - }, - { - "name": "properties", + "name": "checkAddressSpaceAvailabilityRequest", "in": "body", - "description": "The resource properties to be updated.", + "description": "Check IP Address Space request body.", "required": true, "schema": { - "$ref": "#/definitions/UpdateCommunityResource" + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" } } ], @@ -1222,21 +1230,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" } }, "default": { @@ -1247,14 +1241,10 @@ } }, "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { @@ -1444,12 +1434,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "CommunityEndpoints_Delete", + "patch": { + "operationId": "CommunityEndpoints_Update", "tags": [ "CommunityEndpoints" ], - "description": "Delete a CommunityEndpointResource", + "description": "Update a CommunityEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1475,11 +1465,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -1492,9 +1497,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1503,23 +1505,21 @@ } }, "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/communityEndpoints/{name}": { - "patch": { - "operationId": "CommunityEndpoints_Update", + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", "tags": [ "CommunityEndpoints" ], - "description": "Update a CommunityEndpointResource", + "description": "Delete a CommunityEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1545,29 +1545,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/CommunityEndpointResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateCommunityEndpointResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CommunityEndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1580,6 +1562,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1588,8 +1573,8 @@ } }, "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -1785,12 +1770,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "TransitHub_Delete", + "patch": { + "operationId": "TransitHub_Update", "tags": [ "TransitHub" ], - "description": "Delete a TransitHubResource", + "description": "Update a TransitHubResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1816,13 +1801,28 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubPatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { "type": "string", "description": "The Location header contains the URL where the status of the long running operation can be checked." }, @@ -1833,9 +1833,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1844,23 +1841,21 @@ } }, "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}/transitHubs/{name}": { - "patch": { - "operationId": "TransitHub_Update", + }, + "delete": { + "operationId": "TransitHub_Delete", "tags": [ "TransitHub" ], - "description": "Update a TransitHubResource", + "description": "Delete a TransitHubResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1886,29 +1881,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/TransitHubResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateTransitHubResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1921,6 +1898,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1929,8 +1909,8 @@ } }, "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -2102,12 +2082,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "EnclaveConnection_Delete", + "patch": { + "operationId": "EnclaveConnection_Update", "tags": [ "EnclaveConnection" ], - "description": "Delete a EnclaveConnectionResource", + "description": "Update a EnclaveConnectionResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2125,11 +2105,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2142,9 +2137,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2153,23 +2145,21 @@ } }, "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalCallback", + }, + "delete": { + "operationId": "EnclaveConnection_Delete", "tags": [ "EnclaveConnection" ], - "description": "Callback that triggers on approval state change.", + "description": "Delete a EnclaveConnectionResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2187,26 +2177,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, "202": { - "description": "Resource operation accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2219,6 +2194,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2227,8 +2205,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_ApprovalCallback": { - "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -2237,13 +2215,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { "post": { - "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "operationId": "EnclaveConnection_ApprovalCallback", "tags": [ "EnclaveConnection" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2268,7 +2246,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/ApprovalCallbackRequest" } } ], @@ -2276,7 +2254,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalCallbackResponse" } }, "202": { @@ -2301,8 +2279,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" } }, "x-ms-long-running-operation-options": { @@ -2311,13 +2289,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/enclaveConnections/{name}": { - "patch": { - "operationId": "EnclaveConnection_Update", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalDeletionCallback", "tags": [ "EnclaveConnection" ], - "description": "Update a EnclaveConnectionResource", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2337,15 +2315,12 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "$ref": "#/parameters/EnclaveConnectionResource.name" - }, - { - "name": "properties", + "name": "body", "in": "body", - "description": "The resource properties to be updated.", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/UpdateEnclaveConnectionResource" + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" } } ], @@ -2353,11 +2328,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" } }, "202": { - "description": "Resource update request accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -2378,8 +2353,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { @@ -2551,12 +2526,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "ExternalConnections_Delete", + "patch": { + "operationId": "ExternalConnections_Update", "tags": [ "ExternalConnections" ], - "description": "Delete a ExternalConnection", + "description": "Update a ExternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2574,11 +2549,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2591,9 +2581,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2602,23 +2589,21 @@ } }, "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}/externalConnections/{name}": { - "patch": { - "operationId": "ExternalConnections_Update", + }, + "delete": { + "operationId": "ExternalConnections_Delete", "tags": [ "ExternalConnections" ], - "description": "Update a ExternalConnection", + "description": "Delete a ExternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2636,29 +2621,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/ExternalConnection.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateExternalConnection" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2671,6 +2638,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2679,8 +2649,8 @@ } }, "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -2852,12 +2822,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "InternalConnections_Delete", + "patch": { + "operationId": "InternalConnections_Update", "tags": [ "InternalConnections" ], - "description": "Delete a InternalConnection", + "description": "Update a InternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2875,11 +2845,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2892,9 +2877,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2903,23 +2885,21 @@ } }, "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}/internalConnections/{name}": { - "patch": { - "operationId": "InternalConnections_Update", + }, + "delete": { + "operationId": "InternalConnections_Delete", "tags": [ "InternalConnections" ], - "description": "Update a InternalConnection", + "description": "Delete a InternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2937,29 +2917,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/InternalConnection.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateInternalConnection" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2972,6 +2934,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2980,8 +2945,8 @@ } }, "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -3153,6 +3118,78 @@ }, "x-ms-long-running-operation": true }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualEnclavePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, "delete": { "operationId": "VirtualEnclave_Delete", "tags": [ @@ -3401,12 +3438,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", + "patch": { + "operationId": "EnclaveEndpoints_Update", "tags": [ "EnclaveEndpoints" ], - "description": "Delete a EnclaveEndpointResource", + "description": "Update a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3432,11 +3469,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -3449,9 +3501,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3460,23 +3509,21 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/enclaveEndpoints/{name}": { - "patch": { - "operationId": "EnclaveEndpoints_Update", + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", "tags": [ "EnclaveEndpoints" ], - "description": "Update a EnclaveEndpointResource", + "description": "Delete a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3502,29 +3549,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/EnclaveEndpointResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateEnclaveEndpointResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -3537,6 +3566,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -3545,8 +3577,8 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -3742,12 +3774,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Endpoint_Delete", + "patch": { + "operationId": "Endpoint_Update", "tags": [ "Endpoint" ], - "description": "Delete a EndpointResource", + "description": "Update a EndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3773,11 +3805,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -3790,9 +3837,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3801,23 +3845,21 @@ } }, "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}/endpoints/{name}": { - "patch": { - "operationId": "Endpoint_Update", + }, + "delete": { + "operationId": "Endpoint_Delete", "tags": [ "Endpoint" ], - "description": "Update a EndpointResource", + "description": "Delete a EndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3843,29 +3885,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/EndpointResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateEndpointResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -3878,6 +3902,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -3886,8 +3913,8 @@ } }, "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -3896,13 +3923,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/virtualEnclaves/{name}": { - "patch": { - "operationId": "VirtualEnclave_Update", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", "tags": [ - "VirtualEnclave" + "Workload" ], - "description": "Update a EnclaveResource", + "description": "List WorkloadResource resources by EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3920,90 +3947,13 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/EnclaveResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateEnclaveResource" - } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResourceListResult" + "$ref": "#/definitions/WorkloadResourceListResult" } }, "default": { @@ -4160,12 +4110,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Workload_Delete", + "patch": { + "operationId": "Workload_Update", "tags": [ "Workload" ], - "description": "Delete a WorkloadResource", + "description": "Update a WorkloadResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4191,11 +4141,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -4208,9 +4173,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -4219,23 +4181,21 @@ } }, "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}/workloads/{name}": { - "patch": { - "operationId": "Workload_Update", + }, + "delete": { + "operationId": "Workload_Delete", "tags": [ "Workload" ], - "description": "Update a WorkloadResource", + "description": "Delete a WorkloadResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4261,29 +4221,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/WorkloadResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateWorkloadResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -4296,6 +4238,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -4304,8 +4249,8 @@ } }, "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -4402,6 +4347,16 @@ "message" ] }, + "ApprovalPatchResource": { + "type": "object", + "description": "Approvals properties for patching", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateApprovalProperties", + "description": "Approval Patch properties" + } + } + }, "ApprovalProperties": { "type": "object", "description": "Approvals Resource Properties", @@ -4560,6 +4515,23 @@ } } }, + "CommunityEndpointPatchResource": { + "type": "object", + "description": "Community Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateCommunityEndpointPatchProperties", + "description": "Community Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -4687,6 +4659,27 @@ "value" ] }, + "CommunityPatchResource": { + "type": "object", + "description": "Community Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateCommunityPatchProperties", + "description": "Community Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -4875,6 +4868,23 @@ } } }, + "EnclaveConnectionPatchResource": { + "type": "object", + "description": "Enclave Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateEnclaveConnectionPatchProperties", + "description": "Enclave Connection Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", @@ -5073,6 +5083,23 @@ } } }, + "EnclaveEndpointPatchResource": { + "type": "object", + "description": "Enclave Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateEnclaveEndpointPatchProperties", + "description": "Enclave Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -5262,6 +5289,23 @@ } } }, + "EndpointPatchResource": { + "type": "object", + "description": "Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateEndpointPatchProperties", + "description": "Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -5439,6 +5483,23 @@ "value" ] }, + "ExternalConnectionPatchResource": { + "type": "object", + "description": "External Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateExternalConnectionPatchProperties", + "description": "External Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "ExternalConnectionProperties": { "type": "object", "description": "Describes the properties of an External Connection.", @@ -5645,6 +5706,23 @@ "value" ] }, + "InternalConnectionPatchResource": { + "type": "object", + "description": "Internal Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateInternalConnectionProperties", + "description": "Internal Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "InternalConnectionProperties": { "type": "object", "description": "Describes the properties of an Internal Connection.", @@ -6118,6 +6196,23 @@ "networkPrefixSize" ] }, + "TransitHubPatchResource": { + "type": "object", + "description": "TH Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateTransitHubPatchProperties", + "description": "The TransitHub resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", @@ -6294,195 +6389,383 @@ ] } }, - "UpdateApprovalResource": { + "UpdateApprovalProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." } } }, - "UpdateCommunityEndpointResource": { + "UpdateCommunityEndpointPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { "type": "string" } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." } } }, - "UpdateCommunityResource": { + "UpdateCommunityPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "addressSpace": { + "type": "string", + "description": "Address Space." }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { "type": "string" } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } } } }, - "UpdateEnclaveConnectionResource": { + "UpdateEnclaveConnectionPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { "type": "string" } } } }, - "UpdateEnclaveEndpointResource": { + "UpdateEnclaveEndpointPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { "type": "string" } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." } } }, - "UpdateEnclaveResource": { + "UpdateEndpointPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "UpdateExternalConnectionPatchProperties": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { "type": "string" } } } }, - "UpdateEndpointResource": { + "UpdateInternalConnectionProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { "type": "string" } } } }, - "UpdateExternalConnection": { + "UpdateTransitHubPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { "type": "string" } } } }, - "UpdateInternalConnection": { + "UpdateVirtualEnclavePatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { "type": "string" } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." } } }, - "UpdateTransitHubResource": { + "UpdateWorkloadPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { "type": "string" } } } }, - "UpdateWorkloadResource": { + "VirtualEnclavePatchResource": { "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "$ref": "#/definitions/UpdateVirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." }, "tags": { "type": "object", @@ -6552,6 +6835,23 @@ ] } }, + "WorkloadPatchResource": { + "type": "object", + "description": "Workload Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateWorkloadPatchProperties", + "description": "Workload Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", @@ -6609,15 +6909,6 @@ } }, "parameters": { - "ApprovalResource.name": { - "name": "name", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, "Azure.ResourceManager.ResourceUriParameter": { "name": "resourceUri", "in": "path", @@ -6626,96 +6917,6 @@ "type": "string", "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true - }, - "CommunityEndpointResource.name": { - "name": "name", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "CommunityResource.name": { - "name": "name", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "EnclaveConnectionResource.name": { - "name": "name", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "EnclaveEndpointResource.name": { - "name": "name", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "EnclaveResource.name": { - "name": "name", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "EndpointResource.name": { - "name": "name", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "ExternalConnection.name": { - "name": "name", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "InternalConnection.name": { - "name": "name", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "TransitHubResource.name": { - "name": "name", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "WorkloadResource.name": { - "name": "name", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" } } } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 9eae05a7b95e..3de9194dfecd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -231,12 +231,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Approval_Delete", + "patch": { + "operationId": "Approval_Update", "tags": [ "Approval" ], - "description": "Delete a ApprovalResource", + "description": "Update a ApprovalResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -251,11 +251,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -268,9 +283,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -279,23 +291,21 @@ } }, "x-ms-examples": { - "Approval_Delete": { - "$ref": "./examples/Approvals_Delete.json" + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/approvals/{name}": { - "patch": { - "operationId": "Approval_Update", + }, + "delete": { + "operationId": "Approval_Delete", "tags": [ "Approval" ], - "description": "Update a ApprovalResource", + "description": "Delete a ApprovalResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -310,29 +320,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/ApprovalResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateApprovalResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -345,6 +337,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -353,8 +348,8 @@ } }, "x-ms-examples": { - "Approval_Update": { - "$ref": "./examples/Approvals_Update.json" + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -1063,12 +1058,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Community_Delete", + "patch": { + "operationId": "Community_Update", "tags": [ "Community" ], - "description": "Delete a CommunityResource", + "description": "Update a CommunityResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1086,11 +1081,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -1103,9 +1113,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1114,23 +1121,21 @@ } }, "x-ms-examples": { - "Community_Delete": { - "$ref": "./examples/Community_Delete.json" + "Community_Update": { + "$ref": "./examples/Community_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { - "post": { - "operationId": "Community_CheckAddressSpaceAvailability", + }, + "delete": { + "operationId": "Community_Delete", "tags": [ "Community" ], - "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "description": "Delete a CommunityResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1148,24 +1153,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "checkAddressSpaceAvailabilityRequest", - "in": "body", - "description": "Check IP Address Space request body.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1174,19 +1181,23 @@ } }, "x-ms-examples": { - "Community_CheckAddressSpaceAvailability": { - "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communities/{name}": { - "patch": { - "operationId": "Community_Update", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", "tags": [ "Community" ], - "description": "Update a CommunityResource", + "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1206,15 +1217,12 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "$ref": "#/parameters/CommunityResource.name" - }, - { - "name": "properties", + "name": "checkAddressSpaceAvailabilityRequest", "in": "body", - "description": "The resource properties to be updated.", + "description": "Check IP Address Space request body.", "required": true, "schema": { - "$ref": "#/definitions/UpdateCommunityResource" + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" } } ], @@ -1222,21 +1230,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CommunityResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" } }, "default": { @@ -1247,14 +1241,10 @@ } }, "x-ms-examples": { - "Community_Update": { - "$ref": "./examples/Community_Update.json" + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { @@ -1444,12 +1434,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "CommunityEndpoints_Delete", + "patch": { + "operationId": "CommunityEndpoints_Update", "tags": [ "CommunityEndpoints" ], - "description": "Delete a CommunityEndpointResource", + "description": "Update a CommunityEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1475,11 +1465,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -1492,9 +1497,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -1503,23 +1505,21 @@ } }, "x-ms-examples": { - "CommunityEndpoints_Delete": { - "$ref": "./examples/CommunityEndpoints_Delete.json" + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalCallback": { - "post": { - "operationId": "CommunityEndpoints_ApprovalCallback", + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", "tags": [ "CommunityEndpoints" ], - "description": "Callback that triggers on approval state change.", + "description": "Delete a CommunityEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1545,26 +1545,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, "202": { - "description": "Resource operation accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -1577,6 +1562,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -1585,8 +1573,8 @@ } }, "x-ms-examples": { - "CommunityEndpoints_ApprovalCallback": { - "$ref": "./examples/CommunityEndpoints_PostApprovalCallback.json" + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -1595,13 +1583,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalDeletionCallback": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalCallback": { "post": { - "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "operationId": "CommunityEndpoints_ApprovalCallback", "tags": [ "CommunityEndpoints" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1634,7 +1622,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/ApprovalCallbackRequest" } } ], @@ -1642,7 +1630,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalCallbackResponse" } }, "202": { @@ -1667,9 +1655,9 @@ } }, "x-ms-examples": { - "CommunityEndpoints_ApprovalDeletionCallback": { - "$ref": "./examples/CommunityEndpoints_ApprovalDeletionCallback.json" - } + "CommunityEndpoints_ApprovalCallback": { + "$ref": "./examples/CommunityEndpoints_PostApprovalCallback.json" + } }, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -1677,13 +1665,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/communityEndpoints/{name}": { - "patch": { - "operationId": "CommunityEndpoints_Update", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/approvalDeletionCallback": { + "post": { + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", "tags": [ "CommunityEndpoints" ], - "description": "Update a CommunityEndpointResource", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1711,15 +1699,12 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "$ref": "#/parameters/CommunityEndpointResource.name" - }, - { - "name": "properties", + "name": "body", "in": "body", - "description": "The resource properties to be updated.", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/UpdateCommunityEndpointResource" + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" } } ], @@ -1727,11 +1712,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/CommunityEndpointResource" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" } }, "202": { - "description": "Resource update request accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -1752,8 +1737,8 @@ } }, "x-ms-examples": { - "CommunityEndpoints_Update": { - "$ref": "./examples/CommunityEndpoints_Update.json" + "CommunityEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/CommunityEndpoints_ApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { @@ -1949,12 +1934,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "TransitHub_Delete", + "patch": { + "operationId": "TransitHub_Update", "tags": [ "TransitHub" ], - "description": "Delete a TransitHubResource", + "description": "Update a TransitHubResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -1980,11 +1965,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -1997,9 +1997,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2008,23 +2005,21 @@ } }, "x-ms-examples": { - "TransitHub_Delete": { - "$ref": "./examples/TransitHub_Delete.json" + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}/transitHubs/{name}": { - "patch": { - "operationId": "TransitHub_Update", + }, + "delete": { + "operationId": "TransitHub_Delete", "tags": [ "TransitHub" ], - "description": "Update a TransitHubResource", + "description": "Delete a TransitHubResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2050,29 +2045,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/TransitHubResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateTransitHubResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/TransitHubResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2085,6 +2062,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2093,8 +2073,8 @@ } }, "x-ms-examples": { - "TransitHub_Update": { - "$ref": "./examples/TransitHub_Update.json" + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -2266,12 +2246,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "EnclaveConnection_Delete", + "patch": { + "operationId": "EnclaveConnection_Update", "tags": [ "EnclaveConnection" ], - "description": "Delete a EnclaveConnectionResource", + "description": "Update a EnclaveConnectionResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2289,11 +2269,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2306,9 +2301,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2317,23 +2309,21 @@ } }, "x-ms-examples": { - "EnclaveConnection_Delete": { - "$ref": "./examples/EnclaveConnection_Delete.json" + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { - "post": { - "operationId": "EnclaveConnection_ApprovalCallback", + }, + "delete": { + "operationId": "EnclaveConnection_Delete", "tags": [ "EnclaveConnection" ], - "description": "Callback that triggers on approval state change.", + "description": "Delete a EnclaveConnectionResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2351,26 +2341,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, "202": { - "description": "Resource operation accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2383,6 +2358,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2391,8 +2369,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_ApprovalCallback": { - "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -2401,13 +2379,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalCallback": { "post": { - "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "operationId": "EnclaveConnection_ApprovalCallback", "tags": [ "EnclaveConnection" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2432,7 +2410,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/ApprovalCallbackRequest" } } ], @@ -2440,7 +2418,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalCallbackResponse" } }, "202": { @@ -2465,8 +2443,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" + "EnclaveConnection_ApprovalCallback": { + "$ref": "./examples/EnclaveConnection_PostApprovalCallback.json" } }, "x-ms-long-running-operation-options": { @@ -2475,13 +2453,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/enclaveConnections/{name}": { - "patch": { - "operationId": "EnclaveConnection_Update", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveConnection_ApprovalDeletionCallback", "tags": [ "EnclaveConnection" ], - "description": "Update a EnclaveConnectionResource", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2501,15 +2479,12 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "$ref": "#/parameters/EnclaveConnectionResource.name" - }, - { - "name": "properties", + "name": "body", "in": "body", - "description": "The resource properties to be updated.", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/UpdateEnclaveConnectionResource" + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" } } ], @@ -2517,11 +2492,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EnclaveConnectionResource" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" } }, "202": { - "description": "Resource update request accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -2542,8 +2517,8 @@ } }, "x-ms-examples": { - "EnclaveConnection_Update": { - "$ref": "./examples/EnclaveConnection_Update.json" + "EnclaveConnection_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveConnection_ApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { @@ -2715,12 +2690,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "ExternalConnections_Delete", + "patch": { + "operationId": "ExternalConnections_Update", "tags": [ "ExternalConnections" ], - "description": "Delete a ExternalConnection", + "description": "Update a ExternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2738,11 +2713,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ExternalConnectionPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExternalConnection" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -2755,9 +2745,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -2766,23 +2753,21 @@ } }, "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" + "ExternalConnections_Update": { + "$ref": "./examples/ExternalConnections_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}/externalConnections/{name}": { - "patch": { - "operationId": "ExternalConnections_Update", + }, + "delete": { + "operationId": "ExternalConnections_Delete", "tags": [ "ExternalConnections" ], - "description": "Update a ExternalConnection", + "description": "Delete a ExternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2800,29 +2785,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/ExternalConnection.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateExternalConnection" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnection" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -2835,6 +2802,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -2843,8 +2813,8 @@ } }, "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" + "ExternalConnections_Delete": { + "$ref": "./examples/ExternalConnections_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -3016,12 +2986,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "InternalConnections_Delete", + "patch": { + "operationId": "InternalConnections_Update", "tags": [ "InternalConnections" ], - "description": "Delete a InternalConnection", + "description": "Update a InternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3039,11 +3009,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/InternalConnectionPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InternalConnection" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -3056,9 +3041,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3067,23 +3049,21 @@ } }, "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" + "InternalConnections_Update": { + "$ref": "./examples/InternalConnections_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}/internalConnections/{name}": { - "patch": { - "operationId": "InternalConnections_Update", + }, + "delete": { + "operationId": "InternalConnections_Delete", "tags": [ "InternalConnections" ], - "description": "Update a InternalConnection", + "description": "Delete a InternalConnection", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3101,29 +3081,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/InternalConnection.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateInternalConnection" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -3136,6 +3098,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -3144,8 +3109,8 @@ } }, "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" + "InternalConnections_Delete": { + "$ref": "./examples/InternalConnections_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -3317,6 +3282,78 @@ }, "x-ms-long-running-operation": true }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualEnclavePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, "delete": { "operationId": "VirtualEnclave_Delete", "tags": [ @@ -3713,12 +3750,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", + "patch": { + "operationId": "EnclaveEndpoints_Update", "tags": [ "EnclaveEndpoints" ], - "description": "Delete a EnclaveEndpointResource", + "description": "Update a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3744,11 +3781,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -3761,9 +3813,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3772,23 +3821,21 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { - "post": { - "operationId": "EnclaveEndpoints_ApprovalCallback", + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", "tags": [ "EnclaveEndpoints" ], - "description": "Callback that triggers on approval state change.", + "description": "Delete a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3814,26 +3861,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, "202": { - "description": "Resource operation accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -3846,6 +3878,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -3854,8 +3889,8 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_ApprovalCallback": { - "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -3864,13 +3899,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { "post": { - "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "operationId": "EnclaveEndpoints_ApprovalCallback", "tags": [ "EnclaveEndpoints" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3903,7 +3938,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/ApprovalCallbackRequest" } } ], @@ -3911,7 +3946,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalCallbackResponse" } }, "202": { @@ -3936,8 +3971,8 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" + "EnclaveEndpoints_ApprovalCallback": { + "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" } }, "x-ms-long-running-operation-options": { @@ -3946,13 +3981,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/enclaveEndpoints/{name}": { - "patch": { - "operationId": "EnclaveEndpoints_Update", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", "tags": [ "EnclaveEndpoints" ], - "description": "Update a EnclaveEndpointResource", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3980,15 +4015,12 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "$ref": "#/parameters/EnclaveEndpointResource.name" - }, - { - "name": "properties", + "name": "body", "in": "body", - "description": "The resource properties to be updated.", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/UpdateEnclaveEndpointResource" + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" } } ], @@ -3996,11 +4028,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" } }, "202": { - "description": "Resource update request accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -4021,8 +4053,8 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" + "EnclaveEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { @@ -4218,12 +4250,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Endpoint_Delete", + "patch": { + "operationId": "Endpoint_Update", "tags": [ "Endpoint" ], - "description": "Delete a EndpointResource", + "description": "Update a EndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4249,11 +4281,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EndpointPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EndpointResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -4266,9 +4313,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -4277,23 +4321,21 @@ } }, "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" + "Endpoint_Update": { + "$ref": "./examples/Endpoint_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}/endpoints/{name}": { - "patch": { - "operationId": "Endpoint_Update", + }, + "delete": { + "operationId": "Endpoint_Delete", "tags": [ "Endpoint" ], - "description": "Update a EndpointResource", + "description": "Delete a EndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4319,29 +4361,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/EndpointResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateEndpointResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -4354,82 +4378,8 @@ } } }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/virtualEnclaves/{name}": { - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/EnclaveResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateEnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } + "204": { + "description": "Resource does not exist." }, "default": { "description": "An unexpected error response.", @@ -4439,8 +4389,8 @@ } }, "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" + "Endpoint_Delete": { + "$ref": "./examples/Endpoint_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -4636,12 +4586,12 @@ }, "x-ms-long-running-operation": true }, - "delete": { - "operationId": "Workload_Delete", + "patch": { + "operationId": "Workload_Update", "tags": [ "Workload" ], - "description": "Delete a WorkloadResource", + "description": "Update a WorkloadResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4667,11 +4617,26 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadPatchResource" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource update request accepted.", "headers": { "Location": { "type": "string", @@ -4684,9 +4649,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -4695,23 +4657,21 @@ } }, "x-ms-examples": { - "Workload_Delete": { - "$ref": "./examples/Workload_Delete.json" + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}/workloads/{name}": { - "patch": { - "operationId": "Workload_Update", + }, + "delete": { + "operationId": "Workload_Delete", "tags": [ "Workload" ], - "description": "Update a WorkloadResource", + "description": "Delete a WorkloadResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4737,29 +4697,11 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "$ref": "#/parameters/WorkloadResource.name" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateWorkloadResource" - } } ], "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/WorkloadResource" - } - }, "202": { - "description": "Resource update request accepted.", + "description": "Resource deletion accepted.", "headers": { "Location": { "type": "string", @@ -4772,6 +4714,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -4780,8 +4725,8 @@ } }, "x-ms-examples": { - "Workload_Update": { - "$ref": "./examples/Workload_Update.json" + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -4901,6 +4846,16 @@ "message" ] }, + "ApprovalPatchResource": { + "type": "object", + "description": "Approvals properties for patching", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateApprovalProperties", + "description": "Approval Patch properties" + } + } + }, "ApprovalPolicy": { "type": "string", "description": "Approval Policy.", @@ -5227,6 +5182,23 @@ } } }, + "CommunityEndpointPatchResource": { + "type": "object", + "description": "Community Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateCommunityEndpointPatchProperties", + "description": "Community Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -5350,6 +5322,27 @@ "value" ] }, + "CommunityPatchResource": { + "type": "object", + "description": "Community Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateCommunityPatchProperties", + "description": "Community Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + } + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", @@ -5553,6 +5546,23 @@ } } }, + "EnclaveConnectionPatchResource": { + "type": "object", + "description": "Enclave Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateEnclaveConnectionPatchProperties", + "description": "Enclave Connection Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", @@ -5751,6 +5761,23 @@ } } }, + "EnclaveEndpointPatchResource": { + "type": "object", + "description": "Enclave Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateEnclaveEndpointPatchProperties", + "description": "Enclave Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -5936,6 +5963,23 @@ } } }, + "EndpointPatchResource": { + "type": "object", + "description": "Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateEndpointPatchProperties", + "description": "Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "EndpointProperties": { "type": "object", "description": "Endpoint Resource properties", @@ -6113,20 +6157,37 @@ "value" ] }, - "ExternalConnectionProperties": { + "ExternalConnectionPatchResource": { "type": "object", - "description": "Describes the properties of an External Connection.", + "description": "External Connection Patch Resource", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." + "properties": { + "$ref": "#/definitions/UpdateExternalConnectionPatchProperties", + "description": "External Connection properties" }, - "communityResourceId": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ExternalConnectionProperties": { + "type": "object", + "description": "Describes the properties of an External Connection.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { "$ref": "#/definitions/CommunityResourceId", "description": "Community Resource Id." }, @@ -6319,6 +6380,23 @@ "value" ] }, + "InternalConnectionPatchResource": { + "type": "object", + "description": "Internal Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateInternalConnectionProperties", + "description": "Internal Connection properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "InternalConnectionProperties": { "type": "object", "description": "Describes the properties of an Internal Connection.", @@ -6833,6 +6911,23 @@ "networkPrefixSize" ] }, + "TransitHubPatchResource": { + "type": "object", + "description": "TH Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateTransitHubPatchProperties", + "description": "The TransitHub resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", @@ -7009,195 +7104,428 @@ ] } }, - "UpdateApprovalResource": { + "UpdateApprovalProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/ApprovalProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approver" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "ticketId": { + "type": "string", + "description": "Ticket ID for the approval request" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Approval request creation time" + }, + "stateChangedAt": { + "type": "string", + "format": "date-time", + "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." } } }, - "UpdateCommunityEndpointResource": { + "UpdateCommunityEndpointPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/CommunityEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { "type": "string" } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true } } }, - "UpdateCommunityResource": { + "UpdateCommunityPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/CommunityProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "addressSpace": { + "type": "string", + "description": "Address Space." }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." + "dnsServers": { + "type": "array", + "description": "Dns Servers.", + "items": { + "type": "string" + } }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { "type": "string" } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." } } }, - "UpdateEnclaveConnectionResource": { + "UpdateEnclaveConnectionPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/EnclaveConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection." }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id." + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "ipGroup": { + "$ref": "#/definitions/IPGroupResourceId", + "description": "Source IP group Resource Id." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id." + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { "type": "string" } } } }, - "UpdateEnclaveEndpointResource": { + "UpdateEnclaveEndpointPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/EnclaveEndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { "type": "string" } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true } } }, - "UpdateEnclaveResource": { + "UpdateEndpointPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/VirtualEnclaveProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "endpointRuleCollection": { + "type": "array", + "description": "Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EndpointRule" + }, + "x-ms-identifiers": [ + "name" + ] }, - "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", - "description": "The managed service identities assigned to this resource." + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + } + }, + "UpdateExternalConnectionPatchProperties": { + "type": "object", + "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "state": { + "$ref": "#/definitions/ExternalConnectionState", + "description": "The state of the externalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveIds": { + "type": "array", + "description": "The enclaves' resource IDs.", + "items": { + "$ref": "#/definitions/VirtualEnclaveResourceId" + } + }, + "externalCidrs": { + "type": "array", + "description": "The external CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by externalConnections.", + "items": { "type": "string" } } } }, - "UpdateEndpointResource": { + "UpdateInternalConnectionProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "connectionType": { + "$ref": "#/definitions/InternalConnectionType", + "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" + }, + "state": { + "$ref": "#/definitions/InternalConnectionState", + "description": "The state of the internalConnection." + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "destinationEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The destination enclave's resource ID." + }, + "destinationEndpointId": { + "$ref": "#/definitions/EndpointResourceId", + "description": "The destination endpoint's resource ID." + }, + "sourceEnclaveId": { + "$ref": "#/definitions/VirtualEnclaveResourceId", + "description": "The source enclave's resource ID." + }, + "sourceCidrs": { + "type": "array", + "description": "The source CIDR IP addresses.", + "items": { + "type": "string" + } + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by internalConnections.", + "items": { "type": "string" } } } }, - "UpdateExternalConnection": { + "UpdateTransitHubPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { "type": "string" } } } }, - "UpdateInternalConnection": { + "UpdateVirtualEnclavePatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetwork", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpaces", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id." + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettings", + "description": "Default Settings" + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { "type": "string" } + }, + "managedResourceGroupConfiguration": { + "$ref": "#/definitions/ManagedResourceGroupConfiguration", + "description": "Managed resource group configuration." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfiguration", + "description": "Maintenance Mode configuration." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + } } } }, - "UpdateTransitHubResource": { + "UpdateWorkloadPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "properties": { - "$ref": "#/definitions/TransitHubProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { "type": "string" } } } }, - "UpdateWorkloadResource": { + "VirtualEnclavePatchResource": { "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "description": "Virtual Enclave Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/WorkloadProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true + "$ref": "#/definitions/UpdateVirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." }, "tags": { "type": "object", @@ -7281,6 +7609,23 @@ ] } }, + "WorkloadPatchResource": { + "type": "object", + "description": "Workload Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/UpdateWorkloadPatchProperties", + "description": "Workload Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", @@ -7338,15 +7683,6 @@ } }, "parameters": { - "ApprovalResource.name": { - "name": "name", - "in": "path", - "description": "The name of the approvals resource.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, "Azure.ResourceManager.ResourceUriParameter": { "name": "resourceUri", "in": "path", @@ -7355,96 +7691,6 @@ "type": "string", "x-ms-parameter-location": "method", "x-ms-skip-url-encoding": true - }, - "CommunityEndpointResource.name": { - "name": "name", - "in": "path", - "description": "The name of the Community Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "CommunityResource.name": { - "name": "name", - "in": "path", - "description": "The name of the communityResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "EnclaveConnectionResource.name": { - "name": "name", - "in": "path", - "description": "The name of the Enclave Connection Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "EnclaveEndpointResource.name": { - "name": "name", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "EnclaveResource.name": { - "name": "name", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "EndpointResource.name": { - "name": "name", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "ExternalConnection.name": { - "name": "name", - "in": "path", - "description": "The name of the external connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "InternalConnection.name": { - "name": "name", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "TransitHubResource.name": { - "name": "name", - "in": "path", - "description": "The name of the TransitHub Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" - }, - "WorkloadResource.name": { - "name": "name", - "in": "path", - "description": "The name of the workloadResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$", - "x-ms-parameter-location": "method" } } } From 2ad3ee7aec9f2c52214878bd535c8ce477d76299 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Fri, 7 Mar 2025 14:11:51 -0500 Subject: [PATCH 64/89] Revert optional/required params to match ve-common and hope the Update model handles it correctly. --- .../resourcetypes/approvals/approvals.tsp | 4 +- .../communityEndpoint/communityEndpoint.tsp | 4 +- .../enclaveConnection/enclaveConnection.tsp | 6 +- .../enclaveEndpoint/enclaveEndpoint.tsp | 2 +- .../externalConnection/externalConnection.tsp | 6 +- .../internalConnection/internalConnection.tsp | 12 +-- .../virtualEnclave/virtualenclave.tsp | 11 +- .../resourcetypes/workload/workload.tsp | 2 +- .../preview/2024-06-01-preview/openapi.json | 100 +++++++++++++++--- .../preview/2024-12-01-preview/openapi.json | 100 +++++++++++++++--- 10 files changed, 189 insertions(+), 58 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index 2df5a93d60c5..ec7d514ba0b0 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -50,7 +50,7 @@ union ActionPerformed { @doc("Request Metadata for approvals request.") model RequestMetadata { @doc("Resource Action of the item being approved or declined.") - resourceAction?: string; + resourceAction: string; @doc("Approval status.") approvalStatus?: ApprovalStatus; @@ -90,7 +90,7 @@ model ApprovalProperties { parent2?: string; @doc("Request metadata for the approval request.") - requestMetadata?: RequestMetadata; + requestMetadata: RequestMetadata; @added(Microsoft.Mission.Versions.v2024_12_01_preview) @OpenAPI.extension("x-ms-identifiers", #["approverEntraId"]) diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index 83a0a3aaa5e3..1a98df3ceb3e 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -104,13 +104,13 @@ model CommunityEndpointProperties { @added(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", #[]) @doc("Community Endpoint Rule Collection.") - ruleCollection?: CommunityEndpointDestinationRule[]; + ruleCollection: CommunityEndpointDestinationRule[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", #["name"]) @doc("Destination Rule Collection.") - destinationRuleCollection?: DestinationRule[]; + destinationRuleCollection: DestinationRule[]; @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource ids created by community endpoint.") diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp index 29acd7e8be8a..5c7fb69da8aa 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp @@ -47,10 +47,10 @@ model EnclaveConnectionProperties { state?: EnclaveConnectionState; @doc("Community Resource Id.") - communityResourceId?: CommunityResourceId; + communityResourceId: CommunityResourceId; @doc("Source Resource Id.") - sourceResourceId?: EnclaveConnectionSourceResourceId; + sourceResourceId: EnclaveConnectionSourceResourceId; @doc("Source CIDR.") sourceCidr?: string; @@ -59,7 +59,7 @@ model EnclaveConnectionProperties { ipGroup?: IPGroupResourceId; @doc("Destination Endpoint Resource Id.") - destinationEndpointId?: DestinationEndpointResourceId; + destinationEndpointId: DestinationEndpointResourceId; @doc("Provisioning State.") @visibility(Lifecycle.Read) diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index 53f4bd3379db..ab2dd1d375a2 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -69,7 +69,7 @@ model EnclaveEndpointProperties { @added(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", #[]) @doc("Enclave Endpoint Rule Collection.") - ruleCollection?: EnclaveEndpointDestinationRule[]; + ruleCollection: EnclaveEndpointDestinationRule[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @removed(Microsoft.Mission.Versions.v2024_06_01_preview) diff --git a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp index 6a2e1c3f98ce..182b9103d00b 100644 --- a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp @@ -39,13 +39,13 @@ model ExternalConnectionProperties { state?: ExternalConnectionState; @doc("Community Resource Id.") - communityResourceId?: CommunityResourceId; + communityResourceId: CommunityResourceId; @doc("The enclaves' resource IDs.") - enclaveIds?: VirtualEnclaveResourceId[]; + enclaveIds: VirtualEnclaveResourceId[]; @doc("The external CIDR IP addresses.") - externalCidrs?: string[]; + externalCidrs: string[]; @doc("List of resource ids modified by externalConnections.") resourceCollection?: string[]; diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp index e97d4e67371e..e9720dd80de5 100644 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp @@ -60,25 +60,25 @@ model InternalConnectionProperties { provisioningState?: ProvisioningState; @doc("Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup") - connectionType?: InternalConnectionType; + connectionType: InternalConnectionType; @doc("The state of the internalConnection.") state?: InternalConnectionState; @doc("Community Resource Id.") - communityResourceId?: CommunityResourceId; + communityResourceId: CommunityResourceId; @doc("The destination enclave's resource ID.") - destinationEnclaveId?: VirtualEnclaveResourceId; + destinationEnclaveId: VirtualEnclaveResourceId; @doc("The destination endpoint's resource ID.") - destinationEndpointId?: EndpointResourceId; + destinationEndpointId: EndpointResourceId; @doc("The source enclave's resource ID.") - sourceEnclaveId?: VirtualEnclaveResourceId; + sourceEnclaveId: VirtualEnclaveResourceId; @doc("The source CIDR IP addresses.") - sourceCidrs?: string[]; + sourceCidrs: string[]; @doc("List of resource ids modified by internalConnections.") resourceCollection?: string[]; diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 97482aa12212..13d12d878d77 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -122,7 +122,7 @@ model EnclaveAddressSpaces { @doc("Maintenance Mode") model MaintenanceModeConfiguration { @doc("Current mode of Maintenance Mode Configuration") - mode?: "On" | "CanNotDelete" | "Off" | string; + mode: "On" | "CanNotDelete" | "Off" | string; @doc("The user, group or service principal object affected by Maintenance Mode") principals?: Principal[]; @@ -133,17 +133,12 @@ model MaintenanceModeConfiguration { @doc("Virtual Enclave Resource properties") model VirtualEnclaveProperties { - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Virtual Enclave Description.") - description?: string; - @doc("Provisioning State.") @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("Virtual Network.") - enclaveVirtualNetwork?: EnclaveVirtualNetwork; + enclaveVirtualNetwork: EnclaveVirtualNetwork; @added(Microsoft.Mission.Versions.v2024_06_01_preview) @visibility(Lifecycle.Read) @@ -151,7 +146,7 @@ model VirtualEnclaveProperties { enclaveAddressSpaces?: EnclaveAddressSpaces; @doc("Community Resource Id.") - communityResourceId?: CommunityResourceId; + communityResourceId: CommunityResourceId; @doc("Default Settings") enclaveDefaultSettings?: EnclaveDefaultSettings; diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 281ab7fa1a70..668668b8515d 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -40,7 +40,7 @@ model WorkloadProperties { @added(Microsoft.Mission.Versions.v2024_06_01_preview) @removed(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed resource group configuration.") - managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; + managedResourceGroupConfiguration: ManagedResourceGroupConfiguration; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @added(Microsoft.Mission.Versions.v2024_06_01_preview) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 196004a550c1..e22e72ff9bdd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4378,7 +4378,10 @@ "$ref": "#/definitions/RequestMetadata", "description": "Request metadata for the approval request." } - } + }, + "required": [ + "requestMetadata" + ] }, "ApprovalResource": { "type": "object", @@ -4560,7 +4563,10 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - } + }, + "required": [ + "ruleCollection" + ] }, "CommunityEndpointProtocol": { "type": "string", @@ -4925,7 +4931,12 @@ "type": "string" } } - } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] }, "EnclaveConnectionResource": { "type": "object", @@ -5128,7 +5139,10 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - } + }, + "required": [ + "ruleCollection" + ] }, "EnclaveEndpointProtocol": { "type": "string", @@ -5538,7 +5552,12 @@ "type": "string" } } - } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] }, "ExternalConnectionState": { "type": "string", @@ -5770,7 +5789,15 @@ "type": "string" } } - } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] }, "InternalConnectionState": { "type": "string", @@ -5897,7 +5924,10 @@ "modelAsString": true } } - } + }, + "required": [ + "mode" + ] }, "ManagedResourceGroupConfiguration": { "type": "object", @@ -6040,7 +6070,10 @@ "$ref": "#/definitions/ApprovalStatus", "description": "Approval status." } - } + }, + "required": [ + "resourceAction" + ] }, "ServiceIdentifier": { "type": "string", @@ -6410,7 +6443,10 @@ "$ref": "#/definitions/RequestMetadata", "description": "Request metadata for the approval request." } - } + }, + "required": [ + "requestMetadata" + ] }, "UpdateCommunityEndpointPatchProperties": { "type": "object", @@ -6440,7 +6476,10 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - } + }, + "required": [ + "ruleCollection" + ] }, "UpdateCommunityPatchProperties": { "type": "object", @@ -6522,7 +6561,12 @@ "type": "string" } } - } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] }, "UpdateEnclaveEndpointPatchProperties": { "type": "object", @@ -6552,7 +6596,10 @@ "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - } + }, + "required": [ + "ruleCollection" + ] }, "UpdateEndpointPatchProperties": { "type": "object", @@ -6613,7 +6660,12 @@ "type": "string" } } - } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] }, "UpdateInternalConnectionProperties": { "type": "object", @@ -6662,7 +6714,15 @@ "type": "string" } } - } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] }, "UpdateTransitHubPatchProperties": { "type": "object", @@ -6735,7 +6795,11 @@ "type": "boolean", "description": "Deploy Bastion service (True or False)." } - } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] }, "UpdateWorkloadPatchProperties": { "type": "object", @@ -6821,7 +6885,11 @@ "type": "boolean", "description": "Deploy Bastion service (True or False)." } - } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] }, "VirtualEnclaveResourceId": { "type": "string", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 3de9194dfecd..c79481fc73cf 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -4925,7 +4925,10 @@ "format": "date-time", "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." } - } + }, + "required": [ + "requestMetadata" + ] }, "ApprovalResource": { "type": "object", @@ -5223,7 +5226,10 @@ "description": "Provisioning State.", "readOnly": true } - } + }, + "required": [ + "ruleCollection" + ] }, "CommunityEndpointProtocol": { "type": "string", @@ -5603,7 +5609,12 @@ "type": "string" } } - } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] }, "EnclaveConnectionResource": { "type": "object", @@ -5802,7 +5813,10 @@ "description": "Provisioning State.", "readOnly": true } - } + }, + "required": [ + "ruleCollection" + ] }, "EnclaveEndpointProtocol": { "type": "string", @@ -6212,7 +6226,12 @@ "type": "string" } } - } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] }, "ExternalConnectionState": { "type": "string", @@ -6444,7 +6463,15 @@ "type": "string" } } - } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] }, "InternalConnectionState": { "type": "string", @@ -6571,7 +6598,10 @@ "modelAsString": true } } - } + }, + "required": [ + "mode" + ] }, "ManagedResourceGroupConfiguration": { "type": "object", @@ -6735,7 +6765,10 @@ "type": "string", "description": "Payload to be sent upon any action on approval request" } - } + }, + "required": [ + "resourceAction" + ] }, "RoleAssignmentItem": { "type": "object", @@ -7149,7 +7182,10 @@ "format": "date-time", "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." } - } + }, + "required": [ + "requestMetadata" + ] }, "UpdateCommunityEndpointPatchProperties": { "type": "object", @@ -7175,7 +7211,10 @@ "description": "Provisioning State.", "readOnly": true } - } + }, + "required": [ + "ruleCollection" + ] }, "UpdateCommunityPatchProperties": { "type": "object", @@ -7272,7 +7311,12 @@ "type": "string" } } - } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] }, "UpdateEnclaveEndpointPatchProperties": { "type": "object", @@ -7298,7 +7342,10 @@ "description": "Provisioning State.", "readOnly": true } - } + }, + "required": [ + "ruleCollection" + ] }, "UpdateEndpointPatchProperties": { "type": "object", @@ -7359,7 +7406,12 @@ "type": "string" } } - } + }, + "required": [ + "communityResourceId", + "enclaveIds", + "externalCidrs" + ] }, "UpdateInternalConnectionProperties": { "type": "object", @@ -7408,7 +7460,15 @@ "type": "string" } } - } + }, + "required": [ + "connectionType", + "communityResourceId", + "destinationEnclaveId", + "destinationEndpointId", + "sourceEnclaveId", + "sourceCidrs" + ] }, "UpdateTransitHubPatchProperties": { "type": "object", @@ -7495,7 +7555,11 @@ "$ref": "#/definitions/RoleAssignmentItem" } } - } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] }, "UpdateWorkloadPatchProperties": { "type": "object", @@ -7595,7 +7659,11 @@ "$ref": "#/definitions/RoleAssignmentItem" } } - } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] }, "VirtualEnclaveResourceId": { "type": "string", From a51cc9d12852d04ebf1176efe48221eb55e3f0e7 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Fri, 7 Mar 2025 14:33:10 -0500 Subject: [PATCH 65/89] Re-Enable PATCH optionality. --- .../mission/Mission.Management/model.tsp | 12 -- .../preview/2024-06-01-preview/openapi.json | 167 ++++++++-------- .../preview/2024-12-01-preview/openapi.json | 182 +++++++++--------- 3 files changed, 179 insertions(+), 182 deletions(-) diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index b8ccab64833c..3dc3bee841d3 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -198,7 +198,6 @@ interface Workload { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< WorkloadResource, PatchModel = WorkloadPatchResource @@ -220,7 +219,6 @@ interface Endpoint { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EndpointResource, PatchModel = EndpointPatchResource @@ -242,7 +240,6 @@ interface VirtualEnclave { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveResource, PatchModel = VirtualEnclavePatchResource @@ -295,7 +292,6 @@ interface Community { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CommunityResource, PatchModel = CommunityPatchResource @@ -333,7 +329,6 @@ interface CatalogInterface { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CatalogResource, PatchModel = CatalogPatchResource @@ -355,7 +350,6 @@ interface InternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< InternalConnection, PatchModel = InternalConnectionPatchResource @@ -378,7 +372,6 @@ interface TransitHub { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< TransitHubResource, PatchModel = TransitHubPatchResource @@ -401,7 +394,6 @@ interface EnclaveConnection { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveConnectionResource, PatchModel = EnclaveConnectionPatchResource @@ -441,7 +433,6 @@ interface EnclaveEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< EnclaveEndpointResource, PatchModel = EnclaveEndpointPatchResource @@ -481,7 +472,6 @@ interface CommunityEndpoints { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< CommunityEndpointResource, PatchModel = CommunityEndpointPatchResource @@ -520,7 +510,6 @@ interface ExternalConnections { LroHeaders = Azure.Core.Foundations.RetryAfterHeader & ArmAsyncOperationHeader >; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< ExternalConnection, PatchModel = ExternalConnectionPatchResource @@ -544,7 +533,6 @@ interface Approval { ArmAsyncOperationHeader >; listByParent is ArmResourceListByParent; - @patch(#{ implicitOptionality: false }) update is ArmCustomPatchAsync< ApprovalResource, PatchModel = ApprovalPatchResource diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index e22e72ff9bdd..a580828f70c1 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4454,6 +4454,29 @@ "type": "string", "description": "Represents an Azure geography region where supported resource providers live." }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -4681,7 +4704,7 @@ } }, "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", "description": "The managed service identities assigned to this resource." } } @@ -5929,6 +5952,43 @@ "mode" ] }, + "MaintenanceModeConfigurationUpdate": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, "ManagedResourceGroupConfiguration": { "type": "object", "description": "ManagedResourceGroup related properties", @@ -6075,6 +6135,20 @@ "resourceAction" ] }, + "RequestMetadataUpdate": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + } + } + }, "ServiceIdentifier": { "type": "string", "description": "Identifier for governed services.", @@ -6426,11 +6500,6 @@ "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "parent1": { "type": "string", "description": "Parameter for optimizing query results" @@ -6440,13 +6509,10 @@ "description": "Parameter for optimizing query results" }, "requestMetadata": { - "$ref": "#/definitions/RequestMetadata", + "$ref": "#/definitions/RequestMetadataUpdate", "description": "Request metadata for the approval request." } - }, - "required": [ - "requestMetadata" - ] + } }, "UpdateCommunityEndpointPatchProperties": { "type": "object", @@ -6467,19 +6533,11 @@ "type": "string" } }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "approvalRequired": { "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - }, - "required": [ - "ruleCollection" - ] + } }, "UpdateCommunityPatchProperties": { "type": "object", @@ -6549,11 +6607,6 @@ "$ref": "#/definitions/DestinationEndpointResourceId", "description": "Destination Endpoint Resource Id." }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "resourceCollection": { "type": "array", "description": "List of resource ids modified by enclave Connections.", @@ -6561,12 +6614,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] + } }, "UpdateEnclaveEndpointPatchProperties": { "type": "object", @@ -6587,19 +6635,11 @@ "type": "string" } }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "approvalRequired": { "type": "boolean", "description": "Whether approval is needed for the connection (True or False)." } - }, - "required": [ - "ruleCollection" - ] + } }, "UpdateEndpointPatchProperties": { "type": "object", @@ -6626,11 +6666,6 @@ "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, "state": { "$ref": "#/definitions/ExternalConnectionState", "description": "The state of the externalConnection." @@ -6660,22 +6695,12 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] + } }, "UpdateInternalConnectionProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, "connectionType": { "$ref": "#/definitions/InternalConnectionType", "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" @@ -6714,15 +6739,7 @@ "type": "string" } } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] + } }, "UpdateTransitHubPatchProperties": { "type": "object", @@ -6754,20 +6771,10 @@ "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "enclaveVirtualNetwork": { "$ref": "#/definitions/EnclaveVirtualNetwork", "description": "Virtual Network." }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, "communityResourceId": { "$ref": "#/definitions/CommunityResourceId", "description": "Community Resource Id." @@ -6788,18 +6795,14 @@ "description": "Managed resource group configuration." }, "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", "description": "Maintenance Mode configuration." }, "bastionEnabled": { "type": "boolean", "description": "Deploy Bastion service (True or False)." } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] + } }, "UpdateWorkloadPatchProperties": { "type": "object", @@ -6828,7 +6831,7 @@ "description": "Virtual Enclave Patch properties" }, "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", "description": "The managed service identities assigned to this resource." }, "tags": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index c79481fc73cf..e504719f38b8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5121,6 +5121,29 @@ "type": "string", "description": "Represents an Azure geography region where supported resource providers live." }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/UserAssignedIdentity" + } + ], + "type": "object", + "x-nullable": true + } + } + } + }, "CheckAddressSpaceAvailabilityRequest": { "type": "object", "description": "Request to the action call to check address space availability.", @@ -5344,7 +5367,7 @@ } }, "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", "description": "The managed service identities assigned to this resource." } } @@ -6603,6 +6626,43 @@ "mode" ] }, + "MaintenanceModeConfigurationUpdate": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, "ManagedResourceGroupConfiguration": { "type": "object", "description": "ManagedResourceGroup related properties", @@ -6770,6 +6830,28 @@ "resourceAction" ] }, + "RequestMetadataUpdate": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Approval status." + }, + "approvalCallbackRoute": { + "type": "string", + "description": "Route name for the approval callback" + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload to be sent upon any action on approval request" + } + } + }, "RoleAssignmentItem": { "type": "object", "description": "Role assignment item that indicates which principals should be assigned this role definition", @@ -7141,11 +7223,6 @@ "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "parent1": { "type": "string", "description": "Parameter for optimizing query results" @@ -7155,7 +7232,7 @@ "description": "Parameter for optimizing query results" }, "requestMetadata": { - "$ref": "#/definitions/RequestMetadata", + "$ref": "#/definitions/RequestMetadataUpdate", "description": "Request metadata for the approval request." }, "approvers": { @@ -7182,10 +7259,7 @@ "format": "date-time", "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." } - }, - "required": [ - "requestMetadata" - ] + } }, "UpdateCommunityEndpointPatchProperties": { "type": "object", @@ -7205,16 +7279,8 @@ "items": { "type": "string" } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true } - }, - "required": [ - "ruleCollection" - ] + } }, "UpdateCommunityPatchProperties": { "type": "object", @@ -7231,11 +7297,6 @@ "type": "string" } }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "resourceCollection": { "type": "array", "description": "List of resource ids created by communities.", @@ -7266,7 +7327,7 @@ "description": "Approval requirements for various actions on the community's resources." }, "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", "description": "Maintenance Mode configuration." } } @@ -7299,11 +7360,6 @@ "$ref": "#/definitions/DestinationEndpointResourceId", "description": "Destination Endpoint Resource Id." }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "resourceCollection": { "type": "array", "description": "List of resource ids modified by enclave Connections.", @@ -7311,12 +7367,7 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "sourceResourceId", - "destinationEndpointId" - ] + } }, "UpdateEnclaveEndpointPatchProperties": { "type": "object", @@ -7336,16 +7387,8 @@ "items": { "type": "string" } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true } - }, - "required": [ - "ruleCollection" - ] + } }, "UpdateEndpointPatchProperties": { "type": "object", @@ -7372,11 +7415,6 @@ "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, "state": { "$ref": "#/definitions/ExternalConnectionState", "description": "The state of the externalConnection." @@ -7406,22 +7444,12 @@ "type": "string" } } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] + } }, "UpdateInternalConnectionProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, "connectionType": { "$ref": "#/definitions/InternalConnectionType", "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" @@ -7460,15 +7488,7 @@ "type": "string" } } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] + } }, "UpdateTransitHubPatchProperties": { "type": "object", @@ -7500,20 +7520,10 @@ "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, "enclaveVirtualNetwork": { "$ref": "#/definitions/EnclaveVirtualNetwork", "description": "Virtual Network." }, - "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", - "description": "Enclave Address Spaces", - "readOnly": true - }, "communityResourceId": { "$ref": "#/definitions/CommunityResourceId", "description": "Community Resource Id." @@ -7534,7 +7544,7 @@ "description": "Managed resource group configuration." }, "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", + "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", "description": "Maintenance Mode configuration." }, "bastionEnabled": { @@ -7555,11 +7565,7 @@ "$ref": "#/definitions/RoleAssignmentItem" } } - }, - "required": [ - "enclaveVirtualNetwork", - "communityResourceId" - ] + } }, "UpdateWorkloadPatchProperties": { "type": "object", @@ -7588,7 +7594,7 @@ "description": "Virtual Enclave Patch properties" }, "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", "description": "The managed service identities assigned to this resource." }, "tags": { From 1e335bff2a885ce18f4577aafb7a4f60020256f3 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 14:07:39 -0500 Subject: [PATCH 66/89] Add types for ARM resources --- .../checkaddressspaceavailability.tsp | 2 +- .../resourcetypes/shared/resourceid.tsp | 14 +++++ .../resourcetypes/transitHub/transitHub.tsp | 2 +- .../virtualEnclave/virtualenclave.tsp | 6 +-- .../preview/2024-06-01-preview/openapi.json | 54 ++++++++++++++++--- .../preview/2024-12-01-preview/openapi.json | 54 ++++++++++++++++--- 6 files changed, 111 insertions(+), 21 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp index 41d9a27944e4..e12c3df39f9e 100644 --- a/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp +++ b/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp @@ -17,7 +17,7 @@ namespace Microsoft.Mission; @doc("Request to the action call to check address space availability.") model CheckAddressSpaceAvailabilityRequest { @doc("Resource Id of the Community") - communityResourceId: string; + communityResourceId: CommunityResourceId; @doc("Information about the enclave virtual network") enclaveVirtualNetwork: EnclaveVirtualNetwork; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp b/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp index 77ba5c0ba102..96d2d79733ff 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp @@ -19,6 +19,20 @@ scalar VirtualEnclaveResourceId } ]>; +scalar VirtualNetworkResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Network/virtualNetworks", + } + ]>; + +scalar SubnetResourceId + extends armResourceIdentifier<[ + { + type: "Microsoft.Network/virtualNetworks/subnets", + } + ]>; + scalar NsgResourceId extends armResourceIdentifier<[ { diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index af1c40b3b8cb..44535274361b 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -54,7 +54,7 @@ model TransitOptionParams { scaleUnits?: int64; @doc("Transit Option Params remoteVirtualNetworkId.") - remoteVirtualNetworkId?: string; + remoteVirtualNetworkId?: VirtualNetworkResourceId; } @doc("TransitOption Properties") diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 13d12d878d77..58db2a46ab7d 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -41,7 +41,7 @@ model SubnetConfiguration { @doc("Subnet ID.") @visibility(Lifecycle.Read) - id?: Azure.Core.armResourceIdentifier; + id?: SubnetResourceId; @doc("Network prefix size.") networkPrefixSize: int32; @@ -55,7 +55,7 @@ model SubnetConfiguration { @doc("Network security group ID.") @visibility(Lifecycle.Read) - networkSecurityGroupId?: Azure.Core.armResourceIdentifier; + networkSecurityGroupId?: NsgResourceId; } @doc("Enclave Virtual Network Properties") @@ -152,7 +152,7 @@ model VirtualEnclaveProperties { enclaveDefaultSettings?: EnclaveDefaultSettings; @doc("List of resource ids created by Virtual Enclave.") - resourceCollection?: string[]; + resourceCollection?: armResourceIdentifier[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @added(Microsoft.Mission.Versions.v2024_06_01_preview) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index a580828f70c1..847cca179a8d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4482,7 +4482,7 @@ "description": "Request to the action call to check address space availability.", "properties": { "communityResourceId": { - "type": "string", + "$ref": "#/definitions/CommunityResourceId", "description": "Resource Id of the Community" }, "enclaveVirtualNetwork": { @@ -6007,6 +6007,18 @@ } } }, + "NsgResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/networkSecurityGroups" + } + ] + } + }, "Principal": { "type": "object", "description": "Principal for maintenance mode or role assignments", @@ -6272,8 +6284,7 @@ "description": "Subnet name." }, "id": { - "type": "string", - "format": "arm-id", + "$ref": "#/definitions/SubnetResourceId", "description": "Subnet ID.", "readOnly": true }, @@ -6292,8 +6303,7 @@ "readOnly": true }, "networkSecurityGroupId": { - "type": "string", - "format": "arm-id", + "$ref": "#/definitions/NsgResourceId", "description": "Network security group ID.", "readOnly": true } @@ -6303,6 +6313,18 @@ "networkPrefixSize" ] }, + "SubnetResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", @@ -6461,7 +6483,7 @@ "description": "Transit Option Params scaleUnits." }, "remoteVirtualNetworkId": { - "type": "string", + "$ref": "#/definitions/VirtualNetworkResourceId", "description": "Transit Option Params remoteVirtualNetworkId." } } @@ -6787,7 +6809,9 @@ "type": "array", "description": "List of resource ids created by Virtual Enclave.", "items": { - "type": "string" + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." } }, "managedResourceGroupConfiguration": { @@ -6873,7 +6897,9 @@ "type": "array", "description": "List of resource ids created by Virtual Enclave.", "items": { - "type": "string" + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." } }, "managedResourceGroupConfiguration": { @@ -6906,6 +6932,18 @@ ] } }, + "VirtualNetworkResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + } + }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index e504719f38b8..2718bdecc9bd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5149,7 +5149,7 @@ "description": "Request to the action call to check address space availability.", "properties": { "communityResourceId": { - "type": "string", + "$ref": "#/definitions/CommunityResourceId", "description": "Resource Id of the Community" }, "enclaveVirtualNetwork": { @@ -6694,6 +6694,18 @@ "approverEntraId" ] }, + "NsgResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/networkSecurityGroups" + } + ] + } + }, "Principal": { "type": "object", "description": "Principal for maintenance mode or role assignments", @@ -6995,8 +7007,7 @@ "description": "Subnet name." }, "id": { - "type": "string", - "format": "arm-id", + "$ref": "#/definitions/SubnetResourceId", "description": "Subnet ID.", "readOnly": true }, @@ -7015,8 +7026,7 @@ "readOnly": true }, "networkSecurityGroupId": { - "type": "string", - "format": "arm-id", + "$ref": "#/definitions/NsgResourceId", "description": "Network security group ID.", "readOnly": true } @@ -7026,6 +7036,18 @@ "networkPrefixSize" ] }, + "SubnetResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, "TransitHubPatchResource": { "type": "object", "description": "TH Patch Resource", @@ -7184,7 +7206,7 @@ "description": "Transit Option Params scaleUnits." }, "remoteVirtualNetworkId": { - "type": "string", + "$ref": "#/definitions/VirtualNetworkResourceId", "description": "Transit Option Params remoteVirtualNetworkId." } } @@ -7536,7 +7558,9 @@ "type": "array", "description": "List of resource ids created by Virtual Enclave.", "items": { - "type": "string" + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." } }, "managedResourceGroupConfiguration": { @@ -7636,7 +7660,9 @@ "type": "array", "description": "List of resource ids created by Virtual Enclave.", "items": { - "type": "string" + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." } }, "managedResourceGroupConfiguration": { @@ -7683,6 +7709,18 @@ ] } }, + "VirtualNetworkResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + } + }, "WorkloadPatchResource": { "type": "object", "description": "Workload Patch Resource", From 3af1b54b85f66848bda4d26278e03c90c8a4ead5 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 14:51:17 -0500 Subject: [PATCH 67/89] Fix examples --- .../2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json | 2 +- .../2024-06-01-preview/VirtualEnclave_ListBySubscription.json | 2 +- .../examples/2024-06-01-preview/VirtualEnclave_Update.json | 2 +- .../2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json | 2 +- .../2024-12-01-preview/VirtualEnclave_ListBySubscription.json | 2 +- .../examples/2024-12-01-preview/VirtualEnclave_Update.json | 2 +- .../examples/VirtualEnclave_ListByResourceGroup.json | 2 +- .../examples/VirtualEnclave_ListBySubscription.json | 2 +- .../2024-06-01-preview/examples/VirtualEnclave_Update.json | 2 +- .../examples/VirtualEnclave_ListByResourceGroup.json | 2 +- .../examples/VirtualEnclave_ListBySubscription.json | 2 +- .../2024-12-01-preview/examples/VirtualEnclave_Update.json | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json index 8564e46567f3..386cbdbe6616 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -51,7 +51,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json index 409f400b5dbc..d0035fc2ac05 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_ListBySubscription.json @@ -50,7 +50,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json index 869d13f005cc..5b1f2ee621af 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -43,7 +43,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json index 19da941fd34c..14f20d08e578 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -51,7 +51,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListBySubscription.json index ed5ea19bcc23..7fb8d522a3d0 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListBySubscription.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_ListBySubscription.json @@ -50,7 +50,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json index 0ad8e6de1d19..9cfd50cad6d3 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -43,7 +43,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json index 8564e46567f3..386cbdbe6616 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -51,7 +51,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json index 409f400b5dbc..d0035fc2ac05 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -50,7 +50,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json index 869d13f005cc..5b1f2ee621af 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -43,7 +43,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListByResourceGroup.json index 19da941fd34c..14f20d08e578 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListByResourceGroup.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -51,7 +51,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListBySubscription.json index ed5ea19bcc23..7fb8d522a3d0 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListBySubscription.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -50,7 +50,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json index 0ad8e6de1d19..9cfd50cad6d3 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -43,7 +43,7 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" ], "maintenanceModeConfiguration": { "mode": "Off", From 087c53b89fd30b0a73905806b6de2cef1acf3327 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 14:59:37 -0500 Subject: [PATCH 68/89] Add suppressions for AvoidAnonymousTypes --- specification/mission/resource-manager/readme.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index fb1dc5c35941..c47f8ba48e2c 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -38,6 +38,11 @@ These settings apply only when `--tag=package-2024-12-01-preview` is specified o ```yaml $(tag) == 'package-2024-12-01-preview' input-file: - Microsoft.Mission/preview/2024-12-01-preview/openapi.json +suppressions: + - code: AvoidAnonymousTypes + from: openapi.json + where: $.definitions."Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate".properties.userAssignedIdentities.additionalProperties + reason: This is an incorrect failure due to a bug in the tool (https://github.com/Azure/typespec-azure/issues/1163) ``` ### Tag: package-2024-06-01-preview @@ -47,6 +52,11 @@ These settings apply only when `--tag=package-2024-06-01-preview` is specified o ```yaml $(tag) == 'package-2024-06-01-preview' input-file: - Microsoft.Mission/preview/2024-06-01-preview/openapi.json +suppressions: + - code: AvoidAnonymousTypes + from: openapi.json + where: $.definitions."Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate".properties.userAssignedIdentities.additionalProperties + reason: This is an incorrect failure due to a bug in the tool (https://github.com/Azure/typespec-azure/issues/1163) ``` --- @@ -67,6 +77,7 @@ swagger-to-sdk: - repo: azure-resource-manager-schemas - repo: azure-cli-extensions ``` + ## Az See configuration in [readme.az.md](./readme.az.md) @@ -85,4 +96,4 @@ See configuration in [readme.typescript.md](./readme.typescript.md) ## CSharp -See configuration in [readme.csharp.md](./readme.csharp.md) \ No newline at end of file +See configuration in [readme.csharp.md](./readme.csharp.md) From a73b477997d4f74c94ff3b63ef75e67b02385605 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 15:07:15 -0500 Subject: [PATCH 69/89] Fix examples for type updates. Add uuid type to uuid fields. --- .../2024-06-01-preview/VirtualEnclave_Get.json | 4 ++-- .../2024-06-01-preview/VirtualEnclave_Update.json | 4 ++-- .../2024-12-01-preview/VirtualEnclave_Get.json | 4 ++-- .../2024-12-01-preview/VirtualEnclave_Update.json | 4 ++-- .../resourcetypes/approvals/approvals.tsp | 3 ++- .../resourcetypes/community/community.tsp | 2 +- .../resourcetypes/postActions/approvalcallback.tsp | 2 +- .../resourcetypes/shared/principal.tsp | 4 +++- .../resourcetypes/shared/roleassignmentitem.tsp | 4 +++- .../examples/VirtualEnclave_Get.json | 4 ++-- .../examples/VirtualEnclave_Update.json | 4 ++-- .../preview/2024-06-01-preview/openapi.json | 8 +++++++- .../examples/VirtualEnclave_Get.json | 4 ++-- .../examples/VirtualEnclave_Update.json | 4 ++-- .../preview/2024-12-01-preview/openapi.json | 13 +++++++++---- 15 files changed, 42 insertions(+), 26 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json index 740410f9e520..4a65ca68ac49 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json @@ -50,8 +50,8 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" - ], + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json index 5b1f2ee621af..9be8d435a794 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -98,8 +98,8 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" - ], + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json index e2950442126e..0574a6902311 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json @@ -50,8 +50,8 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" - ], + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json index 9cfd50cad6d3..7646f5f7c1c4 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -142,8 +142,8 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" - ], + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index ec7d514ba0b0..c1b354d5fc2b 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -8,6 +8,7 @@ import "../shared/provisioningstate.tsp"; using TypeSpec.Http; using TypeSpec.Rest; using TypeSpec.Versioning; +using Azure.Core; using Azure.ResourceManager; @doc("Microsoft Mission Resource Provider management API.") @@ -68,7 +69,7 @@ model RequestMetadata { @doc("Approver Metadata for approvals request.") model Approver { @doc("EntraId of the approver") - approverEntraId: string; + approverEntraId: uuid; @doc("Action Performed by approver") actionPerformed: ActionPerformed; diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 830faa368939..dc456f428703 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -127,7 +127,7 @@ union ApprovalPolicy { @doc("Approver Metadata for approvals request.") model MandatoryApprover { @doc("EntraId of the approver") - approverEntraId: string; + approverEntraId: Azure.Core.uuid; } @added(Microsoft.Mission.Versions.v2024_12_01_preview) diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp index bc33fc00b038..59eec500803f 100644 --- a/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp +++ b/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp @@ -16,7 +16,7 @@ namespace Microsoft.Mission; model ApprovalCallbackRequest { @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Resource Id of the item being approved or rejected") - resourceId: string; + resourceId: armResourceIdentifier; @doc("Resource request action indicating action which needed to be performed upon calling approval-callback post action") resourceRequestAction: "Create" | "Delete" | "Update" | "Reset" | string; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp index f9e9ed9db590..668024ed0015 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp @@ -1,5 +1,7 @@ import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +using Azure.Core; using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") @@ -9,7 +11,7 @@ namespace Microsoft.Mission; @doc("Principal for maintenance mode or role assignments") model Principal { @doc("The object id associated with the principal") - id: string; + id: uuid; @doc("The type of the object id. We currently allow users, groups, and service principals") type: "User" | "Group" | "ServicePrincipal" | string; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp index ca51e04673bc..e35430c3c9e1 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp @@ -1,5 +1,7 @@ import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +using Azure.Core; using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") @@ -9,7 +11,7 @@ namespace Microsoft.Mission; @doc("Role assignment item that indicates which principals should be assigned this role definition") model RoleAssignmentItem { @doc("Role definition identifier") - id: string; + id: uuid; @doc("List of principal IDs to which to assign this role definition") principals?: Principal[]; diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json index 740410f9e520..4a65ca68ac49 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json @@ -50,8 +50,8 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" - ], + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json index 5b1f2ee621af..9be8d435a794 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -98,8 +98,8 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" - ], + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index 847cca179a8d..ccb5d7878749 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4267,6 +4267,7 @@ "properties": { "resourceId": { "type": "string", + "format": "arm-id", "description": "Resource Id of the item being approved or rejected" }, "resourceRequestAction": { @@ -4454,6 +4455,11 @@ "type": "string", "description": "Represents an Azure geography region where supported resource providers live." }, + "Azure.Core.uuid": { + "type": "string", + "format": "uuid", + "description": "Universally Unique Identifier" + }, "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { "type": "object", "description": "Managed service identity (system assigned and/or user assigned identities)", @@ -6024,7 +6030,7 @@ "description": "Principal for maintenance mode or role assignments", "properties": { "id": { - "type": "string", + "$ref": "#/definitions/Azure.Core.uuid", "description": "The object id associated with the principal" }, "type": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json index e2950442126e..0574a6902311 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json @@ -50,8 +50,8 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" - ], + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json index 9cfd50cad6d3..7646f5f7c1c4 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -142,8 +142,8 @@ "diagnosticDestination": "Both" }, "resourceCollection": [ - "g" - ], + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 2718bdecc9bd..96691a46e5af 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5098,7 +5098,7 @@ "description": "Approver Metadata for approvals request.", "properties": { "approverEntraId": { - "type": "string", + "$ref": "#/definitions/Azure.Core.uuid", "description": "EntraId of the approver" }, "actionPerformed": { @@ -5121,6 +5121,11 @@ "type": "string", "description": "Represents an Azure geography region where supported resource providers live." }, + "Azure.Core.uuid": { + "type": "string", + "format": "uuid", + "description": "Universally Unique Identifier" + }, "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { "type": "object", "description": "Managed service identity (system assigned and/or user assigned identities)", @@ -6686,7 +6691,7 @@ "description": "Approver Metadata for approvals request.", "properties": { "approverEntraId": { - "type": "string", + "$ref": "#/definitions/Azure.Core.uuid", "description": "EntraId of the approver" } }, @@ -6711,7 +6716,7 @@ "description": "Principal for maintenance mode or role assignments", "properties": { "id": { - "type": "string", + "$ref": "#/definitions/Azure.Core.uuid", "description": "The object id associated with the principal" }, "type": { @@ -6869,7 +6874,7 @@ "description": "Role assignment item that indicates which principals should be assigned this role definition", "properties": { "id": { - "type": "string", + "$ref": "#/definitions/Azure.Core.uuid", "description": "Role definition identifier" }, "principals": { From 0a6d0f1a5d38bad49cf9cbc3e194e9a925e82caa Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 15:13:01 -0500 Subject: [PATCH 70/89] Fix examples for type updates. --- .../2024-12-01-preview/Approvals_CreateOrUpdate.json | 6 +++--- .../examples/2024-12-01-preview/Approvals_Get.json | 2 +- .../2024-12-01-preview/Approvals_InitiatorCallback.json | 2 +- .../examples/2024-12-01-preview/Approvals_ListByParent.json | 2 +- .../examples/2024-12-01-preview/Approvals_Update.json | 4 ++-- .../2024-12-01-preview/Community_CreateOrUpdate.json | 2 +- .../examples/Approvals_CreateOrUpdate.json | 6 +++--- .../preview/2024-12-01-preview/examples/Approvals_Get.json | 2 +- .../examples/Approvals_InitiatorCallback.json | 2 +- .../2024-12-01-preview/examples/Approvals_ListByParent.json | 2 +- .../2024-12-01-preview/examples/Approvals_Update.json | 4 ++-- .../examples/Community_CreateOrUpdate.json | 2 +- 12 files changed, 18 insertions(+), 18 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_CreateOrUpdate.json index 56b5226b6cb3..62f7acb39c6c 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_CreateOrUpdate.json @@ -19,7 +19,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } @@ -44,7 +44,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } @@ -82,7 +82,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Get.json index ec062ed4e94a..3113f3601e33 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Get.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Get.json @@ -23,7 +23,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json index 63939b3c181f..4617d3fa89b8 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json @@ -6,7 +6,7 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceUri": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "body": { "approvalStatus": "Approved" } diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_ListByParent.json index 1d7e72c7a143..8d559f5776d8 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_ListByParent.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_ListByParent.json @@ -25,7 +25,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Update.json index 8c85569915b0..c9c7bded4b5c 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_Update.json @@ -19,7 +19,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } @@ -44,7 +44,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json index 7e230c7f013b..feeb0427c549 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json @@ -154,7 +154,7 @@ "notificationOnApprovalDeletion": "NotRequired", "mandatoryApprovers": [ { - "approverEntraId": "string" + "approverEntraId": "00000000-0000-0000-0000-000000000000" } ], "minimumApproversRequired": 0 diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_CreateOrUpdate.json index 56b5226b6cb3..62f7acb39c6c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_CreateOrUpdate.json @@ -19,7 +19,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } @@ -44,7 +44,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } @@ -82,7 +82,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Get.json index ec062ed4e94a..3113f3601e33 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Get.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Get.json @@ -23,7 +23,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json index 63939b3c181f..4617d3fa89b8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json @@ -6,7 +6,7 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceUri": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "body": { "approvalStatus": "Approved" } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_ListByParent.json index 1d7e72c7a143..8d559f5776d8 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_ListByParent.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_ListByParent.json @@ -25,7 +25,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Update.json index 8c85569915b0..c9c7bded4b5c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_Update.json @@ -19,7 +19,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } @@ -44,7 +44,7 @@ }, "approvers": [ { - "approverEntraId": "string", + "approverEntraId": "00000000-0000-0000-0000-000000000000", "actionPerformed": "Approved", "lastUpdatedAt": "2023-03-17T20:43:17.760Z" } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json index 7e230c7f013b..feeb0427c549 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json @@ -154,7 +154,7 @@ "notificationOnApprovalDeletion": "NotRequired", "mandatoryApprovers": [ { - "approverEntraId": "string" + "approverEntraId": "00000000-0000-0000-0000-000000000000" } ], "minimumApproversRequired": 0 From 0fdf2b478b3e5cdedb5d78014e2e0f18902adb71 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 15:26:46 -0500 Subject: [PATCH 71/89] Remove uuid type --- .../2024-12-01-preview/Approvals_InitiatorCallback.json | 2 +- .../resourcetypes/approvals/approvals.tsp | 2 +- .../Mission.Management/resourcetypes/shared/principal.tsp | 2 +- .../resourcetypes/shared/roleassignmentitem.tsp | 2 +- .../preview/2024-06-01-preview/openapi.json | 7 +------ .../examples/Approvals_InitiatorCallback.json | 2 +- .../preview/2024-12-01-preview/openapi.json | 6 +++--- 7 files changed, 9 insertions(+), 14 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json index 4617d3fa89b8..63939b3c181f 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json @@ -6,7 +6,7 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "approvalName": "TestApprovals", - "resourceUri": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "body": { "approvalStatus": "Approved" } diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index c1b354d5fc2b..c2ceee974921 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -69,7 +69,7 @@ model RequestMetadata { @doc("Approver Metadata for approvals request.") model Approver { @doc("EntraId of the approver") - approverEntraId: uuid; + approverEntraId: string; @doc("Action Performed by approver") actionPerformed: ActionPerformed; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp index 668024ed0015..8f703d8e64b6 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp @@ -11,7 +11,7 @@ namespace Microsoft.Mission; @doc("Principal for maintenance mode or role assignments") model Principal { @doc("The object id associated with the principal") - id: uuid; + id: string; @doc("The type of the object id. We currently allow users, groups, and service principals") type: "User" | "Group" | "ServicePrincipal" | string; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp index e35430c3c9e1..c715b4e609d3 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp @@ -11,7 +11,7 @@ namespace Microsoft.Mission; @doc("Role assignment item that indicates which principals should be assigned this role definition") model RoleAssignmentItem { @doc("Role definition identifier") - id: uuid; + id: string; @doc("List of principal IDs to which to assign this role definition") principals?: Principal[]; diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index ccb5d7878749..fd80fc9de0fc 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -4455,11 +4455,6 @@ "type": "string", "description": "Represents an Azure geography region where supported resource providers live." }, - "Azure.Core.uuid": { - "type": "string", - "format": "uuid", - "description": "Universally Unique Identifier" - }, "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { "type": "object", "description": "Managed service identity (system assigned and/or user assigned identities)", @@ -6030,7 +6025,7 @@ "description": "Principal for maintenance mode or role assignments", "properties": { "id": { - "$ref": "#/definitions/Azure.Core.uuid", + "type": "string", "description": "The object id associated with the principal" }, "type": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json index 4617d3fa89b8..63939b3c181f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json @@ -6,7 +6,7 @@ "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "approvalName": "TestApprovals", - "resourceUri": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "body": { "approvalStatus": "Approved" } diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 96691a46e5af..585ad8ffa05f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5098,7 +5098,7 @@ "description": "Approver Metadata for approvals request.", "properties": { "approverEntraId": { - "$ref": "#/definitions/Azure.Core.uuid", + "type": "string", "description": "EntraId of the approver" }, "actionPerformed": { @@ -6716,7 +6716,7 @@ "description": "Principal for maintenance mode or role assignments", "properties": { "id": { - "$ref": "#/definitions/Azure.Core.uuid", + "type": "string", "description": "The object id associated with the principal" }, "type": { @@ -6874,7 +6874,7 @@ "description": "Role assignment item that indicates which principals should be assigned this role definition", "properties": { "id": { - "$ref": "#/definitions/Azure.Core.uuid", + "type": "string", "description": "Role definition identifier" }, "principals": { From 448f6018b2e34fcfb770783dde7913e483a2d91b Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 15:32:31 -0500 Subject: [PATCH 72/89] Remove uuid type --- .../resourcetypes/community/community.tsp | 3 +-- .../Mission.Management/resourcetypes/shared/principal.tsp | 2 -- .../resourcetypes/shared/roleassignmentitem.tsp | 2 -- .../preview/2024-12-01-preview/openapi.json | 7 +------ 4 files changed, 2 insertions(+), 12 deletions(-) diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index dc456f428703..031bdd96a4e5 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -1,6 +1,5 @@ import "@typespec/rest"; import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "../shared/provisioningstate.tsp"; @@ -127,7 +126,7 @@ union ApprovalPolicy { @doc("Approver Metadata for approvals request.") model MandatoryApprover { @doc("EntraId of the approver") - approverEntraId: Azure.Core.uuid; + approverEntraId: string; } @added(Microsoft.Mission.Versions.v2024_12_01_preview) diff --git a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp index 8f703d8e64b6..f9e9ed9db590 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp @@ -1,7 +1,5 @@ import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -using Azure.Core; using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") diff --git a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp index c715b4e609d3..ca51e04673bc 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp @@ -1,7 +1,5 @@ import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -using Azure.Core; using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 585ad8ffa05f..2718bdecc9bd 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -5121,11 +5121,6 @@ "type": "string", "description": "Represents an Azure geography region where supported resource providers live." }, - "Azure.Core.uuid": { - "type": "string", - "format": "uuid", - "description": "Universally Unique Identifier" - }, "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { "type": "object", "description": "Managed service identity (system assigned and/or user assigned identities)", @@ -6691,7 +6686,7 @@ "description": "Approver Metadata for approvals request.", "properties": { "approverEntraId": { - "$ref": "#/definitions/Azure.Core.uuid", + "type": "string", "description": "EntraId of the approver" } }, From 91440b2721f9129c6faafa3cb775c2738e82e33f Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 15:41:39 -0500 Subject: [PATCH 73/89] Prettier --- .../examples/2024-06-01-preview/VirtualEnclave_Get.json | 2 +- .../examples/2024-06-01-preview/VirtualEnclave_Update.json | 2 +- .../examples/2024-12-01-preview/VirtualEnclave_Get.json | 2 +- .../examples/2024-12-01-preview/VirtualEnclave_Update.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json index 4a65ca68ac49..0ce7acdc21e5 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Get.json @@ -51,7 +51,7 @@ }, "resourceCollection": [ "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json index 9be8d435a794..2da763533a15 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -99,7 +99,7 @@ }, "resourceCollection": [ "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json index 0574a6902311..99f271b3ed7f 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Get.json @@ -51,7 +51,7 @@ }, "resourceCollection": [ "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json index 7646f5f7c1c4..4f8d75cacaae 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -143,7 +143,7 @@ }, "resourceCollection": [ "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ From 23f5fd0e3e9b961fad53dabdeec159d4355c9e41 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 20:15:46 -0500 Subject: [PATCH 74/89] Prettier --- .../preview/2024-06-01-preview/examples/VirtualEnclave_Get.json | 2 +- .../2024-06-01-preview/examples/VirtualEnclave_Update.json | 2 +- .../preview/2024-12-01-preview/examples/VirtualEnclave_Get.json | 2 +- .../2024-12-01-preview/examples/VirtualEnclave_Update.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json index 4a65ca68ac49..0ce7acdc21e5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Get.json @@ -51,7 +51,7 @@ }, "resourceCollection": [ "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json index 9be8d435a794..2da763533a15 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -99,7 +99,7 @@ }, "resourceCollection": [ "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json index 0574a6902311..99f271b3ed7f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Get.json @@ -51,7 +51,7 @@ }, "resourceCollection": [ "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json index 7646f5f7c1c4..4f8d75cacaae 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -143,7 +143,7 @@ }, "resourceCollection": [ "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], + ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ From 032bdd53f7dfa81da52fd8d19fc821dfded55af9 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 20:22:12 -0500 Subject: [PATCH 75/89] Update suppressions --- specification/mission/resource-manager/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index c47f8ba48e2c..a50ada896f07 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -41,7 +41,7 @@ input-file: suppressions: - code: AvoidAnonymousTypes from: openapi.json - where: $.definitions."Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate".properties.userAssignedIdentities.additionalProperties + where: $.definitions['Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate'].properties.userAssignedIdentities.additionalProperties reason: This is an incorrect failure due to a bug in the tool (https://github.com/Azure/typespec-azure/issues/1163) ``` @@ -55,7 +55,7 @@ input-file: suppressions: - code: AvoidAnonymousTypes from: openapi.json - where: $.definitions."Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate".properties.userAssignedIdentities.additionalProperties + where: $.definitions['Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate'].properties.userAssignedIdentities.additionalProperties reason: This is an incorrect failure due to a bug in the tool (https://github.com/Azure/typespec-azure/issues/1163) ``` From a8d0e084bb1d0864fd5f933fe0bb9027802e3542 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Sat, 8 Mar 2025 20:37:32 -0500 Subject: [PATCH 76/89] Move routes to routes.tsp --- .../mission/Mission.Management/main.tsp | 1 + .../mission/Mission.Management/model.tsp | 359 ---------------- .../mission/Mission.Management/routes.tsp | 398 ++++++++++++++++++ 3 files changed, 399 insertions(+), 359 deletions(-) create mode 100644 specification/mission/Mission.Management/routes.tsp diff --git a/specification/mission/Mission.Management/main.tsp b/specification/mission/Mission.Management/main.tsp index e5532208b44a..ae82153acf7a 100644 --- a/specification/mission/Mission.Management/main.tsp +++ b/specification/mission/Mission.Management/main.tsp @@ -21,6 +21,7 @@ import "./resourcetypes/communityEndpoint/communityEndpoint.tsp"; import "./resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp"; import "./version.tsp"; import "./model.tsp"; +import "./routes.tsp"; using TypeSpec.Http; using TypeSpec.Rest; diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 3dc3bee841d3..a4bec841c164 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -187,362 +187,3 @@ model ApprovalResource is ExtensionResource { @doc("The name of the approvals resource.") name: string; } - -@doc("Workload Interface") -@armResourceOperations -interface Workload { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - WorkloadResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - WorkloadResource, - PatchModel = WorkloadPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByEnclaveResource is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - -@doc("Endpoint Interface") -@armResourceOperations -interface Endpoint { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - EndpointResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - EndpointResource, - PatchModel = EndpointPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByEnclaveResource is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - -@doc("Virtual Enclave Interface") -@armResourceOperations -interface VirtualEnclave { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - EnclaveResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - EnclaveResource, - PatchModel = VirtualEnclavePatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; - - @autoRoute - @doc("Checks that the IP Address Space to be allocated for this Virtual Enclave is available.") - @armResourceAction(EnclaveResource) - @post - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - checkAddressSpaceAvailability( - ...ResourceInstanceParameters, - - @doc("Check IP Address Space request body.") - @bodyRoot - checkAddressSpaceAvailabilityRequest: CheckAddressSpaceAvailabilityRequest, - ): ArmResponse | ErrorResponse; - - @doc("Callback that triggers on approval state change.") - @armResourceAction(EnclaveResource) - @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalCallback is ArmResourceActionAsync< - EnclaveResource, - ApprovalCallbackRequest, - ApprovalCallbackResponse - >; - @doc("Callback that triggers on approval deletion state change.") - @armResourceAction(EnclaveResource) - @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalDeletionCallback is ArmResourceActionAsync< - EnclaveResource, - ApprovalDeletionCallbackRequest, - ApprovalDeletionCallbackResponse - >; -} - -@doc("Community Interface") -@armResourceOperations -interface Community { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - CommunityResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - CommunityResource, - PatchModel = CommunityPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; - - @autoRoute - @doc("Checks that the IP Address Space to be allocated for this Community is available.") - @armResourceAction(CommunityResource) - @post - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - checkAddressSpaceAvailability( - ...ResourceInstanceParameters, - - @doc("Check IP Address Space request body.") - @bodyRoot - checkAddressSpaceAvailabilityRequest: CheckAddressSpaceAvailabilityRequest, - ): ArmResponse | ErrorResponse; -} - -#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Catalog Interface") -@armResourceOperations -@renamedFrom(Microsoft.Mission.Versions.v2024_06_01_preview, "Catalog") -interface CatalogInterface { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - CatalogResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - CatalogResource, - PatchModel = CatalogPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - -@doc("Internal Connections") -@armResourceOperations -interface InternalConnections { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - InternalConnection, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - InternalConnection, - PatchModel = InternalConnectionPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - -@added(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("TransitHub Interface") -@armResourceOperations -interface TransitHub { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - TransitHubResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - TransitHubResource, - PatchModel = TransitHubPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByCommunityResource is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - -@added(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Enclave Connection Interface") -@armResourceOperations -interface EnclaveConnection { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - EnclaveConnectionResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - EnclaveConnectionResource, - PatchModel = EnclaveConnectionPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; - - @doc("Callback that triggers on approval state change.") - @armResourceAction(EnclaveConnectionResource) - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - approvalCallback is ArmResourceActionAsync< - EnclaveConnectionResource, - ApprovalCallbackRequest, - ApprovalCallbackResponse - >; - @doc("Callback that triggers on approval deletion state change.") - @armResourceAction(EnclaveConnectionResource) - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - approvalDeletionCallback is ArmResourceActionAsync< - EnclaveConnectionResource, - ApprovalDeletionCallbackRequest, - ApprovalDeletionCallbackResponse - >; -} - -@added(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Enclave Endpoint Interface") -@armResourceOperations -interface EnclaveEndpoints { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - EnclaveEndpointResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - EnclaveEndpointResource, - PatchModel = EnclaveEndpointPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByEnclaveResource is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; - - @doc("Callback that triggers on approval state change.") - @armResourceAction(EnclaveEndpointResource) - @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalCallback is ArmResourceActionAsync< - EnclaveEndpointResource, - ApprovalCallbackRequest, - ApprovalCallbackResponse - >; - @doc("Callback that triggers on approval deletion state change.") - @armResourceAction(EnclaveEndpointResource) - @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalDeletionCallback is ArmResourceActionAsync< - EnclaveEndpointResource, - ApprovalDeletionCallbackRequest, - ApprovalDeletionCallbackResponse - >; -} - -@added(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Community Endpoint Interface") -@armResourceOperations -interface CommunityEndpoints { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - CommunityEndpointResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - CommunityEndpointResource, - PatchModel = CommunityEndpointPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByCommunityResource is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; - - @doc("Callback that triggers on approval state change.") - @armResourceAction(CommunityEndpointResource) - @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalCallback is ArmResourceActionAsync< - CommunityEndpointResource, - ApprovalCallbackRequest, - ApprovalCallbackResponse - >; - @doc("Callback that triggers on approval deletion state change.") - @armResourceAction(CommunityEndpointResource) - @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalDeletionCallback is ArmResourceActionAsync< - CommunityEndpointResource, - ApprovalDeletionCallbackRequest, - ApprovalDeletionCallbackResponse - >; -} - -@doc("External Connections") -@armResourceOperations -interface ExternalConnections { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - ExternalConnection, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - ExternalConnection, - PatchModel = ExternalConnectionPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - -@added(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Approval Interface") -@armResourceOperations -interface Approval { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - ApprovalResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - listByParent is ArmResourceListByParent; - update is ArmCustomPatchAsync< - ApprovalResource, - PatchModel = ApprovalPatchResource - >; - delete is ArmResourceDeleteWithoutOkAsync; - @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") - @armResourceAction(ApprovalResource) - initiatorCallback is ArmResourceActionAsync< - ApprovalResource, - InitiatorCallbackRequest, - InitiatorCallbackResponse - >; -} diff --git a/specification/mission/Mission.Management/routes.tsp b/specification/mission/Mission.Management/routes.tsp new file mode 100644 index 000000000000..aa413c30ea77 --- /dev/null +++ b/specification/mission/Mission.Management/routes.tsp @@ -0,0 +1,398 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@typespec/openapi"; +import "@typespec/versioning"; +import "@azure-tools/typespec-autorest"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@azure-tools/typespec-client-generator-core"; + +import "./resourcetypes/community/community.tsp"; +import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; +import "./resourcetypes/workload/workload.tsp"; +import "./resourcetypes/catalog/catalog.tsp"; +import "./resourcetypes/endpoint/endpoint.tsp"; +import "./resourcetypes/internalConnection/internalConnection.tsp"; +import "./resourcetypes/externalConnection/externalConnection.tsp"; +import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; +import "./resourcetypes/transitHub/transitHub.tsp"; +import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; +import "./resourcetypes/communityEndpoint/communityEndpoint.tsp"; +import "./resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp"; +import "./resourcetypes/postActions/approvalcallback.tsp"; +import "./resourcetypes/approvals/approvals.tsp"; +import "./resourcetypes/postActions/initiatorcallback.tsp"; +import "./resourcetypes/postActions/approvaldeletioncallback.tsp"; + +import "./model.tsp"; + +using Azure.ClientGenerator.Core; +using Azure.Core; +using Azure.Core.Traits; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Rest; +using TypeSpec.Versioning; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Workload Interface") +@armResourceOperations +interface Workload { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + WorkloadResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + WorkloadResource, + PatchModel = WorkloadPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByEnclaveResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@doc("Endpoint Interface") +@armResourceOperations +interface Endpoint { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + EndpointResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + EndpointResource, + PatchModel = EndpointPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByEnclaveResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@doc("Virtual Enclave Interface") +@armResourceOperations +interface VirtualEnclave { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + EnclaveResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + EnclaveResource, + PatchModel = VirtualEnclavePatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @autoRoute + @doc("Checks that the IP Address Space to be allocated for this Virtual Enclave is available.") + @armResourceAction(EnclaveResource) + @post + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @removed(Microsoft.Mission.Versions.v2024_06_01_preview) + checkAddressSpaceAvailability( + ...ResourceInstanceParameters, + + @doc("Check IP Address Space request body.") + @bodyRoot + checkAddressSpaceAvailabilityRequest: CheckAddressSpaceAvailabilityRequest, + ): ArmResponse | ErrorResponse; + + @doc("Callback that triggers on approval state change.") + @armResourceAction(EnclaveResource) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + approvalCallback is ArmResourceActionAsync< + EnclaveResource, + ApprovalCallbackRequest, + ApprovalCallbackResponse + >; + @doc("Callback that triggers on approval deletion state change.") + @armResourceAction(EnclaveResource) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + approvalDeletionCallback is ArmResourceActionAsync< + EnclaveResource, + ApprovalDeletionCallbackRequest, + ApprovalDeletionCallbackResponse + >; +} + +@doc("Community Interface") +@armResourceOperations +interface Community { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + CommunityResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + CommunityResource, + PatchModel = CommunityPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @autoRoute + @doc("Checks that the IP Address Space to be allocated for this Community is available.") + @armResourceAction(CommunityResource) + @post + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + checkAddressSpaceAvailability( + ...ResourceInstanceParameters, + + @doc("Check IP Address Space request body.") + @bodyRoot + checkAddressSpaceAvailabilityRequest: CheckAddressSpaceAvailabilityRequest, + ): ArmResponse | ErrorResponse; +} + +#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." +@removed(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Catalog Interface") +@armResourceOperations +@renamedFrom(Microsoft.Mission.Versions.v2024_06_01_preview, "Catalog") +interface CatalogInterface { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + CatalogResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + CatalogResource, + PatchModel = CatalogPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@doc("Internal Connections") +@armResourceOperations +interface InternalConnections { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + InternalConnection, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + InternalConnection, + PatchModel = InternalConnectionPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("TransitHub Interface") +@armResourceOperations +interface TransitHub { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + TransitHubResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + TransitHubResource, + PatchModel = TransitHubPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByCommunityResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Enclave Connection Interface") +@armResourceOperations +interface EnclaveConnection { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + EnclaveConnectionResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + EnclaveConnectionResource, + PatchModel = EnclaveConnectionPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @doc("Callback that triggers on approval state change.") + @armResourceAction(EnclaveConnectionResource) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + approvalCallback is ArmResourceActionAsync< + EnclaveConnectionResource, + ApprovalCallbackRequest, + ApprovalCallbackResponse + >; + @doc("Callback that triggers on approval deletion state change.") + @armResourceAction(EnclaveConnectionResource) + @added(Microsoft.Mission.Versions.v2024_06_01_preview) + approvalDeletionCallback is ArmResourceActionAsync< + EnclaveConnectionResource, + ApprovalDeletionCallbackRequest, + ApprovalDeletionCallbackResponse + >; +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Enclave Endpoint Interface") +@armResourceOperations +interface EnclaveEndpoints { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + EnclaveEndpointResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + EnclaveEndpointResource, + PatchModel = EnclaveEndpointPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByEnclaveResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @doc("Callback that triggers on approval state change.") + @armResourceAction(EnclaveEndpointResource) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + approvalCallback is ArmResourceActionAsync< + EnclaveEndpointResource, + ApprovalCallbackRequest, + ApprovalCallbackResponse + >; + @doc("Callback that triggers on approval deletion state change.") + @armResourceAction(EnclaveEndpointResource) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + approvalDeletionCallback is ArmResourceActionAsync< + EnclaveEndpointResource, + ApprovalDeletionCallbackRequest, + ApprovalDeletionCallbackResponse + >; +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Community Endpoint Interface") +@armResourceOperations +interface CommunityEndpoints { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + CommunityEndpointResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + CommunityEndpointResource, + PatchModel = CommunityEndpointPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByCommunityResource is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; + + @doc("Callback that triggers on approval state change.") + @armResourceAction(CommunityEndpointResource) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + approvalCallback is ArmResourceActionAsync< + CommunityEndpointResource, + ApprovalCallbackRequest, + ApprovalCallbackResponse + >; + @doc("Callback that triggers on approval deletion state change.") + @armResourceAction(CommunityEndpointResource) + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + approvalDeletionCallback is ArmResourceActionAsync< + CommunityEndpointResource, + ApprovalDeletionCallbackRequest, + ApprovalDeletionCallbackResponse + >; +} + +@doc("External Connections") +@armResourceOperations +interface ExternalConnections { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + ExternalConnection, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + update is ArmCustomPatchAsync< + ExternalConnection, + PatchModel = ExternalConnectionPatchResource + >; + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + #suppress "deprecated" "Backwards compatibility" + delete is ArmResourceDeleteWithoutOkAsync; + listByResourceGroup is ArmResourceListByParent; + listBySubscription is ArmListBySubscription; +} + +@added(Microsoft.Mission.Versions.v2024_06_01_preview) +@doc("Approval Interface") +@armResourceOperations +interface Approval { + get is ArmResourceRead; + @useFinalStateVia("azure-async-operation") + createOrUpdate is ArmResourceCreateOrReplaceAsync< + ApprovalResource, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmAsyncOperationHeader + >; + listByParent is ArmResourceListByParent; + update is ArmCustomPatchAsync< + ApprovalResource, + PatchModel = ApprovalPatchResource + >; + delete is ArmResourceDeleteWithoutOkAsync; + @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") + @armResourceAction(ApprovalResource) + initiatorCallback is ArmResourceActionAsync< + ApprovalResource, + InitiatorCallbackRequest, + InitiatorCallbackResponse + >; +} From 9e2a05abc7382330f0084b1397875d4eaf16774e Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Tue, 11 Mar 2025 21:03:09 -0400 Subject: [PATCH 77/89] Feedback from engineering -- remove Endpoint, InternalConnection, ExternalConnection models and interfaces. Update Community to include _ as part of name validation. --- .../mission/Mission.Management/main.tsp | 3 - .../mission/Mission.Management/model.tsp | 54 +- .../resourcetypes/approvals/approvals.tsp | 11 - .../resourcetypes/community/community.tsp | 41 +- .../communityEndpoint/communityEndpoint.tsp | 29 - .../enclaveEndpoint/enclaveEndpoint.tsp | 23 - .../virtualEnclave/virtualenclave.tsp | 11 - .../resourcetypes/workload/workload.tsp | 15 - .../mission/Mission.Management/routes.tsp | 104 - .../preview/2024-06-01-preview/openapi.json | 1961 ++------------- .../preview/2024-12-01-preview/openapi.json | 2223 +++-------------- 11 files changed, 458 insertions(+), 4017 deletions(-) diff --git a/specification/mission/Mission.Management/main.tsp b/specification/mission/Mission.Management/main.tsp index ae82153acf7a..5e977e17ea94 100644 --- a/specification/mission/Mission.Management/main.tsp +++ b/specification/mission/Mission.Management/main.tsp @@ -11,9 +11,6 @@ import "./resourcetypes/community/community.tsp"; import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; import "./resourcetypes/workload/workload.tsp"; import "./resourcetypes/catalog/catalog.tsp"; -import "./resourcetypes/endpoint/endpoint.tsp"; -import "./resourcetypes/internalConnection/internalConnection.tsp"; -import "./resourcetypes/externalConnection/externalConnection.tsp"; import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; import "./resourcetypes/transitHub/transitHub.tsp"; import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index a4bec841c164..5307c46c29eb 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -11,9 +11,6 @@ import "./resourcetypes/community/community.tsp"; import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; import "./resourcetypes/workload/workload.tsp"; import "./resourcetypes/catalog/catalog.tsp"; -import "./resourcetypes/endpoint/endpoint.tsp"; -import "./resourcetypes/internalConnection/internalConnection.tsp"; -import "./resourcetypes/externalConnection/externalConnection.tsp"; import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; import "./resourcetypes/transitHub/transitHub.tsp"; import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; @@ -85,49 +82,6 @@ model WorkloadResource is TrackedResource { name: string; } -#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Catalog Model Resource") -model CatalogResource is TrackedResource { - @key("catalogName") - @segment("catalogs") - @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") - @doc("The name of the catalogResource Resource") - @path - name: string; -} - -@doc("Endpoint Model Resource") -@parentResource(EnclaveResource) -model EndpointResource is TrackedResource { - @key("endpointName") - @segment("endpoints") - @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") - @path - @doc("The name of the endpointResource Resource") - name: string; -} - -@doc("Describes an Internal Connection.") -model InternalConnection is TrackedResource { - @key("internalConnectionName") - @segment("internalConnections") - @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") - @doc("The name of the internal connection.") - @path - name: string; -} - -@doc("Describes an External Connection.") -model ExternalConnection is TrackedResource { - @key("externalConnectionName") - @segment("externalConnections") - @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") - @doc("The name of the external connection.") - @path - name: string; -} - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("TransitHub Model Resource") @parentResource(CommunityResource) @@ -135,7 +89,7 @@ model TransitHubResource is TrackedResource { @key("transitHubName") @segment("transitHubs") @path - @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @pattern("^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$") @doc("The name of the TransitHub Resource") name: string; } @@ -147,7 +101,7 @@ model EnclaveConnectionResource @key("enclaveConnectionName") @segment("enclaveConnections") @path - @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @pattern("^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$") @doc("The name of the Enclave Connection Resource") name: string; } @@ -159,7 +113,7 @@ model EnclaveEndpointResource is TrackedResource { @key("enclaveEndpointName") @segment("enclaveEndpoints") @path - @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @pattern("^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$") @doc("The name of the Enclave Endpoint Resource") name: string; } @@ -172,7 +126,7 @@ model CommunityEndpointResource @key("communityEndpointName") @segment("communityEndpoints") @path - @pattern("^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$") + @pattern("^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$") @doc("The name of the Community Endpoint Resource") name: string; } diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index c2ceee974921..c2b875207e18 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -98,17 +98,6 @@ model ApprovalProperties { @doc("List of approvers for the approval request") approvers?: Approver[]; - @added(Microsoft.Mission.Versions.v2024_12_01_preview) - @removed(Microsoft.Mission.Versions.v2024_12_01_preview) - @OpenAPI.extension("x-ms-identifiers", #["approverEntraId"]) - @doc("List of mandatory approvers for the approval request") - mandatoryApprovers?: Approver[]; - - @added(Microsoft.Mission.Versions.v2024_12_01_preview) - @removed(Microsoft.Mission.Versions.v2024_12_01_preview) - @doc("Minimum number of approvers required for the approval request") - minimumApproversRequired?: int64; - @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Ticket ID for the approval request") ticketId?: string; diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index 031bdd96a4e5..ee3f3ebfc531 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -15,27 +15,6 @@ using Azure.ResourceManager; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; -#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("EnclaveListItem Properties") -model EnclaveListItem { - @doc("virtual enclave name.") - name?: string; - - @doc("virtual enclaves resource id.") - id?: VirtualEnclaveResourceId; - - @doc("creation datetime.") - creationDatetime?: string; - - @doc("created by.") - createdBy?: string; - - @doc("Provisioning State.") - @visibility(Lifecycle.Read) - provisioningState?: ProvisioningState; -} - @doc("Identifier for governed services.") union ServiceIdentifier { @doc("Service identifier for AKS") @@ -189,11 +168,6 @@ model ApprovalSettings { @doc("Community Resource Properties") model CommunityProperties { - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Community Description.") - description?: string; - @doc("Address Space.") addressSpace?: string; @@ -205,33 +179,20 @@ model CommunityProperties { provisioningState?: ProvisioningState; @doc("List of resource ids created by communities.") + @visibility(Lifecycle.Read) resourceCollection?: string[]; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("List of virtual enclaves that a community contains.") - virtualEnclaveList?: EnclaveListItem[]; - - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "For backward compatibility" - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Dictionary of virtual enclaves that a community contains.") - virtualEnclaveCollection?: Record; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed resource group configuration.") managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of services governed by a community.") governedServiceList?: GovernedServiceItem[]; @added(Microsoft.Mission.Versions.v2024_12_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Community role assignments") communityRoleAssignments?: RoleAssignmentItem[]; diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index 1a98df3ceb3e..c6c7cad72325 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -63,29 +63,6 @@ union DestinationType { string, } -#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Base type for destination rules.") -model DestinationRule { - @doc("Destination Rule Name.") - name?: string; - - @doc("Destination Type.") - destinationType?: DestinationType; - - @doc("Destination must follow the format for FQDNs if it is selected as the destination type (no IP/CIDR or full web URLs).") - destination: string[]; - - @doc("Port. Can include multiple ports separated by commas or a range indicated by a hyphen.") - port?: string; - - @doc("Protocol. Options specified by Endpoint Protocol Enum.") - protocol?: CommunityEndpointProtocol[]; - - @doc("Transit Hub Resource Id.") - transitHubResourceId?: TransitHubResourceId; -} - @doc("Base type for destination rules.") model CommunityEndpointDestinationRule is EndpointRuleBase { @doc("Destination Type.") @@ -106,12 +83,6 @@ model CommunityEndpointProperties { @doc("Community Endpoint Rule Collection.") ruleCollection: CommunityEndpointDestinationRule[]; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @extension("x-ms-identifiers", #["name"]) - @doc("Destination Rule Collection.") - destinationRuleCollection: DestinationRule[]; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource ids created by community endpoint.") resourceCollection?: string[]; diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index ab2dd1d375a2..c2c386538ab8 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -40,23 +40,6 @@ union EnclaveEndpointProtocol { string, } -#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Enclave Endpoint Rule Properties") -model EnclaveEndpointRule { - @doc("Endpoint Rule Name.") - name?: string; - - @doc("IP Address. Can include multiple CIDR/IP Addresses separated by commas.") - address?: string; - - @doc("Port. Can include multiple ports separated by commas or a range indicated by a hyphen.") - port?: string; - - @doc("Protocol. Options specified by Endpoint Protocol Enum.") - protocol?: EnclaveEndpointProtocol; -} - @doc("Enclave Endpoint Rule Properties") model EnclaveEndpointDestinationRule is EndpointRuleBase { @doc("Protocols. Options specified by Endpoint Protocol Enum.") @@ -71,12 +54,6 @@ model EnclaveEndpointProperties { @doc("Enclave Endpoint Rule Collection.") ruleCollection: EnclaveEndpointDestinationRule[]; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @extension("x-ms-identifiers", #["name"]) - @doc("Endpoint Rule Collection.") - endpointRuleCollection?: EnclaveEndpointRule[]; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource ids created by community endpoint.") resourceCollection?: string[]; diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 58db2a46ab7d..6b1b2a8f9ea3 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -88,11 +88,6 @@ model EnclaveDefaultSettings { @doc("Key Vault Resource Id.") keyVaultResourceId?: KeyVaultResourceId; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Log Analytics Resource Id.") - logAnalyticsResourceId?: LogAnalyticsResourceId; - @doc("Storage Account Resource Id.") storageAccountResourceId?: StorageAccountResourceId; @@ -109,11 +104,9 @@ model EnclaveDefaultSettings { @doc("Enclave Address Spaces") model EnclaveAddressSpaces { - @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Enclave Address Space") enclaveAddressSpace?: string; - @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed Address Space") managedAddressSpace?: string; } @@ -155,17 +148,13 @@ model VirtualEnclaveProperties { resourceCollection?: armResourceIdentifier[]; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Managed resource group configuration.") managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Maintenance Mode configuration.") maintenanceModeConfiguration?: MaintenanceModeConfiguration; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Deploy Bastion service (True or False).") bastionEnabled?: boolean; diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 668668b8515d..7f7e8ae57e38 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -17,21 +17,6 @@ namespace Microsoft.Mission; @doc("Workload Resource properties") model WorkloadProperties { - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Workload Description.") - description?: string; - - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Virtual Enclave Resource Id.") - enclaveResourceId?: VirtualEnclaveResourceId; - - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Managed Resource Groups.") - managedResourceGroups?: string[]; - @doc("Provisioning State.") @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; diff --git a/specification/mission/Mission.Management/routes.tsp b/specification/mission/Mission.Management/routes.tsp index aa413c30ea77..1d79eaf51d5c 100644 --- a/specification/mission/Mission.Management/routes.tsp +++ b/specification/mission/Mission.Management/routes.tsp @@ -11,9 +11,6 @@ import "./resourcetypes/community/community.tsp"; import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; import "./resourcetypes/workload/workload.tsp"; import "./resourcetypes/catalog/catalog.tsp"; -import "./resourcetypes/endpoint/endpoint.tsp"; -import "./resourcetypes/internalConnection/internalConnection.tsp"; -import "./resourcetypes/externalConnection/externalConnection.tsp"; import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; import "./resourcetypes/transitHub/transitHub.tsp"; import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; @@ -59,27 +56,6 @@ interface Workload { listBySubscription is ArmListBySubscription; } -@doc("Endpoint Interface") -@armResourceOperations -interface Endpoint { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - EndpointResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - EndpointResource, - PatchModel = EndpointPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByEnclaveResource is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - @doc("Virtual Enclave Interface") @armResourceOperations interface VirtualEnclave { @@ -100,20 +76,6 @@ interface VirtualEnclave { listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; - @autoRoute - @doc("Checks that the IP Address Space to be allocated for this Virtual Enclave is available.") - @armResourceAction(EnclaveResource) - @post - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - checkAddressSpaceAvailability( - ...ResourceInstanceParameters, - - @doc("Check IP Address Space request body.") - @bodyRoot - checkAddressSpaceAvailabilityRequest: CheckAddressSpaceAvailabilityRequest, - ): ArmResponse | ErrorResponse; - @doc("Callback that triggers on approval state change.") @armResourceAction(EnclaveResource) @added(Microsoft.Mission.Versions.v2024_12_01_preview) @@ -166,51 +128,6 @@ interface Community { ): ArmResponse | ErrorResponse; } -#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@removed(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Catalog Interface") -@armResourceOperations -@renamedFrom(Microsoft.Mission.Versions.v2024_06_01_preview, "Catalog") -interface CatalogInterface { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - CatalogResource, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - CatalogResource, - PatchModel = CatalogPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - -@doc("Internal Connections") -@armResourceOperations -interface InternalConnections { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - InternalConnection, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - InternalConnection, - PatchModel = InternalConnectionPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("TransitHub Interface") @armResourceOperations @@ -350,27 +267,6 @@ interface CommunityEndpoints { >; } -@doc("External Connections") -@armResourceOperations -interface ExternalConnections { - get is ArmResourceRead; - @useFinalStateVia("azure-async-operation") - createOrUpdate is ArmResourceCreateOrReplaceAsync< - ExternalConnection, - LroHeaders = Azure.Core.Foundations.RetryAfterHeader & - ArmAsyncOperationHeader - >; - update is ArmCustomPatchAsync< - ExternalConnection, - PatchModel = ExternalConnectionPatchResource - >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" - delete is ArmResourceDeleteWithoutOkAsync; - listByResourceGroup is ArmResourceListByParent; - listBySubscription is ArmListBySubscription; -} - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Approval Interface") @armResourceOperations diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index fd80fc9de0fc..ff2625b46ab2 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -45,18 +45,12 @@ { "name": "Workload" }, - { - "name": "Endpoint" - }, { "name": "VirtualEnclave" }, { "name": "Community" }, - { - "name": "InternalConnections" - }, { "name": "TransitHub" }, @@ -69,9 +63,6 @@ { "name": "CommunityEndpoints" }, - { - "name": "ExternalConnections" - }, { "name": "Approval" } @@ -637,84 +628,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { "get": { "operationId": "VirtualEnclave_ListBySubscription", @@ -801,53 +714,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { "get": { "operationId": "Workload_ListBySubscription", @@ -1328,7 +1194,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -1381,7 +1247,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "resource", @@ -1464,7 +1330,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "properties", @@ -1544,7 +1410,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -1664,7 +1530,7 @@ "description": "The name of the TransitHub Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -1717,7 +1583,7 @@ "description": "The name of the TransitHub Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "resource", @@ -1800,7 +1666,7 @@ "description": "The name of the TransitHub Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "properties", @@ -1880,7 +1746,7 @@ "description": "The name of the TransitHub Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -1984,7 +1850,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -2029,7 +1895,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "resource", @@ -2104,7 +1970,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "properties", @@ -2176,7 +2042,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -2238,7 +2104,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "body", @@ -2312,7 +2178,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "body", @@ -2363,13 +2229,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { "get": { - "operationId": "ExternalConnections_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "List ExternalConnection resources by resource group", + "description": "List EnclaveResource resources by resource group", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2385,7 +2251,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" + "$ref": "#/definitions/EnclaveResourceListResult" } }, "default": { @@ -2396,8 +2262,8 @@ } }, "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" } }, "x-ms-pageable": { @@ -2405,13 +2271,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { "get": { - "operationId": "ExternalConnections_Get", + "operationId": "VirtualEnclave_Get", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "Get a ExternalConnection", + "description": "Get a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2423,9 +2289,9 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "externalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the external connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" @@ -2435,7 +2301,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" } }, "default": { @@ -2446,17 +2312,17 @@ } }, "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" } } }, "put": { - "operationId": "ExternalConnections_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "Create a ExternalConnection", + "description": "Create a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2468,9 +2334,9 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "externalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the external connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" @@ -2481,21 +2347,21 @@ "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" } } ], "responses": { "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", + "description": "Resource 'EnclaveResource' update operation succeeded", "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" } }, "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", + "description": "Resource 'EnclaveResource' create operation succeeded", "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" }, "headers": { "Azure-AsyncOperation": { @@ -2517,8 +2383,8 @@ } }, "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" } }, "x-ms-long-running-operation-options": { @@ -2527,11 +2393,11 @@ "x-ms-long-running-operation": true }, "patch": { - "operationId": "ExternalConnections_Update", + "operationId": "VirtualEnclave_Update", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "Update a ExternalConnection", + "description": "Update a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2543,9 +2409,9 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "externalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the external connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" @@ -2556,7 +2422,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPatchResource" + "$ref": "#/definitions/VirtualEnclavePatchResource" } } ], @@ -2564,7 +2430,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" } }, "202": { @@ -2589,8 +2455,8 @@ } }, "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2599,11 +2465,11 @@ "x-ms-long-running-operation": true }, "delete": { - "operationId": "ExternalConnections_Delete", + "operationId": "VirtualEnclave_Delete", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "Delete a ExternalConnection", + "description": "Delete a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2615,9 +2481,9 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "externalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the external connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" @@ -2649,8 +2515,8 @@ } }, "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -2659,13 +2525,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { "get": { - "operationId": "InternalConnections_ListByResourceGroup", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", "tags": [ - "InternalConnections" + "EnclaveEndpoints" ], - "description": "List InternalConnection resources by resource group", + "description": "List EnclaveEndpointResource resources by EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2675,13 +2541,21 @@ }, { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InternalConnectionListResult" + "$ref": "#/definitions/EnclaveEndpointResourceListResult" } }, "default": { @@ -2692,8 +2566,8 @@ } }, "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" } }, "x-ms-pageable": { @@ -2701,13 +2575,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { "get": { - "operationId": "InternalConnections_Get", + "operationId": "EnclaveEndpoints_Get", "tags": [ - "InternalConnections" + "EnclaveEndpoints" ], - "description": "Get a InternalConnection", + "description": "Get a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2719,19 +2593,27 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "internalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the internal connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/EnclaveEndpointResource" } }, "default": { @@ -2742,17 +2624,17 @@ } }, "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" } } }, "put": { - "operationId": "InternalConnections_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", "tags": [ - "InternalConnections" + "EnclaveEndpoints" ], - "description": "Create a InternalConnection", + "description": "Create a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2764,34 +2646,42 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "internalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the internal connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, { "name": "resource", "in": "body", "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/EnclaveEndpointResource" } } ], "responses": { "200": { - "description": "Resource 'InternalConnection' update operation succeeded", + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/EnclaveEndpointResource" } }, "201": { - "description": "Resource 'InternalConnection' create operation succeeded", + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/EnclaveEndpointResource" }, "headers": { "Azure-AsyncOperation": { @@ -2813,8 +2703,8 @@ } }, "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" } }, "x-ms-long-running-operation-options": { @@ -2823,11 +2713,11 @@ "x-ms-long-running-operation": true }, "patch": { - "operationId": "InternalConnections_Update", + "operationId": "EnclaveEndpoints_Update", "tags": [ - "InternalConnections" + "EnclaveEndpoints" ], - "description": "Update a InternalConnection", + "description": "Update a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2839,20 +2729,28 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "internalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the internal connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, { "name": "properties", "in": "body", "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/InternalConnectionPatchResource" + "$ref": "#/definitions/EnclaveEndpointPatchResource" } } ], @@ -2860,7 +2758,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/EnclaveEndpointResource" } }, "202": { @@ -2885,8 +2783,8 @@ } }, "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2895,11 +2793,11 @@ "x-ms-long-running-operation": true }, "delete": { - "operationId": "InternalConnections_Delete", + "operationId": "EnclaveEndpoints_Delete", "tags": [ - "InternalConnections" + "EnclaveEndpoints" ], - "description": "Delete a InternalConnection", + "description": "Delete a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2911,12 +2809,20 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "internalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the internal connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -2945,8 +2851,8 @@ } }, "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -2955,981 +2861,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", + "operationId": "Workload_ListByEnclaveResource", "tags": [ - "VirtualEnclave" + "Workload" ], - "description": "List EnclaveResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualEnclavePatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Delete a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" - } - } - }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", - "tags": [ - "Endpoint" - ], - "description": "Create a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", - "tags": [ - "Endpoint" - ], - "description": "Update a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", - "tags": [ - "Endpoint" - ], - "description": "Delete a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { - "get": { - "operationId": "Workload_ListByEnclaveResource", - "tags": [ - "Workload" - ], - "description": "List WorkloadResource resources by EnclaveResource", + "description": "List WorkloadResource resources by EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4735,7 +3673,8 @@ "description": "List of resource ids created by communities.", "items": { "type": "string" - } + }, + "readOnly": true }, "managedResourceGroupConfiguration": { "$ref": "#/definitions/ManagedResourceGroupConfiguration", @@ -5304,313 +4243,27 @@ }, "networkSize": { "type": "string", - "description": "Network Size." - }, - "customCidrRange": { - "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, - "EndpointPatchResource": { - "type": "object", - "description": "Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/UpdateEndpointPatchProperties", - "description": "Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionPatchResource": { - "type": "object", - "description": "External Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/UpdateExternalConnectionPatchProperties", - "description": "External Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." + "description": "Network Size." }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range." }, - "enclaveIds": { + "subnetConfigurations": { "type": "array", - "description": "The enclaves' resource IDs.", + "description": "Subnet Configurations.", "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" + "$ref": "#/definitions/SubnetConfiguration" } }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] } }, "GovernedServiceItem": { @@ -5712,183 +4365,6 @@ "message" ] }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionPatchResource": { - "type": "object", - "description": "Internal Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/UpdateInternalConnectionProperties", - "description": "Internal Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -6587,7 +5063,8 @@ "description": "List of resource ids created by communities.", "items": { "type": "string" - } + }, + "readOnly": true }, "managedResourceGroupConfiguration": { "$ref": "#/definitions/ManagedResourceGroupConfiguration", @@ -6664,106 +5141,6 @@ } } }, - "UpdateEndpointPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "UpdateExternalConnectionPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "UpdateInternalConnectionProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, "UpdateTransitHubPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", @@ -6921,18 +5298,6 @@ "communityResourceId" ] }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, "VirtualNetworkResourceId": { "type": "string", "format": "arm-id", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 2718bdecc9bd..1e4e0e26ae4f 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -45,18 +45,12 @@ { "name": "Workload" }, - { - "name": "Endpoint" - }, { "name": "VirtualEnclave" }, { "name": "Community" }, - { - "name": "InternalConnections" - }, { "name": "TransitHub" }, @@ -69,9 +63,6 @@ { "name": "CommunityEndpoints" }, - { - "name": "ExternalConnections" - }, { "name": "Approval" } @@ -637,84 +628,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/externalConnections": { - "get": { - "operationId": "ExternalConnections_ListBySubscription", - "tags": [ - "ExternalConnections" - ], - "description": "List ExternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "ExternalConnections_ListBySubscription": { - "$ref": "./examples/ExternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListBySubscription", - "tags": [ - "InternalConnections" - ], - "description": "List InternalConnection resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnectionListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_ListBySubscription": { - "$ref": "./examples/InternalConnections_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { "get": { "operationId": "VirtualEnclave_ListBySubscription", @@ -801,53 +714,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListBySubscription", - "tags": [ - "Endpoint" - ], - "description": "List EndpointResource resources by subscription ID", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListBySubscription": { - "$ref": "./examples/Endpoint_ListBySubscription.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { "get": { "operationId": "Workload_ListBySubscription", @@ -1328,7 +1194,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -1381,7 +1247,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "resource", @@ -1464,7 +1330,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "properties", @@ -1544,7 +1410,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -1614,7 +1480,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "body", @@ -1696,7 +1562,7 @@ "description": "The name of the Community Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "body", @@ -1828,7 +1694,7 @@ "description": "The name of the TransitHub Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -1881,7 +1747,7 @@ "description": "The name of the TransitHub Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "resource", @@ -1964,7 +1830,7 @@ "description": "The name of the TransitHub Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "properties", @@ -2044,7 +1910,7 @@ "description": "The name of the TransitHub Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -2148,7 +2014,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -2193,7 +2059,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "resource", @@ -2268,7 +2134,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "properties", @@ -2340,7 +2206,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { @@ -2402,7 +2268,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "body", @@ -2476,7 +2342,7 @@ "description": "The name of the Enclave Connection Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { "name": "body", @@ -2527,13 +2393,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { "get": { - "operationId": "ExternalConnections_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "List ExternalConnection resources by resource group", + "description": "List EnclaveResource resources by resource group", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2549,7 +2415,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExternalConnectionListResult" + "$ref": "#/definitions/EnclaveResourceListResult" } }, "default": { @@ -2560,8 +2426,8 @@ } }, "x-ms-examples": { - "ExternalConnections_ListByResourceGroup": { - "$ref": "./examples/ExternalConnections_ListByResourceGroup.json" + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" } }, "x-ms-pageable": { @@ -2569,13 +2435,13 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/externalConnections/{externalConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { "get": { - "operationId": "ExternalConnections_Get", + "operationId": "VirtualEnclave_Get", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "Get a ExternalConnection", + "description": "Get a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2587,9 +2453,9 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "externalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the external connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" @@ -2599,7 +2465,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" } }, "default": { @@ -2610,17 +2476,17 @@ } }, "x-ms-examples": { - "ExternalConnections_Get": { - "$ref": "./examples/ExternalConnections_Get.json" + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" } } }, "put": { - "operationId": "ExternalConnections_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "Create a ExternalConnection", + "description": "Create a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2632,9 +2498,9 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "externalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the external connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" @@ -2645,21 +2511,21 @@ "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" } } ], "responses": { "200": { - "description": "Resource 'ExternalConnection' update operation succeeded", + "description": "Resource 'EnclaveResource' update operation succeeded", "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" } }, "201": { - "description": "Resource 'ExternalConnection' create operation succeeded", + "description": "Resource 'EnclaveResource' create operation succeeded", "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" }, "headers": { "Azure-AsyncOperation": { @@ -2681,8 +2547,8 @@ } }, "x-ms-examples": { - "ExternalConnections_CreateOrUpdate": { - "$ref": "./examples/ExternalConnections_CreateOrUpdate.json" + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" } }, "x-ms-long-running-operation-options": { @@ -2691,11 +2557,11 @@ "x-ms-long-running-operation": true }, "patch": { - "operationId": "ExternalConnections_Update", + "operationId": "VirtualEnclave_Update", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "Update a ExternalConnection", + "description": "Update a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2707,9 +2573,9 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "externalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the external connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" @@ -2720,7 +2586,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ExternalConnectionPatchResource" + "$ref": "#/definitions/VirtualEnclavePatchResource" } } ], @@ -2728,7 +2594,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ExternalConnection" + "$ref": "#/definitions/EnclaveResource" } }, "202": { @@ -2753,8 +2619,8 @@ } }, "x-ms-examples": { - "ExternalConnections_Update": { - "$ref": "./examples/ExternalConnections_Update.json" + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" } }, "x-ms-long-running-operation-options": { @@ -2763,11 +2629,11 @@ "x-ms-long-running-operation": true }, "delete": { - "operationId": "ExternalConnections_Delete", + "operationId": "VirtualEnclave_Delete", "tags": [ - "ExternalConnections" + "VirtualEnclave" ], - "description": "Delete a ExternalConnection", + "description": "Delete a EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2779,9 +2645,9 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "externalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the external connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" @@ -2813,8 +2679,8 @@ } }, "x-ms-examples": { - "ExternalConnections_Delete": { - "$ref": "./examples/ExternalConnections_Delete.json" + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" } }, "x-ms-long-running-operation-options": { @@ -2823,13 +2689,13 @@ "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections": { - "get": { - "operationId": "InternalConnections_ListByResourceGroup", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalCallback": { + "post": { + "operationId": "VirtualEnclave_ApprovalCallback", "tags": [ - "InternalConnections" + "VirtualEnclave" ], - "description": "List InternalConnection resources by resource group", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2839,13 +2705,44 @@ }, { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InternalConnectionListResult" + "$ref": "#/definitions/ApprovalCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { @@ -2856,22 +2753,23 @@ } }, "x-ms-examples": { - "InternalConnections_ListByResourceGroup": { - "$ref": "./examples/InternalConnections_ListByResourceGroup.json" + "VirtualEnclave_ApprovalCallback": { + "$ref": "./examples/VirtualEnclave_PostApprovalCallback.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/internalConnections/{internalConnectionName}": { - "get": { - "operationId": "InternalConnections_Get", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalDeletionCallback": { + "post": { + "operationId": "VirtualEnclave_ApprovalDeletionCallback", "tags": [ - "InternalConnections" + "VirtualEnclave" ], - "description": "Get a InternalConnection", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -2883,19 +2781,42 @@ "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "internalConnectionName", + "name": "virtualEnclaveName", "in": "path", - "description": "The name of the internal connection.", + "description": "The name of the enclaveResource Resource", "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InternalConnection" + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { @@ -2906,936 +2827,23 @@ } }, "x-ms-examples": { - "InternalConnections_Get": { - "$ref": "./examples/InternalConnections_Get.json" - } - } - }, - "put": { - "operationId": "InternalConnections_CreateOrUpdate", - "tags": [ - "InternalConnections" - ], - "description": "Create a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnection" - } - } - ], - "responses": { - "200": { - "description": "Resource 'InternalConnection' update operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "201": { - "description": "Resource 'InternalConnection' create operation succeeded", - "schema": { - "$ref": "#/definitions/InternalConnection" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_CreateOrUpdate": { - "$ref": "./examples/InternalConnections_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "InternalConnections_Update", - "tags": [ - "InternalConnections" - ], - "description": "Update a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/InternalConnectionPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/InternalConnection" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Update": { - "$ref": "./examples/InternalConnections_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "InternalConnections_Delete", - "tags": [ - "InternalConnections" - ], - "description": "Delete a InternalConnection", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "internalConnectionName", - "in": "path", - "description": "The name of the internal connection.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "InternalConnections_Delete": { - "$ref": "./examples/InternalConnections_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { - "get": { - "operationId": "VirtualEnclave_ListByResourceGroup", - "tags": [ - "VirtualEnclave" - ], - "description": "List EnclaveResource resources by resource group", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ListByResourceGroup": { - "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { - "get": { - "operationId": "VirtualEnclave_Get", - "tags": [ - "VirtualEnclave" - ], - "description": "Get a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Get": { - "$ref": "./examples/VirtualEnclave_Get.json" - } - } - }, - "put": { - "operationId": "VirtualEnclave_CreateOrUpdate", - "tags": [ - "VirtualEnclave" - ], - "description": "Create a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "201": { - "description": "Resource 'EnclaveResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_CreateOrUpdate": { - "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "VirtualEnclave_Update", - "tags": [ - "VirtualEnclave" - ], - "description": "Update a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/VirtualEnclavePatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Update": { - "$ref": "./examples/VirtualEnclave_Update.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "VirtualEnclave_Delete", - "tags": [ - "VirtualEnclave" - ], - "description": "Delete a EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "204": { - "description": "Resource does not exist." - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_Delete": { - "$ref": "./examples/VirtualEnclave_Delete.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalCallback": { - "post": { - "operationId": "VirtualEnclave_ApprovalCallback", - "tags": [ - "VirtualEnclave" - ], - "description": "Callback that triggers on approval state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ApprovalCallback": { - "$ref": "./examples/VirtualEnclave_PostApprovalCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/approvalDeletionCallback": { - "post": { - "operationId": "VirtualEnclave_ApprovalDeletionCallback", - "tags": [ - "VirtualEnclave" - ], - "description": "Callback that triggers on approval deletion state change.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "VirtualEnclave_ApprovalDeletionCallback": { - "$ref": "./examples/VirtualEnclave_PostApprovalDeletionCallback.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { - "get": { - "operationId": "EnclaveEndpoints_ListByEnclaveResource", - "tags": [ - "EnclaveEndpoints" - ], - "description": "List EnclaveEndpointResource resources by EnclaveResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_ListByEnclaveResource": { - "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { - "get": { - "operationId": "EnclaveEndpoints_Get", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Get a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Get": { - "$ref": "./examples/EnclaveEndpoints_Get.json" - } - } - }, - "put": { - "operationId": "EnclaveEndpoints_CreateOrUpdate", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Create a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - } - ], - "responses": { - "200": { - "description": "Resource 'EnclaveEndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "201": { - "description": "Resource 'EnclaveEndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - }, - "headers": { - "Azure-AsyncOperation": { - "type": "string", - "description": "A link to the status monitor" - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_CreateOrUpdate": { - "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" - } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "EnclaveEndpoints_Update", - "tags": [ - "EnclaveEndpoints" - ], - "description": "Update a EnclaveEndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "name": "virtualEnclaveName", - "in": "path", - "description": "The name of the enclaveResource Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "properties", - "in": "body", - "description": "The resource properties to be updated.", - "required": true, - "schema": { - "$ref": "#/definitions/EnclaveEndpointPatchResource" - } - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EnclaveEndpointResource" - } - }, - "202": { - "description": "Resource update request accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "EnclaveEndpoints_Update": { - "$ref": "./examples/EnclaveEndpoints_Update.json" + "VirtualEnclave_ApprovalDeletionCallback": { + "$ref": "./examples/VirtualEnclave_PostApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "EnclaveEndpoints_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", "tags": [ "EnclaveEndpoints" ], - "description": "Delete a EnclaveEndpointResource", + "description": "List EnclaveEndpointResource resources by EnclaveResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3853,34 +2861,15 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "enclaveEndpointName", - "in": "path", - "description": "The name of the Enclave Endpoint Resource", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" } ], "responses": { - "202": { - "description": "Resource deletion accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -3889,23 +2878,22 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_Delete": { - "$ref": "./examples/EnclaveEndpoints_Delete.json" + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" } }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { - "post": { - "operationId": "EnclaveEndpoints_ApprovalCallback", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", "tags": [ "EnclaveEndpoints" ], - "description": "Callback that triggers on approval state change.", + "description": "Get a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -3930,37 +2918,14 @@ "description": "The name of the Enclave Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "body", - "in": "body", - "description": "The content of the action request", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalCallbackRequest" - } + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" - } - }, - "202": { - "description": "Resource operation accepted.", - "headers": { - "Location": { - "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." - }, - "Retry-After": { - "type": "integer", - "format": "int32", - "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." - } + "$ref": "#/definitions/EnclaveEndpointResource" } }, "default": { @@ -3971,23 +2936,17 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_ApprovalCallback": { - "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" } - }, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { - "post": { - "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", "tags": [ "EnclaveEndpoints" ], - "description": "Callback that triggers on approval deletion state change.", + "description": "Create a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4012,31 +2971,34 @@ "description": "The name of the Enclave Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { - "name": "body", + "name": "resource", "in": "body", - "description": "The content of the action request", + "description": "Resource create parameters.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + "$ref": "#/definitions/EnclaveEndpointResource" } } ], "responses": { "200": { - "description": "Azure operation completed successfully.", + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/EnclaveEndpointResource" } }, - "202": { - "description": "Resource operation accepted.", + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, "headers": { - "Location": { + "Azure-AsyncOperation": { "type": "string", - "description": "The Location header contains the URL where the status of the long running operation can be checked." + "description": "A link to the status monitor" }, "Retry-After": { "type": "integer", @@ -4053,23 +3015,21 @@ } }, "x-ms-examples": { - "EnclaveEndpoints_ApprovalDeletionCallback": { - "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints": { - "get": { - "operationId": "Endpoint_ListByEnclaveResource", + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", "tags": [ - "Endpoint" + "EnclaveEndpoints" ], - "description": "List EndpointResource resources by EnclaveResource", + "description": "Update a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4087,71 +3047,44 @@ "required": true, "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - } - ], - "responses": { - "200": { - "description": "Azure operation completed successfully.", - "schema": { - "$ref": "#/definitions/EndpointResourceListResult" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "Endpoint_ListByEnclaveResource": { - "$ref": "./examples/Endpoint_ListByEnclaveResource.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/endpoints/{endpointName}": { - "get": { - "operationId": "Endpoint_Get", - "tags": [ - "Endpoint" - ], - "description": "Get a EndpointResource", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" }, { - "name": "virtualEnclaveName", + "name": "enclaveEndpointName", "in": "path", - "description": "The name of the enclaveResource Resource", + "description": "The name of the Enclave Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { - "name": "endpointName", - "in": "path", - "description": "The name of the endpointResource Resource", + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", "required": true, - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "schema": { + "$ref": "#/definitions/EnclaveEndpointPatchResource" + } } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EndpointResource" + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } } }, "default": { @@ -4162,17 +3095,21 @@ } }, "x-ms-examples": { - "Endpoint_Get": { - "$ref": "./examples/Endpoint_Get.json" + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" } - } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true }, - "put": { - "operationId": "Endpoint_CreateOrUpdate", + "delete": { + "operationId": "EnclaveEndpoints_Delete", "tags": [ - "Endpoint" + "EnclaveEndpoints" ], - "description": "Create a EndpointResource", + "description": "Delete a EnclaveEndpointResource", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4192,39 +3129,21 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "endpointName", + "name": "enclaveEndpointName", "in": "path", - "description": "The name of the endpointResource Resource", + "description": "The name of the Enclave Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" - }, - { - "name": "resource", - "in": "body", - "description": "Resource create parameters.", - "required": true, - "schema": { - "$ref": "#/definitions/EndpointResource" - } + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" } ], "responses": { - "200": { - "description": "Resource 'EndpointResource' update operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - } - }, - "201": { - "description": "Resource 'EndpointResource' create operation succeeded", - "schema": { - "$ref": "#/definitions/EndpointResource" - }, + "202": { + "description": "Resource deletion accepted.", "headers": { - "Azure-AsyncOperation": { + "Location": { "type": "string", - "description": "A link to the status monitor" + "description": "The Location header contains the URL where the status of the long running operation can be checked." }, "Retry-After": { "type": "integer", @@ -4233,6 +3152,9 @@ } } }, + "204": { + "description": "Resource does not exist." + }, "default": { "description": "An unexpected error response.", "schema": { @@ -4241,21 +3163,23 @@ } }, "x-ms-examples": { - "Endpoint_CreateOrUpdate": { - "$ref": "./examples/Endpoint_CreateOrUpdate.json" + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" } }, "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" + "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "patch": { - "operationId": "Endpoint_Update", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalCallback": { + "post": { + "operationId": "EnclaveEndpoints_ApprovalCallback", "tags": [ - "Endpoint" + "EnclaveEndpoints" ], - "description": "Update a EndpointResource", + "description": "Callback that triggers on approval state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4275,20 +3199,20 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "endpointName", + "name": "enclaveEndpointName", "in": "path", - "description": "The name of the endpointResource Resource", + "description": "The name of the Enclave Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" }, { - "name": "properties", + "name": "body", "in": "body", - "description": "The resource properties to be updated.", + "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/EndpointPatchResource" + "$ref": "#/definitions/ApprovalCallbackRequest" } } ], @@ -4296,11 +3220,11 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/EndpointResource" + "$ref": "#/definitions/ApprovalCallbackResponse" } }, "202": { - "description": "Resource update request accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -4321,21 +3245,23 @@ } }, "x-ms-examples": { - "Endpoint_Update": { - "$ref": "./examples/Endpoint_Update.json" + "EnclaveEndpoints_ApprovalCallback": { + "$ref": "./examples/EnclaveEndpoints_PostApprovalCallback.json" } }, "x-ms-long-running-operation-options": { "final-state-via": "location" }, "x-ms-long-running-operation": true - }, - "delete": { - "operationId": "Endpoint_Delete", + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/approvalDeletionCallback": { + "post": { + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", "tags": [ - "Endpoint" + "EnclaveEndpoints" ], - "description": "Delete a EndpointResource", + "description": "Callback that triggers on approval deletion state change.", "parameters": [ { "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" @@ -4355,17 +3281,32 @@ "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" }, { - "name": "endpointName", + "name": "enclaveEndpointName", "in": "path", - "description": "The name of the endpointResource Resource", + "description": "The name of the Enclave Endpoint Resource", "required": true, "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } } ], "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + } + }, "202": { - "description": "Resource deletion accepted.", + "description": "Resource operation accepted.", "headers": { "Location": { "type": "string", @@ -4378,9 +3319,6 @@ } } }, - "204": { - "description": "Resource does not exist." - }, "default": { "description": "An unexpected error response.", "schema": { @@ -4389,8 +3327,8 @@ } }, "x-ms-examples": { - "Endpoint_Delete": { - "$ref": "./examples/Endpoint_Delete.json" + "EnclaveEndpoints_ApprovalDeletionCallback": { + "$ref": "./examples/EnclaveEndpoints_ApprovalDeletionCallback.json" } }, "x-ms-long-running-operation-options": { @@ -5397,7 +4335,8 @@ "description": "List of resource ids created by communities.", "items": { "type": "string" - } + }, + "readOnly": true }, "managedResourceGroupConfiguration": { "$ref": "#/definitions/ManagedResourceGroupConfiguration", @@ -5981,309 +4920,23 @@ }, "customCidrRange": { "type": "string", - "description": "Custom CIDR Range." - }, - "subnetConfigurations": { - "type": "array", - "description": "Subnet Configurations.", - "items": { - "$ref": "#/definitions/SubnetConfiguration" - } - }, - "allowSubnetCommunication": { - "type": "boolean", - "description": "Allow Subnet Communication." - }, - "connectToAzureServices": { - "type": "boolean", - "description": "Connect to Azure Services (True or False)." - } - } - }, - "EndpointPatchResource": { - "type": "object", - "description": "Endpoint Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/UpdateEndpointPatchProperties", - "description": "Endpoint Patch properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "EndpointProperties": { - "type": "object", - "description": "Endpoint Resource properties", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "EndpointProtocol": { - "type": "string", - "description": "Endpoint Protocol Enum", - "enum": [ - "ANY", - "TCP", - "UDP", - "ICMP", - "ESP", - "AH" - ], - "x-ms-enum": { - "name": "EndpointProtocol", - "modelAsString": true, - "values": [ - { - "name": "ANY", - "value": "ANY", - "description": "EndpointProtocol Type ANY" - }, - { - "name": "TCP", - "value": "TCP", - "description": "EndpointProtocol Type TCP" - }, - { - "name": "UDP", - "value": "UDP", - "description": "EndpointProtocol Type UDP" - }, - { - "name": "ICMP", - "value": "ICMP", - "description": "EndpointProtocol Type ICMP" - }, - { - "name": "ESP", - "value": "ESP", - "description": "EndpointProtocol Type ESP" - }, - { - "name": "AH", - "value": "AH", - "description": "EndpointProtocol Type AH" - } - ] - } - }, - "EndpointResource": { - "type": "object", - "description": "Endpoint Model Resource", - "properties": { - "properties": { - "$ref": "#/definitions/EndpointProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "EndpointResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves/endpoints" - } - ] - } - }, - "EndpointResourceListResult": { - "type": "object", - "description": "The response of a EndpointResource list operation.", - "properties": { - "value": { - "type": "array", - "description": "The EndpointResource items on this page", - "items": { - "$ref": "#/definitions/EndpointResource" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "EndpointRule": { - "type": "object", - "description": "EndpointRule Properties", - "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "address": { - "type": "string", - "description": "IP Address. Can include multiple CIDR/IP Addresses separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocol": { - "$ref": "#/definitions/EndpointProtocol", - "description": "Protocol. Options specified by Endpoint Protocol Enum." - } - } - }, - "ExternalConnection": { - "type": "object", - "description": "Describes an External Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/ExternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "ExternalConnectionListResult": { - "type": "object", - "description": "The response of a ExternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The ExternalConnection items on this page", - "items": { - "$ref": "#/definitions/ExternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "ExternalConnectionPatchResource": { - "type": "object", - "description": "External Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/UpdateExternalConnectionPatchProperties", - "description": "External Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "ExternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an External Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." + "description": "Custom CIDR Range." }, - "enclaveIds": { + "subnetConfigurations": { "type": "array", - "description": "The enclaves' resource IDs.", + "description": "Subnet Configurations.", "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" + "$ref": "#/definitions/SubnetConfiguration" } }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication." }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } + "connectToAzureServices": { + "type": "boolean", + "description": "Connect to Azure Services (True or False)." } - }, - "required": [ - "communityResourceId", - "enclaveIds", - "externalCidrs" - ] - }, - "ExternalConnectionState": { - "type": "string", - "description": "Specifies the state of the externalConnection.", - "enum": [ - "Pending", - "Approved", - "Active" - ], - "x-ms-enum": { - "name": "ExternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "Pending", - "value": "Pending", - "description": "ExternalConnectionState Type Pending" - }, - { - "name": "Approved", - "value": "Approved", - "description": "ExternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "ExternalConnectionState Type Active" - } - ] } }, "GovernedServiceItem": { @@ -6385,183 +5038,6 @@ "message" ] }, - "InternalConnection": { - "type": "object", - "description": "Describes an Internal Connection.", - "properties": { - "properties": { - "$ref": "#/definitions/InternalConnectionProperties", - "description": "The resource-specific properties for this resource.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" - } - ] - }, - "InternalConnectionListResult": { - "type": "object", - "description": "The response of a InternalConnection list operation.", - "properties": { - "value": { - "type": "array", - "description": "The InternalConnection items on this page", - "items": { - "$ref": "#/definitions/InternalConnection" - } - }, - "nextLink": { - "type": "string", - "format": "uri", - "description": "The link to the next page of items" - } - }, - "required": [ - "value" - ] - }, - "InternalConnectionPatchResource": { - "type": "object", - "description": "Internal Connection Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/UpdateInternalConnectionProperties", - "description": "Internal Connection properties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "InternalConnectionProperties": { - "type": "object", - "description": "Describes the properties of an Internal Connection.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - }, - "required": [ - "connectionType", - "communityResourceId", - "destinationEnclaveId", - "destinationEndpointId", - "sourceEnclaveId", - "sourceCidrs" - ] - }, - "InternalConnectionState": { - "type": "string", - "description": "Specifies the state of the internalConnection.", - "enum": [ - "PendingApproval", - "PendingUpdate", - "Approved", - "Active", - "Failed" - ], - "x-ms-enum": { - "name": "InternalConnectionState", - "modelAsString": true, - "values": [ - { - "name": "PendingApproval", - "value": "PendingApproval", - "description": "InternalConnectionState Type Pending Approval" - }, - { - "name": "PendingUpdate", - "value": "PendingUpdate", - "description": "InternalConnectionState Type Pending Update" - }, - { - "name": "Approved", - "value": "Approved", - "description": "InternalConnectionState Type Approved" - }, - { - "name": "Active", - "value": "Active", - "description": "InternalConnectionState Type Active" - }, - { - "name": "Failed", - "value": "Failed", - "description": "InternalConnectionState Type Failed" - } - ] - } - }, - "InternalConnectionType": { - "type": "string", - "description": "Specifies the different types of network connections.", - "enum": [ - "PrivateLink", - "NetworkSecurityGroup" - ], - "x-ms-enum": { - "name": "InternalConnectionType", - "modelAsString": true, - "values": [ - { - "name": "PrivateLink", - "value": "PrivateLink", - "description": "InternalConnectionType Type PrivateLink" - }, - { - "name": "NetworkSecurityGroup", - "value": "NetworkSecurityGroup", - "description": "InternalConnectionType Type NetworkSecurityGroup." - } - ] - } - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -7319,13 +5795,6 @@ "type": "string" } }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - } - }, "managedResourceGroupConfiguration": { "$ref": "#/definitions/ManagedResourceGroupConfiguration", "description": "Managed resource group configuration." @@ -7412,106 +5881,6 @@ } } }, - "UpdateEndpointPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "endpointRuleCollection": { - "type": "array", - "description": "Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EndpointRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - } - } - }, - "UpdateExternalConnectionPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "state": { - "$ref": "#/definitions/ExternalConnectionState", - "description": "The state of the externalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveIds": { - "type": "array", - "description": "The enclaves' resource IDs.", - "items": { - "$ref": "#/definitions/VirtualEnclaveResourceId" - } - }, - "externalCidrs": { - "type": "array", - "description": "The external CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by externalConnections.", - "items": { - "type": "string" - } - } - } - }, - "UpdateInternalConnectionProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "connectionType": { - "$ref": "#/definitions/InternalConnectionType", - "description": "Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup" - }, - "state": { - "$ref": "#/definitions/InternalConnectionState", - "description": "The state of the internalConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "destinationEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The destination enclave's resource ID." - }, - "destinationEndpointId": { - "$ref": "#/definitions/EndpointResourceId", - "description": "The destination endpoint's resource ID." - }, - "sourceEnclaveId": { - "$ref": "#/definitions/VirtualEnclaveResourceId", - "description": "The source enclave's resource ID." - }, - "sourceCidrs": { - "type": "array", - "description": "The source CIDR IP addresses.", - "items": { - "type": "string" - } - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by internalConnections.", - "items": { - "type": "string" - } - } - } - }, "UpdateTransitHubPatchProperties": { "type": "object", "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", @@ -7697,18 +6066,6 @@ "communityResourceId" ] }, - "VirtualEnclaveResourceId": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource.", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Mission/virtualEnclaves" - } - ] - } - }, "VirtualNetworkResourceId": { "type": "string", "format": "arm-id", From 50cc99cfdca12b329b79cee71e36dee2aafe61ed Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Tue, 11 Mar 2025 21:12:25 -0400 Subject: [PATCH 78/89] Fix examples --- .../examples/2024-06-01-preview/Community_CreateOrUpdate.json | 3 --- .../examples/2024-06-01-preview/Community_Update.json | 3 --- .../examples/2024-12-01-preview/Community_CreateOrUpdate.json | 3 --- .../examples/2024-12-01-preview/Community_Update.json | 3 --- 4 files changed, 12 deletions(-) diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json index 8482bd965c2e..3325cfa8b3eb 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_CreateOrUpdate.json @@ -18,9 +18,6 @@ "dnsServers": [ "azure.net" ], - "resourceCollection": [ - "resCollection" - ], "governedServiceList": [ { "id": "AKS", diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json index 0600fb6925be..b53202ed7e29 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -24,9 +24,6 @@ "dnsServers": [ "azure.net" ], - "resourceCollection": [ - "resCollection" - ], "governedServiceList": [ { "id": "AKS", diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json index feeb0427c549..ece4bbdae13b 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json @@ -18,9 +18,6 @@ "dnsServers": [ "azure.net" ], - "resourceCollection": [ - "resCollection" - ], "governedServiceList": [ { "id": "AKS", diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json index bf3c7ffc72ec..c372f26a7a11 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json @@ -24,9 +24,6 @@ "dnsServers": [ "azure.net" ], - "resourceCollection": [ - "resCollection" - ], "governedServiceList": [ { "id": "AKS", From c304cc5ff4389e7acd91a9fb56068e22458f85f8 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Tue, 11 Mar 2025 21:15:15 -0400 Subject: [PATCH 79/89] Remove examples for deprecated resources --- .../Endpoint_CreateOrUpdate.json | 92 ---------------- .../2024-06-01-preview/Endpoint_Delete.json | 25 ----- .../2024-06-01-preview/Endpoint_Get.json | 43 -------- .../Endpoint_ListByEnclaveResource.json | 47 -------- .../Endpoint_ListBySubscription.json | 46 -------- .../2024-06-01-preview/Endpoint_Update.json | 64 ----------- .../ExternalConnections_CreateOrUpdate.json | 100 ----------------- .../ExternalConnections_Delete.json | 24 ---- .../ExternalConnections_Get.json | 46 -------- ...ternalConnections_ListByResourceGroup.json | 50 --------- ...xternalConnections_ListBySubscription.json | 49 --------- .../ExternalConnections_Update.json | 71 ------------ .../InternalConnections_CreateOrUpdate.json | 103 ------------------ .../InternalConnections_Delete.json | 24 ---- .../InternalConnections_Get.json | 46 -------- ...ternalConnections_ListByResourceGroup.json | 50 --------- ...nternalConnections_ListBySubscription.json | 49 --------- .../InternalConnections_Update.json | 71 ------------ .../Endpoint_CreateOrUpdate.json | 92 ---------------- .../2024-12-01-preview/Endpoint_Delete.json | 25 ----- .../2024-12-01-preview/Endpoint_Get.json | 43 -------- .../Endpoint_ListByEnclaveResource.json | 47 -------- .../Endpoint_ListBySubscription.json | 46 -------- .../2024-12-01-preview/Endpoint_Update.json | 64 ----------- .../ExternalConnections_CreateOrUpdate.json | 100 ----------------- .../ExternalConnections_Delete.json | 24 ---- .../ExternalConnections_Get.json | 46 -------- ...ternalConnections_ListByResourceGroup.json | 50 --------- ...xternalConnections_ListBySubscription.json | 49 --------- .../ExternalConnections_Update.json | 71 ------------ .../InternalConnections_CreateOrUpdate.json | 103 ------------------ .../InternalConnections_Delete.json | 24 ---- .../InternalConnections_Get.json | 46 -------- ...ternalConnections_ListByResourceGroup.json | 50 --------- ...nternalConnections_ListBySubscription.json | 49 --------- .../InternalConnections_Update.json | 71 ------------ 36 files changed, 2000 deletions(-) delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Get.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index f41d7c93eff1..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json deleted file mode 100644 index 56a5b4463dd5..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json deleted file mode 100644 index d1142156985e..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 13160e1b1262..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index 35304bd10dc8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json deleted file mode 100644 index 1d0c2337f9a7..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 042d1106a0e1..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index 762297fc8df3..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json deleted file mode 100644 index 950b5a4d4461..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 81d4dfc9db14..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 9f5104950ba9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json deleted file mode 100644 index b4cbb94fca38..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 731348692bf9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json deleted file mode 100644 index 3f3413498ee7..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json deleted file mode 100644 index e895fe521b7f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index 1e24e5e7ae76..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index 087c12f341a2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json deleted file mode 100644 index 463f1d17c5e2..000000000000 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 47e01b1f2116..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json deleted file mode 100644 index 2fbe7e94db7f..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Get.json deleted file mode 100644 index b07d4050f531..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 6a592f895368..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListBySubscription.json deleted file mode 100644 index 90f0baa4e0a1..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json deleted file mode 100644 index 4463cc25e203..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Endpoint_Update.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 935a7293a93b..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json deleted file mode 100644 index 2a01c70ecdb9..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Get.json deleted file mode 100644 index f324dda09d34..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 73c7bc702f44..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 19adaee14668..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json deleted file mode 100644 index 04c528359104..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/ExternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index d6e0e12456d8..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json deleted file mode 100644 index c7dc5569eefa..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Get.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Get.json deleted file mode 100644 index c60f39e5b2e7..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index 54e7b59facd0..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListBySubscription.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListBySubscription.json deleted file mode 100644 index dbb4a2aef5db..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json deleted file mode 100644 index 5dfad80f9c69..000000000000 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/InternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} From b085704b7595a75be8dd78d01acc0ff3d1b5a6dc Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Tue, 11 Mar 2025 21:23:17 -0400 Subject: [PATCH 80/89] Remove examples for deprecated resources --- .../examples/Endpoint_CreateOrUpdate.json | 92 ---------------- .../examples/Endpoint_Delete.json | 25 ----- .../examples/Endpoint_Get.json | 43 -------- .../Endpoint_ListByEnclaveResource.json | 47 -------- .../examples/Endpoint_ListBySubscription.json | 46 -------- .../examples/Endpoint_Update.json | 64 ----------- .../ExternalConnections_CreateOrUpdate.json | 100 ----------------- .../examples/ExternalConnections_Delete.json | 24 ---- .../examples/ExternalConnections_Get.json | 46 -------- ...ternalConnections_ListByResourceGroup.json | 50 --------- ...xternalConnections_ListBySubscription.json | 49 --------- .../examples/ExternalConnections_Update.json | 71 ------------ .../InternalConnections_CreateOrUpdate.json | 103 ------------------ .../examples/InternalConnections_Delete.json | 24 ---- .../examples/InternalConnections_Get.json | 46 -------- ...ternalConnections_ListByResourceGroup.json | 50 --------- ...nternalConnections_ListBySubscription.json | 49 --------- .../examples/InternalConnections_Update.json | 71 ------------ .../examples/Endpoint_CreateOrUpdate.json | 92 ---------------- .../examples/Endpoint_Delete.json | 25 ----- .../examples/Endpoint_Get.json | 43 -------- .../Endpoint_ListByEnclaveResource.json | 47 -------- .../examples/Endpoint_ListBySubscription.json | 46 -------- .../examples/Endpoint_Update.json | 64 ----------- .../ExternalConnections_CreateOrUpdate.json | 100 ----------------- .../examples/ExternalConnections_Delete.json | 24 ---- .../examples/ExternalConnections_Get.json | 46 -------- ...ternalConnections_ListByResourceGroup.json | 50 --------- ...xternalConnections_ListBySubscription.json | 49 --------- .../examples/ExternalConnections_Update.json | 71 ------------ .../InternalConnections_CreateOrUpdate.json | 103 ------------------ .../examples/InternalConnections_Delete.json | 24 ---- .../examples/InternalConnections_Get.json | 46 -------- ...ternalConnections_ListByResourceGroup.json | 50 --------- ...nternalConnections_ListBySubscription.json | 49 --------- .../examples/InternalConnections_Update.json | 71 ------------ 36 files changed, 2000 deletions(-) delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListByEnclaveResource.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_CreateOrUpdate.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Get.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListByResourceGroup.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListBySubscription.json delete mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index f41d7c93eff1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 56a5b4463dd5..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index d1142156985e..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 13160e1b1262..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index 35304bd10dc8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index 1d0c2337f9a7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 042d1106a0e1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index 762297fc8df3..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index 950b5a4d4461..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 81d4dfc9db14..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 9f5104950ba9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index b4cbb94fca38..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index 731348692bf9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index 3f3413498ee7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index e895fe521b7f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index 1e24e5e7ae76..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index 087c12f341a2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index 463f1d17c5e2..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-06-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_CreateOrUpdate.json deleted file mode 100644 index 47e01b1f2116..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_CreateOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "title": "Endpoint_CreateOrUpdate", - "operationId": "Endpoint_CreateOrUpdate", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "resource": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json deleted file mode 100644 index 2fbe7e94db7f..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Delete.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "title": "Endpoint_Delete", - "operationId": "Endpoint_Delete", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Get.json deleted file mode 100644 index b07d4050f531..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "title": "Endpoint_Get", - "operationId": "Endpoint_Get", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint" - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListByEnclaveResource.json deleted file mode 100644 index 6a592f895368..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListByEnclaveResource.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "title": "Endpoint_ListByEnclaveResource", - "operationId": "Endpoint_ListByEnclaveResource", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListBySubscription.json deleted file mode 100644 index 90f0baa4e0a1..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_ListBySubscription.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "Endpoint_ListBySubscription", - "operationId": "Endpoint_ListBySubscription", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "virtualEnclaveName": "TestMyEnclave" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json deleted file mode 100644 index 4463cc25e203..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Endpoint_Update.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "title": "Endpoint_Update", - "operationId": "Endpoint_Update", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", - "resourceGroupName": "rgopenapi", - "virtualEnclaveName": "TestMyEnclave", - "endpointName": "TestMyEndpoint", - "location": "westcentralus", - "properties": { - "tags": { - "sampletag": "samplevalue" - }, - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "endpointRuleCollection": [ - { - "name": "MyTestEndpointRule", - "address": "10.0.0.0/24", - "port": "443", - "protocol": "TCP" - } - ], - "provisioningState": "Succeeded" - }, - "tags": { - "sampletag": "samplevalue" - }, - "location": "West US", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestMyEnclave/endpoints/TestMyEndpoint", - "name": "TestMyEndpoint", - "type": "Microsoft.Mission/virtualenclaves/endpoints", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_CreateOrUpdate.json deleted file mode 100644 index 935a7293a93b..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "title": "ExternalConnections_CreateOrUpdate", - "operationId": "ExternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "resource": { - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json deleted file mode 100644 index 2a01c70ecdb9..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "ExternalConnections_Delete", - "operationId": "ExternalConnections_Delete", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Get.json deleted file mode 100644 index f324dda09d34..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "ExternalConnections_Get", - "operationId": "ExternalConnections_Get", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListByResourceGroup.json deleted file mode 100644 index 73c7bc702f44..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "ExternalConnections_ListByResourceGroup", - "operationId": "ExternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListBySubscription.json deleted file mode 100644 index 19adaee14668..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "ExternalConnections_ListBySubscription", - "operationId": "ExternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json deleted file mode 100644 index 04c528359104..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/ExternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "ExternalConnections_Update", - "operationId": "ExternalConnections_Update", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "externalConnectionName": "TestEcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "state": "Pending", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "enclaveIds": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave" - ], - "externalCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/externalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/externalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_CreateOrUpdate.json deleted file mode 100644 index d6e0e12456d8..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_CreateOrUpdate.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "title": "InternalConnections_CreateOrUpdate", - "operationId": "InternalConnections_CreateOrUpdate", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "resource": { - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus" - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "201": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - }, - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json deleted file mode 100644 index c7dc5569eefa..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Delete.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "title": "InternalConnections_Delete", - "operationId": "InternalConnections_Delete", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "204": {}, - "202": { - "headers": { - "Server": "nginx/1.21.6", - "Date": "Sat, 03 Dec 2022 01:39:21 GMT", - "Content-Length": "0", - "Connection": "keep-alive", - "x-ms-providerhub-traffic": "True", - "x-ms-request-id": "00000000-0000-0000-0000-000000000000", - "Azure-AsyncOperation": "https://foo.com/operationstatus" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Get.json deleted file mode 100644 index c60f39e5b2e7..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Get.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "title": "InternalConnections_Get", - "operationId": "InternalConnections_Get", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName" - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListByResourceGroup.json deleted file mode 100644 index 54e7b59facd0..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListByResourceGroup.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "title": "InternalConnections_ListByResourceGroup", - "operationId": "InternalConnections_ListByResourceGroup", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListBySubscription.json deleted file mode 100644 index dbb4a2aef5db..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_ListBySubscription.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "title": "InternalConnections_ListBySubscription", - "operationId": "InternalConnections_ListBySubscription", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - ], - "nextLink": "https://microsoft.com/a" - } - } - } -} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json deleted file mode 100644 index 5dfad80f9c69..000000000000 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/InternalConnections_Update.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "title": "InternalConnections_Update", - "operationId": "InternalConnections_Update", - "parameters": { - "api-version": "2024-12-01-preview", - "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", - "resourceGroupName": "rgopenapi", - "internalConnectionName": "TestIcName", - "location": "westcentralus", - "properties": { - "tags": { - "key4278": "hjoxhwofxcshowbnafdrrzq" - }, - "properties": { - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "provisioningState": "Succeeded", - "connectionType": "PrivateLink", - "state": "PendingApproval", - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", - "destinationEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestDestMyEnclave", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave/endpoints/TestMyDestEndpoint", - "sourceEnclaveId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualEnclaves/TestSrcMyEnclave", - "sourceCidrs": [ - "192.168.0.1/24" - ], - "resourceCollection": [ - "resCollection" - ] - }, - "tags": { - "Tag1": "Value1" - }, - "location": "westcentralus", - "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/internalconnections/zwwdhidevngwzo", - "name": "zwwdhidevngwzo", - "type": "microsoft.mission/internalconnections", - "systemData": { - "createdBy": "myAlias", - "createdByType": "User", - "createdAt": "2023-03-17T20:43:17.760Z", - "lastModifiedBy": "myAlias", - "lastModifiedByType": "User", - "lastModifiedAt": "2023-03-17T20:43:17.760Z" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://contoso.com/operationstatus" - } - } - } -} From fe0ebaca33ef2349b4b8364ac7875bff366c30c0 Mon Sep 17 00:00:00 2001 From: Trevor Goodyear Date: Tue, 11 Mar 2025 21:31:13 -0400 Subject: [PATCH 81/89] Remove examples for deprecated resources --- .../2024-06-01-preview/examples/Community_CreateOrUpdate.json | 3 --- .../preview/2024-06-01-preview/examples/Community_Update.json | 3 --- .../2024-12-01-preview/examples/Community_CreateOrUpdate.json | 3 --- .../preview/2024-12-01-preview/examples/Community_Update.json | 3 --- 4 files changed, 12 deletions(-) diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json index 8482bd965c2e..3325cfa8b3eb 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_CreateOrUpdate.json @@ -18,9 +18,6 @@ "dnsServers": [ "azure.net" ], - "resourceCollection": [ - "resCollection" - ], "governedServiceList": [ { "id": "AKS", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json index 0600fb6925be..b53202ed7e29 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -24,9 +24,6 @@ "dnsServers": [ "azure.net" ], - "resourceCollection": [ - "resCollection" - ], "governedServiceList": [ { "id": "AKS", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json index feeb0427c549..ece4bbdae13b 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json @@ -18,9 +18,6 @@ "dnsServers": [ "azure.net" ], - "resourceCollection": [ - "resCollection" - ], "governedServiceList": [ { "id": "AKS", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json index bf3c7ffc72ec..c372f26a7a11 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json @@ -24,9 +24,6 @@ "dnsServers": [ "azure.net" ], - "resourceCollection": [ - "resCollection" - ], "governedServiceList": [ { "id": "AKS", From 43fe85508fa0453d7c38f22262f4c5e54521e3a9 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 24 Jul 2025 10:07:13 -0600 Subject: [PATCH 82/89] Added version 2025-05-01 --- .../Approvals_InitiatorCallback.json | 6 +- .../2024-06-01-preview/Community_Update.json | 1 - .../EnclaveConnection_Update.json | 5 +- .../TransitHub_CreateOrUpdate.json | 5 +- .../2024-06-01-preview/TransitHub_Update.json | 5 +- .../VirtualEnclave_CreateOrUpdate.json | 7 - .../VirtualEnclave_Update.json | 10 - .../Approvals_InitiatorCallback.json | 6 +- .../Community_CreateOrUpdate.json | 1 - .../2024-12-01-preview/Community_Update.json | 1 - .../EnclaveConnection_Update.json | 5 +- .../TransitHub_CreateOrUpdate.json | 5 +- .../2024-12-01-preview/TransitHub_Update.json | 5 +- .../VirtualEnclave_CreateOrUpdate.json | 7 - .../VirtualEnclave_Update.json | 10 - .../Approvals_CreateOrUpdate.json | 108 + .../2025-05-01-preview/Approvals_Delete.json | 25 + .../Approvals_ExecuteApprovalAction.json | 28 + .../2025-05-01-preview/Approvals_Get.json | 49 + .../Approvals_InitiatorCallback.json | 28 + .../Approvals_ListByParent.json | 54 + .../Approvals_NotifyInitiator.json | 28 + .../2025-05-01-preview/Approvals_Update.json | 75 + ...ityEndpoints_ApprovalDeletionCallback.json | 28 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../CommunityEndpoints_Delete.json | 25 + .../CommunityEndpoints_Get.json | 46 + ...unityEndpoints_HandleApprovalCreation.json | 29 + ...unityEndpoints_HandleApprovalDeletion.json | 28 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + ...ityEndpoints_NotifyOnApprovalCreation.json | 29 + ...ityEndpoints_NotifyOnApprovalDeletion.json | 28 + ...mmunityEndpoints_PostApprovalCallback.json | 29 + ...tyEndpoints_SubscribeApprovalCreation.json | 29 + ...tyEndpoints_SubscribeApprovalDeletion.json | 28 + .../CommunityEndpoints_Update.json | 70 + .../Community_CreateOrUpdate.json | 613 ++ .../2025-05-01-preview/Community_Delete.json | 24 + .../2025-05-01-preview/Community_Get.json | 236 + .../Community_ListByResourceGroup.json | 233 + .../Community_ListBySubscription.json | 232 + ...ity_PostCheckAddressSpaceAvailability.json | 32 + .../2025-05-01-preview/Community_Update.json | 358 + ...veConnection_ApprovalDeletionCallback.json | 27 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../EnclaveConnection_Delete.json | 24 + .../EnclaveConnection_Get.json | 38 + ...laveConnection_HandleApprovalCreation.json | 29 + ...laveConnection_HandleApprovalDeletion.json | 27 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + ...veConnection_NotifyOnApprovalCreation.json | 29 + ...veConnection_NotifyOnApprovalDeletion.json | 27 + ...nclaveConnection_PostApprovalCallback.json | 29 + ...eConnection_SubscribeApprovalCreation.json | 29 + ...eConnection_SubscribeApprovalDeletion.json | 27 + .../EnclaveConnection_Update.json | 52 + ...aveEndpoints_ApprovalDeletionCallback.json | 28 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../EnclaveEndpoints_Delete.json | 25 + .../EnclaveEndpoints_Get.json | 45 + ...claveEndpoints_HandleApprovalCreation.json | 29 + ...claveEndpoints_HandleApprovalDeletion.json | 28 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + ...aveEndpoints_NotifyOnApprovalCreation.json | 29 + ...aveEndpoints_NotifyOnApprovalDeletion.json | 28 + ...EnclaveEndpoints_PostApprovalCallback.json | 29 + ...veEndpoints_SubscribeApprovalCreation.json | 29 + ...veEndpoints_SubscribeApprovalDeletion.json | 28 + .../EnclaveEndpoints_Update.json | 68 + .../2025-05-01-preview/Operations_List.json | 28 + .../TransitHub_CreateOrUpdate.json | 95 + .../2025-05-01-preview/TransitHub_Delete.json | 25 + .../2025-05-01-preview/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../2025-05-01-preview/TransitHub_Update.json | 65 + .../VirtualEnclave_CreateOrUpdate.json | 319 + .../VirtualEnclave_Delete.json | 24 + .../VirtualEnclave_Get.json | 135 + ...VirtualEnclave_HandleApprovalCreation.json | 29 + ...VirtualEnclave_HandleApprovalDeletion.json | 27 + .../VirtualEnclave_ListByResourceGroup.json | 132 + .../VirtualEnclave_ListBySubscription.json | 131 + ...rtualEnclave_NotifyOnApprovalCreation.json | 29 + ...rtualEnclave_NotifyOnApprovalDeletion.json | 27 + .../VirtualEnclave_PostApprovalCallback.json | 29 + ...lEnclave_PostApprovalDeletionCallback.json | 27 + ...tualEnclave_SubscribeApprovalCreation.json | 29 + ...tualEnclave_SubscribeApprovalDeletion.json | 27 + .../VirtualEnclave_Update.json | 214 + .../Workload_CreateOrUpdate.json | 71 + .../2025-05-01-preview/Workload_Delete.json | 25 + .../2025-05-01-preview/Workload_Get.json | 45 + .../Workload_ListByEnclaveResource.json | 42 + .../Workload_ListBySubscription.json | 41 + .../2025-05-01-preview/Workload_Update.json | 54 + .../mission/Mission.Management/main.tsp | 17 +- .../mission/Mission.Management/model.tsp | 43 +- .../resourcetypes/approvals/approvals.tsp | 70 +- .../resourcetypes/catalog/catalog.tsp | 87 - .../resourcetypes/community/community.tsp | 176 +- .../communityEndpoint/communityEndpoint.tsp | 42 +- .../enclaveConnection/enclaveConnection.tsp | 33 +- .../enclaveEndpoint/enclaveEndpoint.tsp | 38 +- .../resourcetypes/endpoint/endpoint.tsp | 89 - .../externalConnection/externalConnection.tsp | 63 - .../internalConnection/internalConnection.tsp | 96 - .../postActions/approvaldeletioncallback.tsp | 22 - ...lcallback.tsp => approvalspostactions.tsp} | 25 +- .../checkaddressspaceavailability.tsp | 15 +- .../postActions/initiatorcallback.tsp | 24 - .../resourcetypes/shared/endpointrulebase.tsp | 11 +- .../shared/governedserviceitem.tsp | 90 + .../shared/maintenancemodeconfiguration.tsp | 20 + .../managedresourcegroupconfiguration.tsp | 7 +- .../resourcetypes/shared/principal.tsp | 5 - .../shared/provisioningstate.tsp | 17 +- .../resourcetypes/shared/resourceid.tsp | 13 +- .../shared/roleassignmentitem.tsp | 6 +- .../resourcetypes/transitHub/transitHub.tsp | 28 +- .../virtualEnclave/virtualenclave.tsp | 159 +- .../resourcetypes/workload/workload.tsp | 37 +- .../mission/Mission.Management/routes.tsp | 129 +- .../mission/Mission.Management/tspconfig.yaml | 24 + .../mission/Mission.Management/version.tsp | 10 +- specification/mission/cspell.yaml | 1 + .../examples/Approvals_InitiatorCallback.json | 6 +- .../examples/Community_Update.json | 1 - .../examples/EnclaveConnection_Update.json | 5 +- .../examples/TransitHub_CreateOrUpdate.json | 5 +- .../examples/TransitHub_Update.json | 5 +- .../VirtualEnclave_CreateOrUpdate.json | 7 - .../examples/VirtualEnclave_Update.json | 10 - .../preview/2024-06-01-preview/openapi.json | 1209 ++-- .../examples/Approvals_InitiatorCallback.json | 6 +- .../examples/Community_CreateOrUpdate.json | 1 - .../examples/Community_Update.json | 1 - .../examples/EnclaveConnection_Update.json | 5 +- .../examples/TransitHub_CreateOrUpdate.json | 5 +- .../examples/TransitHub_Update.json | 5 +- .../VirtualEnclave_CreateOrUpdate.json | 7 - .../examples/VirtualEnclave_Update.json | 10 - .../preview/2024-12-01-preview/openapi.json | 1486 ++-- .../examples/Approvals_CreateOrUpdate.json | 108 + .../examples/Approvals_Delete.json | 25 + .../examples/Approvals_Get.json | 49 + .../examples/Approvals_ListByParent.json | 54 + .../examples/Approvals_NotifyInitiator.json | 28 + .../examples/Approvals_Update.json | 75 + .../CommunityEndpoints_CreateOrUpdate.json | 101 + .../examples/CommunityEndpoints_Delete.json | 25 + .../examples/CommunityEndpoints_Get.json | 46 + ...unityEndpoints_HandleApprovalCreation.json | 29 + ...unityEndpoints_HandleApprovalDeletion.json | 28 + ...nityEndpoints_ListByCommunityResource.json | 51 + ...CommunityEndpoints_ListBySubscription.json | 50 + .../examples/CommunityEndpoints_Update.json | 70 + .../examples/Community_CreateOrUpdate.json | 613 ++ .../examples/Community_Delete.json | 24 + .../examples/Community_Get.json | 236 + .../Community_ListByResourceGroup.json | 233 + .../Community_ListBySubscription.json | 232 + ...ity_PostCheckAddressSpaceAvailability.json | 32 + .../examples/Community_Update.json | 358 + .../EnclaveConnection_CreateOrUpdate.json | 79 + .../examples/EnclaveConnection_Delete.json | 24 + .../examples/EnclaveConnection_Get.json | 38 + ...laveConnection_HandleApprovalCreation.json | 29 + ...laveConnection_HandleApprovalDeletion.json | 27 + ...EnclaveConnection_ListByResourceGroup.json | 43 + .../EnclaveConnection_ListBySubscription.json | 42 + .../examples/EnclaveConnection_Update.json | 52 + .../EnclaveEndpoints_CreateOrUpdate.json | 98 + .../examples/EnclaveEndpoints_Delete.json | 25 + .../examples/EnclaveEndpoints_Get.json | 45 + ...claveEndpoints_HandleApprovalCreation.json | 29 + ...claveEndpoints_HandleApprovalDeletion.json | 28 + ...nclaveEndpoints_ListByEnclaveResource.json | 49 + .../EnclaveEndpoints_ListBySubscription.json | 48 + .../examples/EnclaveEndpoints_Update.json | 68 + .../examples/Operations_List.json | 28 + .../examples/TransitHub_CreateOrUpdate.json | 95 + .../examples/TransitHub_Delete.json | 25 + .../examples/TransitHub_Get.json | 45 + .../TransitHub_ListByCommunityResource.json | 49 + .../TransitHub_ListBySubscription.json | 48 + .../examples/TransitHub_Update.json | 65 + .../VirtualEnclave_CreateOrUpdate.json | 319 + .../examples/VirtualEnclave_Delete.json | 24 + .../examples/VirtualEnclave_Get.json | 135 + ...VirtualEnclave_HandleApprovalCreation.json | 29 + ...VirtualEnclave_HandleApprovalDeletion.json | 27 + .../VirtualEnclave_ListByResourceGroup.json | 132 + .../VirtualEnclave_ListBySubscription.json | 131 + .../examples/VirtualEnclave_Update.json | 214 + .../examples/Workload_CreateOrUpdate.json | 71 + .../examples/Workload_Delete.json | 25 + .../examples/Workload_Get.json | 45 + .../Workload_ListByEnclaveResource.json | 42 + .../examples/Workload_ListBySubscription.json | 41 + .../examples/Workload_Update.json | 54 + .../preview/2025-05-01-preview/openapi.json | 6328 +++++++++++++++++ .../mission/resource-manager/readme.md | 23 +- 206 files changed, 18702 insertions(+), 2303 deletions(-) create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_ExecuteApprovalAction.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Get.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_InitiatorCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_ListByParent.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_NotifyInitiator.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Update.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_HandleApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_HandleApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_NotifyOnApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_NotifyOnApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_SubscribeApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_SubscribeApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Community_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Get.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Community_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Community_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Update.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Get.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_HandleApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_HandleApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_NotifyOnApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_NotifyOnApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_SubscribeApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_SubscribeApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Update.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Get.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_HandleApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_HandleApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_NotifyOnApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_NotifyOnApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_SubscribeApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_SubscribeApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Update.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Operations_List.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Get.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Update.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Get.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_HandleApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_HandleApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_NotifyOnApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_NotifyOnApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_PostApprovalCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_SubscribeApprovalCreation.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_SubscribeApprovalDeletion.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Update.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_CreateOrUpdate.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Delete.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Get.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_ListBySubscription.json create mode 100644 specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Update.json delete mode 100644 specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp delete mode 100644 specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp delete mode 100644 specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp delete mode 100644 specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp delete mode 100644 specification/mission/Mission.Management/resourcetypes/postActions/approvaldeletioncallback.tsp rename specification/mission/Mission.Management/resourcetypes/postActions/{approvalcallback.tsp => approvalspostactions.tsp} (64%) delete mode 100644 specification/mission/Mission.Management/resourcetypes/postActions/initiatorcallback.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/governedserviceitem.tsp create mode 100644 specification/mission/Mission.Management/resourcetypes/shared/maintenancemodeconfiguration.tsp create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_ListByParent.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_NotifyInitiator.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_HandleApprovalCreation.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_HandleApprovalDeletion.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_HandleApprovalCreation.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_HandleApprovalDeletion.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_HandleApprovalCreation.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_HandleApprovalDeletion.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Operations_List.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_ListByCommunityResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_HandleApprovalCreation.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_HandleApprovalDeletion.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_ListByResourceGroup.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_CreateOrUpdate.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Delete.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Get.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_ListByEnclaveResource.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_ListBySubscription.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Update.json create mode 100644 specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/openapi.json diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json index 1842692a0cf3..1a4263e628f5 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Approvals_InitiatorCallback.json @@ -1,12 +1,12 @@ { - "operationId": "Approval_InitiatorCallback", "title": "Approval_InitiatorCallback", + "operationId": "Approval_InitiatorCallback", "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "api-version": "2024-06-01-preview", "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "body": { "approvalStatus": "Approved" } @@ -15,7 +15,7 @@ "200": { "description": "ARM operation completed successfully.", "body": { - "message": "Approval initiator callback handled successfully" + "message": "Approved" } }, "202": { diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json index b53202ed7e29..46ddf7c6a9ee 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/Community_Update.json @@ -20,7 +20,6 @@ "sampletag": "samplevalue" }, "properties": { - "addressSpace": "10.0.0.0/24", "dnsServers": [ "azure.net" ], diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json index 5e33c80cd6d6..4ec018978564 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/EnclaveConnection_Update.json @@ -12,10 +12,7 @@ "sampletag": "samplevalue" }, "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + "sourceCidr": "10.0.0.0/24" } } }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json index 39b7954164b3..b151e4c32f79 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_CreateOrUpdate.json @@ -15,10 +15,7 @@ "params": { "scaleUnits": 1 } - }, - "resourceCollection": [ - "resCollection" - ] + } }, "tags": { "Tag1": "Value1" diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json index b7c81442c22e..d37792c938c9 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/TransitHub_Update.json @@ -19,10 +19,7 @@ "params": { "scaleUnits": 1 } - }, - "resourceCollection": [ - "resCollection" - ] + } } } }, diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json index c8a513bece31..5ea87437aa5c 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -28,15 +28,8 @@ }, "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], "diagnosticDestination": "Both" }, - "resourceCollection": [], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json index 2da763533a15..e644bb524861 100644 --- a/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-06-01-preview/VirtualEnclave_Update.json @@ -32,19 +32,9 @@ "allowSubnetCommunication": true, "connectToAzureServices": true }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], "diagnosticDestination": "Both" }, - "resourceCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json index 63939b3c181f..0ecaf5494bda 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Approvals_InitiatorCallback.json @@ -1,12 +1,12 @@ { - "operationId": "Approval_InitiatorCallback", "title": "Approval_InitiatorCallback", + "operationId": "Approval_InitiatorCallback", "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "api-version": "2024-12-01-preview", "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "body": { "approvalStatus": "Approved" } @@ -15,7 +15,7 @@ "200": { "description": "ARM operation completed successfully.", "body": { - "message": "Approval initiator callback handled successfully" + "message": "Approved" } }, "202": { diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json index ece4bbdae13b..f7c4d6f7aeb5 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_CreateOrUpdate.json @@ -140,7 +140,6 @@ "endpointDeletion": "NotRequired", "connectionCreation": "Required", "connectionUpdate": "Required", - "connectionUpdateMode": "Manual", "connectionDeletion": "NotRequired", "enclaveCreation": "NotRequired", "enclaveDeletion": "NotRequired", diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json index c372f26a7a11..5a07ba852fe2 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/Community_Update.json @@ -20,7 +20,6 @@ "sampletag": "samplevalue" }, "properties": { - "addressSpace": "10.0.0.0/24", "dnsServers": [ "azure.net" ], diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json index a35fc15eae2d..a58da002e704 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/EnclaveConnection_Update.json @@ -12,10 +12,7 @@ "sampletag": "samplevalue" }, "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + "sourceCidr": "10.0.0.0/24" } } }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_CreateOrUpdate.json index f70b958f9569..51421c5cfb8e 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_CreateOrUpdate.json @@ -15,10 +15,7 @@ "params": { "scaleUnits": 1 } - }, - "resourceCollection": [ - "resCollection" - ] + } }, "tags": { "Tag1": "Value1" diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json index ff62259d16b7..7f7bdf093736 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/TransitHub_Update.json @@ -19,10 +19,7 @@ "params": { "scaleUnits": 1 } - }, - "resourceCollection": [ - "resCollection" - ] + } } } }, diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_CreateOrUpdate.json index 1295ada79683..0d35fabd2395 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_CreateOrUpdate.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -28,15 +28,8 @@ }, "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], "diagnosticDestination": "Both" }, - "resourceCollection": [], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json index 4f8d75cacaae..77752d7175ad 100644 --- a/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json +++ b/specification/mission/Mission.Management/examples/2024-12-01-preview/VirtualEnclave_Update.json @@ -32,19 +32,9 @@ "allowSubnetCommunication": true, "connectToAzureServices": true }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], "diagnosticDestination": "Both" }, - "resourceCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..1702fbcb86c0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_CreateOrUpdate.json @@ -0,0 +1,108 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Delete.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Delete.json new file mode 100644 index 000000000000..a9c7932ab133 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_ExecuteApprovalAction.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_ExecuteApprovalAction.json new file mode 100644 index 000000000000..c15d7225c926 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_ExecuteApprovalAction.json @@ -0,0 +1,28 @@ +{ + "title": "Approval_ExecuteApprovalAction", + "operationId": "Approval_ExecuteApprovalAction", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approved" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Get.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Get.json new file mode 100644 index 000000000000..7671d4fcaf26 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Get.json @@ -0,0 +1,49 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_InitiatorCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_InitiatorCallback.json new file mode 100644 index 000000000000..7ff061bd87f9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_InitiatorCallback.json @@ -0,0 +1,28 @@ +{ + "title": "Approval_InitiatorCallback", + "operationId": "Approval_InitiatorCallback", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approved" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_ListByParent.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_ListByParent.json new file mode 100644 index 000000000000..3731127bccf8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_ListByParent.json @@ -0,0 +1,54 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_NotifyInitiator.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_NotifyInitiator.json new file mode 100644 index 000000000000..d3d36460b706 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_NotifyInitiator.json @@ -0,0 +1,28 @@ +{ + "title": "Approval_NotifyInitiator", + "operationId": "Approval_NotifyInitiator", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approved" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Update.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Update.json new file mode 100644 index 000000000000..f8e351bad5aa --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Approvals_Update.json @@ -0,0 +1,75 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..7f2579f86364 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_ApprovalDeletionCallback", + "title": "CommunityEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..f23136d9b04c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..9ac8f8bc2efa --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Get.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..4b83dff5f614 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_HandleApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_HandleApprovalCreation.json new file mode 100644 index 000000000000..155a47cf5b19 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_HandleApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_HandleApprovalCreation", + "title": "CommunityEndpoints_HandleApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_HandleApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_HandleApprovalDeletion.json new file mode 100644 index 000000000000..375a5696ee50 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_HandleApprovalDeletion.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_HandleApprovalDeletion", + "title": "CommunityEndpoints_HandleApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..51dc1eb1fc53 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..0749671de2ae --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_NotifyOnApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_NotifyOnApprovalCreation.json new file mode 100644 index 000000000000..ee2d7055518b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_NotifyOnApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_NotifyOnApprovalCreation", + "title": "CommunityEndpoints_NotifyOnApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_NotifyOnApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_NotifyOnApprovalDeletion.json new file mode 100644 index 000000000000..efd72f6f4e76 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_NotifyOnApprovalDeletion.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_NotifyOnApprovalDeletion", + "title": "CommunityEndpoints_NotifyOnApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..7af165926e8d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_ApprovalCallback", + "title": "CommunityEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_SubscribeApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_SubscribeApprovalCreation.json new file mode 100644 index 000000000000..fd3981f4d36d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_SubscribeApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_SubscribeApprovalCreation", + "title": "CommunityEndpoints_SubscribeApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_SubscribeApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_SubscribeApprovalDeletion.json new file mode 100644 index 000000000000..4b84b5241438 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_SubscribeApprovalDeletion.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_SubscribeApprovalDeletion", + "title": "CommunityEndpoints_SubscribeApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Update.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..32b15252d104 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/CommunityEndpoints_Update.json @@ -0,0 +1,70 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..3ea457166f98 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_CreateOrUpdate.json @@ -0,0 +1,613 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "approvalSettings": { + "endpointCreation": "NotRequired", + "endpointUpdate": "Required", + "endpointDeletion": "NotRequired", + "connectionCreation": "Required", + "connectionUpdate": "Required", + "connectionDeletion": "NotRequired", + "enclaveCreation": "NotRequired", + "enclaveDeletion": "NotRequired", + "maintenanceMode": "NotRequired", + "serviceCatalogDeployment": "NotRequired", + "notificationOnApprovalCreation": "NotRequired", + "notificationOnApprovalAction": "NotRequired", + "notificationOnApprovalDeletion": "NotRequired", + "mandatoryApprovers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000" + } + ], + "minimumApproversRequired": 0 + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "firewallSku": "Standard" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Delete.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Delete.json new file mode 100644 index 000000000000..e13386220130 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Delete.json @@ -0,0 +1,24 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Get.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Get.json new file mode 100644 index 000000000000..8516f1251435 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Get.json @@ -0,0 +1,236 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "managedOnBehalfOfConfiguration": { + "moboBrokerResources": [ + { + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Resources/moboBrokers/bnthrkwfkfeorrzvtdxbfz" + } + ] + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "firewallSku": "Standard" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..d347bda7c5b6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_ListByResourceGroup.json @@ -0,0 +1,233 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "firewallSku": "Standard" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_ListBySubscription.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_ListBySubscription.json new file mode 100644 index 000000000000..029b19a271b4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_ListBySubscription.json @@ -0,0 +1,232 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "firewallSku": "Standard" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..631ad19dc6d5 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,32 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + } + }, + "api-version": "2025-05-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Update.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Update.json new file mode 100644 index 000000000000..d3dc1f69d98b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Community_Update.json @@ -0,0 +1,358 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "location": "westcentralus", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "dnsServers": [ + "azure.net" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..99d9ef59e651 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_ApprovalDeletionCallback", + "title": "EnclaveConnection_ApprovalDeletionCallback", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..412be8b1325c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Delete.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..5a5016453bd3 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Delete.json @@ -0,0 +1,24 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Get.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Get.json new file mode 100644 index 000000000000..a74c4d9dbd25 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_HandleApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_HandleApprovalCreation.json new file mode 100644 index 000000000000..999f24d0bbab --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_HandleApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_HandleApprovalCreation", + "title": "EnclaveConnection_HandleApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_HandleApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_HandleApprovalDeletion.json new file mode 100644 index 000000000000..e35266d7164e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_HandleApprovalDeletion.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_HandleApprovalDeletion", + "title": "EnclaveConnection_HandleApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..95b5e5871696 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ListBySubscription.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..8c13c3e5dde0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_NotifyOnApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_NotifyOnApprovalCreation.json new file mode 100644 index 000000000000..896337acf65d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_NotifyOnApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_NotifyOnApprovalCreation", + "title": "EnclaveConnection_NotifyOnApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_NotifyOnApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_NotifyOnApprovalDeletion.json new file mode 100644 index 000000000000..c17ee22a704e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_NotifyOnApprovalDeletion.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_NotifyOnApprovalDeletion", + "title": "EnclaveConnection_NotifyOnApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_PostApprovalCallback.json new file mode 100644 index 000000000000..b4c823cf82a0 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_ApprovalCallback", + "title": "EnclaveConnection_ApprovalCallback", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_SubscribeApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_SubscribeApprovalCreation.json new file mode 100644 index 000000000000..c504a59d5df4 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_SubscribeApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_SubscribeApprovalCreation", + "title": "EnclaveConnection_SubscribeApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_SubscribeApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_SubscribeApprovalDeletion.json new file mode 100644 index 000000000000..d88610244df7 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_SubscribeApprovalDeletion.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_SubscribeApprovalDeletion", + "title": "EnclaveConnection_SubscribeApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Update.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Update.json new file mode 100644 index 000000000000..2b57864d6245 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveConnection_Update.json @@ -0,0 +1,52 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "sourceCidr": "10.0.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json new file mode 100644 index 000000000000..c7e778fa0055 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ApprovalDeletionCallback.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalDeletionCallback", + "title": "EnclaveEndpoints_ApprovalDeletionCallback", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..4e149d60df2b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Delete.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..377e34864838 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Get.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..5145968a4a03 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_HandleApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_HandleApprovalCreation.json new file mode 100644 index 000000000000..28b0bde02d9d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_HandleApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_HandleApprovalCreation", + "title": "EnclaveEndpoints_HandleApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_HandleApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_HandleApprovalDeletion.json new file mode 100644 index 000000000000..91e93563ca47 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_HandleApprovalDeletion.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_HandleApprovalDeletion", + "title": "EnclaveEndpoints_HandleApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..b87b85c3241f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ListBySubscription.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1e21c255c11f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_NotifyOnApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_NotifyOnApprovalCreation.json new file mode 100644 index 000000000000..e055ef838e62 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_NotifyOnApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_NotifyOnApprovalCreation", + "title": "EnclaveEndpoints_NotifyOnApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_NotifyOnApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_NotifyOnApprovalDeletion.json new file mode 100644 index 000000000000..7ac44797e9bf --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_NotifyOnApprovalDeletion.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_NotifyOnApprovalDeletion", + "title": "EnclaveEndpoints_NotifyOnApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_PostApprovalCallback.json new file mode 100644 index 000000000000..bde519ac9b82 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_ApprovalCallback", + "title": "EnclaveEndpoints_ApprovalCallback", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_SubscribeApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_SubscribeApprovalCreation.json new file mode 100644 index 000000000000..98c54e19de7f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_SubscribeApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_SubscribeApprovalCreation", + "title": "EnclaveEndpoints_SubscribeApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_SubscribeApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_SubscribeApprovalDeletion.json new file mode 100644 index 000000000000..5011852a4dfa --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_SubscribeApprovalDeletion.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_SubscribeApprovalDeletion", + "title": "EnclaveEndpoints_SubscribeApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Update.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..00af3b9261d1 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/EnclaveEndpoints_Update.json @@ -0,0 +1,68 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Operations_List.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Operations_List.json new file mode 100644 index 000000000000..c393ee7b2148 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..0cf707c42dff --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_CreateOrUpdate.json @@ -0,0 +1,95 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Delete.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Delete.json new file mode 100644 index 000000000000..c341fc33825b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Get.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Get.json new file mode 100644 index 000000000000..6ef54f041dc8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_ListByCommunityResource.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..f32c8c97ef9c --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_ListBySubscription.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..ab6b7cb7d621 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Update.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Update.json new file mode 100644 index 000000000000..f4ae5d09155d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/TransitHub_Update.json @@ -0,0 +1,65 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "location": "westcentralus", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..1e90860e1a5e --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,319 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "diagnosticDestination": "Both" + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Delete.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..e42f4937e9e9 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Delete.json @@ -0,0 +1,24 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Get.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Get.json new file mode 100644 index 000000000000..a92b51d65224 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Get.json @@ -0,0 +1,135 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "subnetResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true + }, + "managedOnBehalfOfConfiguration": { + "moboBrokerResources": [ + { + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Resources/moboBrokers/bnthrkwfkfeorrzvtdxbfz" + } + ] + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_HandleApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_HandleApprovalCreation.json new file mode 100644 index 000000000000..a6c2b68c3e93 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_HandleApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_HandleApprovalCreation", + "title": "VirtualEnclave_HandleApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_HandleApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_HandleApprovalDeletion.json new file mode 100644 index 000000000000..00339b028b6f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_HandleApprovalDeletion.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_HandleApprovalDeletion", + "title": "VirtualEnclave_HandleApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_ListByResourceGroup.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..0dd4e5d4668d --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "subnetResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_ListBySubscription.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..5f87a97bc6bd --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,131 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "subnetResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_NotifyOnApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_NotifyOnApprovalCreation.json new file mode 100644 index 000000000000..e04dab1fd8d8 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_NotifyOnApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_NotifyOnApprovalCreation", + "title": "VirtualEnclave_NotifyOnApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_NotifyOnApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_NotifyOnApprovalDeletion.json new file mode 100644 index 000000000000..bec71422a03a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_NotifyOnApprovalDeletion.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_NotifyOnApprovalDeletion", + "title": "VirtualEnclave_NotifyOnApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_PostApprovalCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_PostApprovalCallback.json new file mode 100644 index 000000000000..115d8fca7835 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_PostApprovalCallback.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_ApprovalCallback", + "title": "VirtualEnclave_ApprovalCallback", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json new file mode 100644 index 000000000000..c658b8e96a77 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_PostApprovalDeletionCallback.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_ApprovalDeletionCallback", + "title": "VirtualEnclave_ApprovalDeletionCallback", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_SubscribeApprovalCreation.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_SubscribeApprovalCreation.json new file mode 100644 index 000000000000..351cf984299a --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_SubscribeApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_SubscribeApprovalCreation", + "title": "VirtualEnclave_SubscribeApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_SubscribeApprovalDeletion.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_SubscribeApprovalDeletion.json new file mode 100644 index 000000000000..fd46143f643b --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_SubscribeApprovalDeletion.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_SubscribeApprovalDeletion", + "title": "VirtualEnclave_SubscribeApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Update.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Update.json new file mode 100644 index 000000000000..46b15bbf5498 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/VirtualEnclave_Update.json @@ -0,0 +1,214 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "location": "westcentralus", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "enclaveDefaultSettings": { + "diagnosticDestination": "Both" + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_CreateOrUpdate.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..6f0ac2af23e6 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Delete.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Delete.json new file mode 100644 index 000000000000..dc54a34b75e2 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Get.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Get.json new file mode 100644 index 000000000000..00425fbfb254 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Get.json @@ -0,0 +1,45 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ], + "managedOnBehalfOfConfiguration": { + "moboBrokerResources": [ + { + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Resources/moboBrokers/bnthrkwfkfeorrzvtdxbfz" + } + ] + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_ListByEnclaveResource.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..5dc42879932f --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_ListBySubscription.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_ListBySubscription.json new file mode 100644 index 000000000000..c477c14af071 --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Update.json b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Update.json new file mode 100644 index 000000000000..22e96a7e53dc --- /dev/null +++ b/specification/mission/Mission.Management/examples/2025-05-01-preview/Workload_Update.json @@ -0,0 +1,54 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "location": "westcentralus", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/Mission.Management/main.tsp b/specification/mission/Mission.Management/main.tsp index 5e977e17ea94..27d5aa86dee8 100644 --- a/specification/mission/Mission.Management/main.tsp +++ b/specification/mission/Mission.Management/main.tsp @@ -6,29 +6,16 @@ import "@azure-tools/typespec-autorest"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; -import "./resourcetypes/approvals/approvals.tsp"; -import "./resourcetypes/community/community.tsp"; -import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; -import "./resourcetypes/workload/workload.tsp"; -import "./resourcetypes/catalog/catalog.tsp"; -import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; -import "./resourcetypes/transitHub/transitHub.tsp"; -import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; -import "./resourcetypes/communityEndpoint/communityEndpoint.tsp"; -import "./resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp"; import "./version.tsp"; -import "./model.tsp"; import "./routes.tsp"; -using TypeSpec.Http; -using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Versioning; @armProviderNamespace("Microsoft.Mission") -@service(#{ title: "Microsoft Mission" }) +@service(#{ title: "Microsoft.Mission" }) @versioned(Microsoft.Mission.Versions) -@doc("Microsoft Mission Resource Provider management API.") +@doc("Microsoft.Mission Resource Provider management API.") namespace Microsoft.Mission; interface Operations extends Azure.ResourceManager.Operations {} diff --git a/specification/mission/Mission.Management/model.tsp b/specification/mission/Mission.Management/model.tsp index 5307c46c29eb..5c6b45733b88 100644 --- a/specification/mission/Mission.Management/model.tsp +++ b/specification/mission/Mission.Management/model.tsp @@ -1,32 +1,34 @@ -import "@typespec/rest"; -import "@typespec/http"; -import "@typespec/openapi"; -import "@typespec/versioning"; import "@azure-tools/typespec-autorest"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@azure-tools/typespec-client-generator-core"; +import "@typespec/http"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "./resourcetypes/approvals/approvals.tsp"; import "./resourcetypes/community/community.tsp"; -import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; -import "./resourcetypes/workload/workload.tsp"; -import "./resourcetypes/catalog/catalog.tsp"; -import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; -import "./resourcetypes/transitHub/transitHub.tsp"; -import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; import "./resourcetypes/communityEndpoint/communityEndpoint.tsp"; +import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; import "./resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp"; -import "./resourcetypes/postActions/approvalcallback.tsp"; -import "./resourcetypes/approvals/approvals.tsp"; -import "./resourcetypes/postActions/initiatorcallback.tsp"; -import "./resourcetypes/postActions/approvaldeletioncallback.tsp"; +import "./resourcetypes/postActions/approvalspostactions.tsp"; +import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; +import "./resourcetypes/transitHub/transitHub.tsp"; +import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; +import "./resourcetypes/workload/workload.tsp"; + +import "./resourcetypes/shared/endpointrulebase.tsp"; +import "./resourcetypes/shared/governedserviceitem.tsp"; +import "./resourcetypes/shared/maintenancemodeconfiguration.tsp"; +import "./resourcetypes/shared/managedresourcegroupconfiguration.tsp"; +import "./resourcetypes/shared/principal.tsp"; +import "./resourcetypes/shared/provisioningstate.tsp"; +import "./resourcetypes/shared/resourceid.tsp"; +import "./resourcetypes/shared/roleassignmentitem.tsp"; -using Azure.ClientGenerator.Core; -using Azure.Core; -using Azure.Core.Traits; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; using TypeSpec.Rest; using TypeSpec.Versioning; @@ -82,7 +84,6 @@ model WorkloadResource is TrackedResource { name: string; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("TransitHub Model Resource") @parentResource(CommunityResource) model TransitHubResource is TrackedResource { @@ -94,7 +95,6 @@ model TransitHubResource is TrackedResource { name: string; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("EnclaveConnection Model Resource") model EnclaveConnectionResource is TrackedResource { @@ -106,7 +106,6 @@ model EnclaveConnectionResource name: string; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("EnclaveEndpoint Model Resource") @parentResource(EnclaveResource) model EnclaveEndpointResource is TrackedResource { @@ -118,7 +117,6 @@ model EnclaveEndpointResource is TrackedResource { name: string; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("CommunityEndpoint Model Resource") @parentResource(CommunityResource) model CommunityEndpointResource @@ -131,7 +129,6 @@ model CommunityEndpointResource name: string; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Approval Model Resource") model ApprovalResource is ExtensionResource { @key("approvalName") diff --git a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp index c2b875207e18..af7914a565c1 100644 --- a/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp +++ b/specification/mission/Mission.Management/resourcetypes/approvals/approvals.tsp @@ -1,22 +1,17 @@ +import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/rest"; import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; -import "../shared/resourceid.tsp"; -import "../shared/provisioningstate.tsp"; -using TypeSpec.Http; -using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.Core; -using Azure.ResourceManager; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; -#suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." -@doc("Approval Status Enum") +@doc("Approval Status. It can be Approved, Rejected, Pending, Deleted or Expired.") union ApprovalStatus { + string, + @doc("ApprovalStatus Type Approved") Approved: "Approved", @@ -33,19 +28,17 @@ union ApprovalStatus { @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("ApprovalStatus Type Expired") Expired: "Expired", - - string, } @doc("Specifies the action performed by the approver") union ActionPerformed { - @doc("ActionPerformed Type Approved") + string, + + @doc("Action was Approved") Approved: "Approved", - @doc("ActionPerformed Type Rejected") + @doc("Action was Rejected") Rejected: "Rejected", - - string, } @doc("Request Metadata for approvals request.") @@ -53,9 +46,6 @@ model RequestMetadata { @doc("Resource Action of the item being approved or declined.") resourceAction: string; - @doc("Approval status.") - approvalStatus?: ApprovalStatus; - @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Route name for the approval callback") approvalCallbackRoute?: string; @@ -63,35 +53,39 @@ model RequestMetadata { @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Payload to be sent upon any action on approval request") approvalCallbackPayload?: string; + + @doc("Status of the approval. Uses ApprovalStatus enum.") + approvalStatus?: ApprovalStatus = ApprovalStatus.Pending; } @renamedFrom(Microsoft.Mission.Versions.v2024_12_01_preview, "Approvers") @doc("Approver Metadata for approvals request.") model Approver { - @doc("EntraId of the approver") + @doc("Entra ObjectID of the approver") approverEntraId: string; @doc("Action Performed by approver") - actionPerformed: ActionPerformed; + actionPerformed?: ActionPerformed; @doc("approval request last updated at") lastUpdatedAt: utcDateTime; } -@doc("Approvals Resource Properties") -model ApprovalProperties { +@doc("Approval Base model.") +model ApprovalBaseModel { @doc("Provisioning State.") @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("Parameter for optimizing query results") - parent1?: string; + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "parent1") + @typeChangedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, string) + parentResourceId?: armResourceIdentifier; @doc("Parameter for optimizing query results") - parent2?: string; - - @doc("Request metadata for the approval request.") - requestMetadata: RequestMetadata; + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "parent2") + @typeChangedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, string) + grandparentResourceId?: armResourceIdentifier; @added(Microsoft.Mission.Versions.v2024_12_01_preview) @OpenAPI.extension("x-ms-identifiers", #["approverEntraId"]) @@ -111,8 +105,24 @@ model ApprovalProperties { stateChangedAt?: utcDateTime; } -@doc("Approvals properties for patching") -model ApprovalPatchResource { +model ApprovalProperties is ApprovalBaseModel { + @doc("Request metadata for the approval request.") + requestMetadata: RequestMetadata; +} + +@doc("Request Metadata patch properties.") +model RequestMetadataUpdatableProperties + is UpdateableProperties>; + +@doc("Approvals patch properties.") +model ApprovalPatchProperties + is UpdateableProperties> { + @doc("Request metadata for the approval request.") + requestMetadata: RequestMetadataUpdatableProperties; +} + +@doc("Approvals patch model.") +model ApprovalPatchModel { @doc("Approval Patch properties") - properties?: Update; + properties?: ApprovalPatchProperties; } diff --git a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp b/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp deleted file mode 100644 index 9f770eb0f052..000000000000 --- a/specification/mission/Mission.Management/resourcetypes/catalog/catalog.tsp +++ /dev/null @@ -1,87 +0,0 @@ -import "@typespec/rest"; -import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; - -import "../shared/provisioningstate.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; -using Azure.Core; -using Azure.ResourceManager; - -@doc("Microsoft Mission Resource Provider management API.") -namespace Microsoft.Mission; - -@doc("List of storage types support by catalog") -union CatalogStorageType { - @doc("Blob Storage Catalog Type") - BlobCatalog: "BlobCatalog", - - string, -} - -@doc("Base type for catalog.") -model CatalogBase { - @doc("Catalog's storage type.") - catalogStorageType?: CatalogStorageType; -} - -@doc("Blob Catalog type.") -model BlobCatalog is CatalogBase { - @doc("Catalog Storage's URI.") - uri?: string; -} - -@doc("Catalog Types.") -union Catalog { - @doc("Blob Catalog") - blob: BlobCatalog, -} - -@doc("Package Properties") -model Package { - @doc("Package Id.") - id?: string; - - @doc("Package Name.") - name?: string; - - #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "This resource type is deprecated" - @doc("Package metadata.") - metadata?: Record; -} - -@doc("Catalog properties") -model CatalogProperties { - @doc("Provisioning State.") - @visibility(Lifecycle.Read) - provisioningState?: ProvisioningState; - - @doc("Owning Resource of the Catalog.") - ownedBy?: string; - - @doc("Community Resource Id.") - communityResourceId?: string; - - @doc("Virtual Enclave Resource Id.") - enclaveResourceId?: string; - - @doc("Catalog Connection properties.") - catalog?: Catalog; - - @doc("List of packages for catalog.") - packageCollection?: Package[]; -} - -@doc("Catalog Patch properties") -model CatalogPatchProperties is CatalogProperties; - -@doc("Catalog Patch Resource") -model CatalogPatchResource { - @doc("Catalog Patch properties") - properties?: Update; - - ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} diff --git a/specification/mission/Mission.Management/resourcetypes/community/community.tsp b/specification/mission/Mission.Management/resourcetypes/community/community.tsp index ee3f3ebfc531..8ee99e7118d2 100644 --- a/specification/mission/Mission.Management/resourcetypes/community/community.tsp +++ b/specification/mission/Mission.Management/resourcetypes/community/community.tsp @@ -1,92 +1,30 @@ +// cspell:enableCompoundWords +// cspell:words managedonbehalfofconfiguration + +import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/rest"; import "@typespec/versioning"; -import "@azure-tools/typespec-azure-resource-manager"; +import "../shared/maintenancemodeconfiguration.tsp"; -import "../shared/provisioningstate.tsp"; -import "../shared/resourceid.tsp"; -import "../shared/managedresourcegroupconfiguration.tsp"; -import "../shared/roleassignmentitem.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; using Azure.ResourceManager; +using TypeSpec.Versioning; +using Azure.Core; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; -@doc("Identifier for governed services.") -union ServiceIdentifier { - @doc("Service identifier for AKS") - AKS: "AKS", - - @doc("Service identifier for App Service") - AppService: "AppService", - - @doc("Service identifier for Azure Firewalls") - AzureFirewalls: "AzureFirewalls", - - @doc("Service identifier for Container Registry") - ContainerRegistry: "ContainerRegistry", - - @doc("Service identifier for CosmosDB") - CosmosDB: "CosmosDB", - - @doc("Service identifier for Data Connectors") - DataConnectors: "DataConnectors", - - @doc("Service identifier for Insights") - Insights: "Insights", - - @doc("Service identifier for Key Vault") - KeyVault: "KeyVault", - - @doc("Service identifier for Logic") - Logic: "Logic", - - @doc("Service identifier for Microsoft SQL") - MicrosoftSql: "MicrosoftSQL", - - @doc("Service identifier for Monitoring") - Monitoring: "Monitoring", - - @doc("Service identifier for PostgreSQL") - PostgreSql: "PostgreSQL", - - @doc("Service identifier for Private DNS Zones") - PrivateDNSZones: "PrivateDNSZones", - - @doc("Service identifier for Service Bus") - ServiceBus: "ServiceBus", - - @doc("Service identifier for Storage") - Storage: "Storage", - +@doc("Azure Firewall SKU") +union FirewallSKU { string, -} -@added(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("GovernedServiceItem Properties") -model GovernedServiceItem { - @doc("service id") - id: ServiceIdentifier; + @doc("FirewallSKU Basic") + Basic: "Basic", - @doc("service name") - @visibility(Lifecycle.Read) - name?: string; - - @doc("governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).") - option?: "Allow" | "Deny" | "ExceptionOnly" | "NotApplicable" | string; - - @doc("initiative enforcement (Enabled or Disabled).") - enforcement?: "Enabled" | "Disabled" | string; + @doc("FirwallSKU Standard") + Standard: "Standard", - @doc("policies set to auditOnly (True or False).") - auditOnly?: boolean; - - @doc("initiatives associated with this service") - @visibility(Lifecycle.Read) - initiatives?: string[]; + @doc("FirewallSKU Premium") + Premium: "Premium", } @added(Microsoft.Mission.Versions.v2024_12_01_preview) @@ -112,48 +50,58 @@ model MandatoryApprover { @doc("ApprovalSettings Properties") model ApprovalSettings { @doc("Approval required for endpoint creation (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) endpointCreation?: ApprovalPolicy; @doc("Approval required for endpoint update (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) endpointUpdate?: ApprovalPolicy; @doc("Approval required for endpoint deletion (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) endpointDeletion?: ApprovalPolicy; @doc("Approval required for enclave connection creation (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) connectionCreation?: ApprovalPolicy; @doc("Approval required for enclave connection update (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) connectionUpdate?: ApprovalPolicy; - @doc("Behavior of enclave connection update workflow after endpoint update is approved (Automatic or Manual).") - connectionUpdateMode?: "Automatic" | "Manual" | string; - @doc("Approval required for enclave connection deletion (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) connectionDeletion?: ApprovalPolicy; @doc("Approval required for virtual enclave creation (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) enclaveCreation?: ApprovalPolicy; @doc("Approval required for virtual enclave deletion (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) enclaveDeletion?: ApprovalPolicy; @doc("Approval required for toggling maintenance mode (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) maintenanceMode?: ApprovalPolicy; @doc("Approval required for deploying service catalog templates (Required or NotRequired).") + @visibility(Lifecycle.Read, Lifecycle.Create) serviceCatalogDeployment?: ApprovalPolicy; @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Notification will be sent on creation of an Approval Request") + @visibility(Lifecycle.Read, Lifecycle.Create) notificationOnApprovalCreation?: ApprovalPolicy; @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Notification will be sent on any action taken (Approve/Reject) on an Approval Request") + @visibility(Lifecycle.Read, Lifecycle.Create) notificationOnApprovalAction?: ApprovalPolicy; @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Notification will be sent on deletion of an Approval Request") + @visibility(Lifecycle.Read, Lifecycle.Create) notificationOnApprovalDeletion?: ApprovalPolicy; @added(Microsoft.Mission.Versions.v2024_12_01_preview) @@ -163,15 +111,22 @@ model ApprovalSettings { @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Minimum number of approvers required for the approval request") + @visibility(Lifecycle.Read, Lifecycle.Create) minimumApproversRequired?: int64; } +@added(Microsoft.Mission.Versions.v2024_12_01_preview) +@doc("ApprovalSettings Properties") +model ApprovalSettingsPatchProperties + is UpdateableProperties>; + @doc("Community Resource Properties") -model CommunityProperties { +model CommunityBaseModel { @doc("Address Space.") + @visibility(Lifecycle.Read, Lifecycle.Create) addressSpace?: string; - @doc("Dns Servers.") + @doc("DNS Servers.") dnsServers?: string[]; @doc("Provisioning State.") @@ -180,38 +135,71 @@ model CommunityProperties { @doc("List of resource ids created by communities.") @visibility(Lifecycle.Read) - resourceCollection?: string[]; + @typeChangedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, string[]) + resourceCollection?: armResourceIdentifier[]; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Managed resource group configuration.") - managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; + @doc("Managed resource group name.") + @visibility(Lifecycle.Read) + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "managedResourceGroupConfiguration" + ) + @typeChangedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + ManagedResourceGroupConfiguration + ) + managedResourceGroupName?: string; + + @added(Microsoft.Mission.Versions.v2025_05_01_preview) + @doc("Managed On Behalf Of Configuration.") + @visibility(Lifecycle.Read) + managedOnBehalfOfConfiguration?: CommonTypes.ManagedOnBehalfOfConfiguration; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of services governed by a community.") + @OpenAPI.extension("x-ms-identifiers", #[]) governedServiceList?: GovernedServiceItem[]; + @added(Microsoft.Mission.Versions.v2025_05_01_preview) + @doc("Policy override setting for the community. Specifies whether to apply enclave-specific policies or disable policy enforcement.") + policyOverride?: "Enclave" | "None" | string; + @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Community role assignments") + @OpenAPI.extension("x-ms-identifiers", #[]) communityRoleAssignments?: RoleAssignmentItem[]; + @added(Microsoft.Mission.Versions.v2025_05_01_preview) + @doc("SKU of the community's Azure Firewall (Basic, Standard, Premium). Standard is the default") + firewallSku?: FirewallSKU = FirewallSKU.Standard; +} + +@doc("Community Resource Properties") +model CommunityProperties is CommunityBaseModel { @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Approval requirements for various actions on the community's resources.") approvalSettings?: ApprovalSettings; @added(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Maintenance Mode configuration.") - maintenanceModeConfiguration?: MaintenanceModeConfiguration; + maintenanceModeConfiguration?: MaintenanceModeConfigurationModel; } -@doc("Community Patch Properties") -model CommunityPatchProperties is CommunityProperties; +@doc("Community Resource Properties without default values") +model CommunityPatchProperties + is UpdateableProperties> { + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Approval requirements for various actions on the community's resources.") + approvalSettings?: ApprovalSettingsPatchProperties; + + @added(Microsoft.Mission.Versions.v2024_12_01_preview) + @doc("Maintenance Mode configuration.") + maintenanceModeConfiguration?: MaintenanceModeConfigurationPatchModel; +} @doc("Community Patch Resource") -model CommunityPatchResource { +model CommunityPatchModel { @doc("Community Patch properties") - properties?: Update; + properties?: CommunityPatchProperties; ...Azure.ResourceManager.Foundations.ArmTagsProperty; ...ManagedServiceIdentityProperty; diff --git a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp index c6c7cad72325..d8e797735de0 100644 --- a/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/communityEndpoint/communityEndpoint.tsp @@ -1,24 +1,19 @@ -import "@typespec/rest"; -import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "@typespec/versioning"; -import "../shared/provisioningstate.tsp"; -import "../shared/resourceid.tsp"; -import "../shared/endpointrulebase.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; +using OpenAPI; using TypeSpec.Versioning; using Azure.Core; -using Azure.ResourceManager; -using OpenAPI; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @doc("Community Endpoint Protocol Enum") union CommunityEndpointProtocol { + string, + @doc("CommunityEndpointProtocol Type ANY") ANY: "ANY", @@ -42,12 +37,12 @@ union CommunityEndpointProtocol { @doc("CommunityEndpointProtocol Type HTTP") HTTP: "HTTP", - - string, } @doc("Destination Type Enum") union DestinationType { + string, + @doc("DestinationType Type FQDN") FQDN: "FQDN", @@ -59,12 +54,10 @@ union DestinationType { @doc("DestinationType Type PrivateNetwork") PrivateNetwork: "PrivateNetwork", - - string, } @doc("Base type for destination rules.") -model CommunityEndpointDestinationRule is EndpointRuleBase { +model CommunityEndpointDestinationRule { @doc("Destination Type.") destinationType?: DestinationType; @@ -73,37 +66,38 @@ model CommunityEndpointDestinationRule is EndpointRuleBase { @doc("Transit Hub Resource Id.") transitHubResourceId?: TransitHubResourceId; + + ...EndpointRuleBase; } @doc("Community Endpoint Resource properties") model CommunityEndpointProperties { - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", #[]) @doc("Community Endpoint Rule Collection.") ruleCollection: CommunityEndpointDestinationRule[]; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource ids created by community endpoint.") - resourceCollection?: string[]; + @visibility(Lifecycle.Read) + @typeChangedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, string[]) + resourceCollection?: armResourceIdentifier[]; @doc("Provisioning State.") @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Whether approval is needed for the connection (True or False).") approvalRequired?: boolean; } -@doc("Community Endpoint Patch properties") -model CommunityEndpointPatchProperties is CommunityEndpointProperties; +@doc("Community Endpoint patchable Properties") +model CommunityEndpointPatchProperties + is UpdateableProperties>; @doc("Community Endpoint Patch Resource") -model CommunityEndpointPatchResource { +model CommunityEndpointPatchModel { @doc("Community Endpoint Patch properties") - properties?: Update; + properties?: CommunityEndpointPatchProperties; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp index 5c7fb69da8aa..cd7aa97bb973 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveConnection/enclaveConnection.tsp @@ -1,22 +1,18 @@ -import "@typespec/rest"; -import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "@typespec/versioning"; -import "../shared/provisioningstate.tsp"; -import "../shared/resourceid.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.Core; -using Azure.ResourceManager; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @doc("Specifies the state of the enclave connection.") union EnclaveConnectionState { + string, + @doc("EnclaveConnectionState Type Pending Approval") PendingApproval: "PendingApproval", @@ -37,28 +33,32 @@ union EnclaveConnectionState { @doc("EnclaveConnectionState Type Disconnected") Disconnected: "Disconnected", - - string, } @doc("Enclave Connection Resource properties") model EnclaveConnectionProperties { @doc("The state of the enclaveConnection.") + @visibility(Lifecycle.Read) state?: EnclaveConnectionState; @doc("Community Resource Id.") + @visibility(Lifecycle.Read, Lifecycle.Create) communityResourceId: CommunityResourceId; @doc("Source Resource Id.") + @visibility(Lifecycle.Read, Lifecycle.Create) sourceResourceId: EnclaveConnectionSourceResourceId; @doc("Source CIDR.") sourceCidr?: string; + @removed(Microsoft.Mission.Versions.v2025_05_01_preview) @doc("Source IP group Resource Id.") + @visibility(Lifecycle.Read, Lifecycle.Create) ipGroup?: IPGroupResourceId; @doc("Destination Endpoint Resource Id.") + @visibility(Lifecycle.Read, Lifecycle.Create) destinationEndpointId: DestinationEndpointResourceId; @doc("Provisioning State.") @@ -66,16 +66,19 @@ model EnclaveConnectionProperties { provisioningState?: ProvisioningState; @doc("List of resource ids modified by enclave Connections.") - resourceCollection?: string[]; + @visibility(Lifecycle.Read) + @typeChangedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, string[]) + resourceCollection?: armResourceIdentifier[]; } -@doc("Enclave Connection Patch properties") -model EnclaveConnectionPatchProperties is EnclaveConnectionProperties; +@doc("Enclave Connection patchable Properties") +model EnclaveConnectionPatchProperties + is UpdateableProperties>; @doc("Enclave Connection Patch Resource") -model EnclaveConnectionPatchResource { +model EnclaveConnectionPatchModel { @doc("Enclave Connection Patch properties") - properties?: Update; + properties?: EnclaveConnectionPatchProperties; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp index c2c386538ab8..7c4fc7c63204 100644 --- a/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp +++ b/specification/mission/Mission.Management/resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp @@ -1,24 +1,19 @@ -import "@typespec/rest"; -import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "@typespec/versioning"; -import "../shared/provisioningstate.tsp"; -import "../shared/resourceid.tsp"; -import "../shared/endpointrulebase.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; +using OpenAPI; using TypeSpec.Versioning; using Azure.Core; -using Azure.ResourceManager; -using OpenAPI; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @doc("Enclave Endpoint Protocol Enum") union EnclaveEndpointProtocol { + string, + @doc("EndpointProtocol Type ANY") ANY: "ANY", @@ -36,45 +31,44 @@ union EnclaveEndpointProtocol { @doc("EndpointProtocol Type AH") AH: "AH", - - string, } @doc("Enclave Endpoint Rule Properties") -model EnclaveEndpointDestinationRule is EndpointRuleBase { +model EnclaveEndpointDestinationRule { @doc("Protocols. Options specified by Endpoint Protocol Enum.") protocols?: EnclaveEndpointProtocol[]; + + ...EndpointRuleBase; } @doc("Enclave Endpoint Resource properties") model EnclaveEndpointProperties { - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @extension("x-ms-identifiers", #[]) @doc("Enclave Endpoint Rule Collection.") ruleCollection: EnclaveEndpointDestinationRule[]; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource ids created by community endpoint.") - resourceCollection?: string[]; + @visibility(Lifecycle.Read) + @typeChangedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, string[]) + resourceCollection?: armResourceIdentifier[]; @doc("Provisioning State.") @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @removed(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Whether approval is needed for the connection (True or False).") approvalRequired?: boolean; } -@doc("Enclave Endpoint Patch properties") -model EnclaveEndpointPatchProperties is EnclaveEndpointProperties; +@doc("Enclave Endpoint patchable Properties") +model EnclaveEndpointPatchProperties + is UpdateableProperties>; @doc("Enclave Endpoint Patch Resource") -model EnclaveEndpointPatchResource { +model EnclaveEndpointPatchModel { @doc("Enclave Endpoint Patch properties") - properties?: Update; + properties?: EnclaveEndpointPatchProperties; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp b/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp deleted file mode 100644 index 2bb20c182991..000000000000 --- a/specification/mission/Mission.Management/resourcetypes/endpoint/endpoint.tsp +++ /dev/null @@ -1,89 +0,0 @@ -import "@typespec/rest"; -import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; - -import "../shared/provisioningstate.tsp"; -import "../shared/resourceid.tsp"; -import "../virtualEnclave/virtualenclave.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; -using Azure.Core; -using Azure.ResourceManager; -using OpenAPI; - -@doc("Microsoft Mission Resource Provider management API.") -namespace Microsoft.Mission; - -@doc("Endpoint Protocol Enum") -union EndpointProtocol { - @doc("EndpointProtocol Type ANY") - ANY: "ANY", - - @doc("EndpointProtocol Type TCP") - TCP: "TCP", - - @doc("EndpointProtocol Type UDP") - UDP: "UDP", - - @doc("EndpointProtocol Type ICMP") - ICMP: "ICMP", - - @doc("EndpointProtocol Type ESP") - ESP: "ESP", - - @doc("EndpointProtocol Type AH") - AH: "AH", - - string, -} - -@doc("EndpointRule Properties") -model EndpointRule { - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Endpoint Rule Id.") - id?: string; - - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Endpoint Rule Name.") - name?: string; - - @doc("IP Address. Can include multiple CIDR/IP Addresses separated by commas.") - address?: string; - - @doc("Port. Can include multiple ports separated by commas or a range indicated by a hyphen.") - port?: string; - - @doc("Protocol. Options specified by Endpoint Protocol Enum.") - protocol?: EndpointProtocol; -} - -@doc("Endpoint Resource properties") -model EndpointProperties { - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Endpoint Description.") - description?: string; - - @extension("x-ms-identifiers", #["name"]) - @doc("Endpoint Rule Collection.") - endpointRuleCollection?: EndpointRule[]; - - @doc("Provisioning State.") - @visibility(Lifecycle.Read) - provisioningState?: ProvisioningState; -} - -@doc("Endpoint Patch properties") -model EndpointPatchProperties is EndpointProperties; - -@doc("Endpoint Patch Resource") -model EndpointPatchResource { - @doc("Endpoint Patch properties") - properties?: Update; - - ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} diff --git a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp deleted file mode 100644 index 182b9103d00b..000000000000 --- a/specification/mission/Mission.Management/resourcetypes/externalConnection/externalConnection.tsp +++ /dev/null @@ -1,63 +0,0 @@ -import "@typespec/rest"; -import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; - -import "../shared/provisioningstate.tsp"; -import "../shared/resourceid.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; -using Azure.Core; -using Azure.ResourceManager; - -@doc("Microsoft Mission Resource Provider management API.") -namespace Microsoft.Mission; - -@doc("Specifies the state of the externalConnection.") -union ExternalConnectionState { - @doc("ExternalConnectionState Type Pending") - Pending: "Pending", - - @doc("ExternalConnectionState Type Approved") - Approved: "Approved", - - @doc("ExternalConnectionState Type Active") - Active: "Active", - - string, -} - -@doc("Describes the properties of an External Connection.") -model ExternalConnectionProperties { - @doc("The status of the last operation.") - @visibility(Lifecycle.Read) - provisioningState?: ProvisioningState; - - @doc("The state of the externalConnection.") - state?: ExternalConnectionState; - - @doc("Community Resource Id.") - communityResourceId: CommunityResourceId; - - @doc("The enclaves' resource IDs.") - enclaveIds: VirtualEnclaveResourceId[]; - - @doc("The external CIDR IP addresses.") - externalCidrs: string[]; - - @doc("List of resource ids modified by externalConnections.") - resourceCollection?: string[]; -} - -@doc("External Connection Resource properties") -model ExternalConnectionPatchProperties is ExternalConnectionProperties; - -@doc("External Connection Patch Resource") -model ExternalConnectionPatchResource { - @doc("External Connection properties") - properties?: Update; - - ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} diff --git a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp b/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp deleted file mode 100644 index e9720dd80de5..000000000000 --- a/specification/mission/Mission.Management/resourcetypes/internalConnection/internalConnection.tsp +++ /dev/null @@ -1,96 +0,0 @@ -import "@typespec/rest"; -import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; - -import "../shared/provisioningstate.tsp"; -import "../shared/resourceid.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; -using Azure.Core; -using Azure.ResourceManager; - -@doc("Microsoft Mission Resource Provider management API.") -namespace Microsoft.Mission; - -@doc("Specifies the different types of network connections.") -union InternalConnectionType { - @doc("InternalConnectionType Type PrivateLink") - PrivateLink: "PrivateLink", - - @doc("InternalConnectionType Type NetworkSecurityGroup.") - NetworkSecurityGroup: "NetworkSecurityGroup", - - string, -} - -@doc("Specifies the state of the internalConnection.") -union InternalConnectionState { - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("InternalConnectionState Type Pending") - Pending: "Pending", - - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("InternalConnectionState Type Pending Approval") - PendingApproval: "PendingApproval", - - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("InternalConnectionState Type Pending Update") - PendingUpdate: "PendingUpdate", - - @doc("InternalConnectionState Type Approved") - Approved: "Approved", - - @doc("InternalConnectionState Type Active") - Active: "Active", - - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("InternalConnectionState Type Failed") - Failed: "Failed", - - string, -} - -@doc("Describes the properties of an Internal Connection.") -model InternalConnectionProperties { - @doc("The status of the last operation.") - @visibility(Lifecycle.Read) - provisioningState?: ProvisioningState; - - @doc("Specifies the type of internal connection. \n Possible values are:\n PrivateLink \n NetworkSecurityGroup") - connectionType: InternalConnectionType; - - @doc("The state of the internalConnection.") - state?: InternalConnectionState; - - @doc("Community Resource Id.") - communityResourceId: CommunityResourceId; - - @doc("The destination enclave's resource ID.") - destinationEnclaveId: VirtualEnclaveResourceId; - - @doc("The destination endpoint's resource ID.") - destinationEndpointId: EndpointResourceId; - - @doc("The source enclave's resource ID.") - sourceEnclaveId: VirtualEnclaveResourceId; - - @doc("The source CIDR IP addresses.") - sourceCidrs: string[]; - - @doc("List of resource ids modified by internalConnections.") - resourceCollection?: string[]; -} - -@doc("Internal Connection Patch properties") -model InternalConnectionPatchProperties is InternalConnectionProperties; - -@doc("Internal Connection Patch Resource") -model InternalConnectionPatchResource { - @doc("Internal Connection properties") - properties?: Update; - - ...Azure.ResourceManager.Foundations.ArmTagsProperty; -} diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/approvaldeletioncallback.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/approvaldeletioncallback.tsp deleted file mode 100644 index 9a3aebd42735..000000000000 --- a/specification/mission/Mission.Management/resourcetypes/postActions/approvaldeletioncallback.tsp +++ /dev/null @@ -1,22 +0,0 @@ -import "@typespec/rest"; -import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; -using Azure.Core; -using Azure.ResourceManager; - -@doc("Request body for calling post-action") -model ApprovalDeletionCallbackRequest { - @doc("Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action") - resourceRequestAction: "Create" | "Delete" | "Update" | string; -} - -@doc("Response body after handling of approvalDeletionCallbackRequest") -model ApprovalDeletionCallbackResponse { - @doc("Confirmation message indicating the result of the operation.") - message: string; -} diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/approvalspostactions.tsp similarity index 64% rename from specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp rename to specification/mission/Mission.Management/resourcetypes/postActions/approvalspostactions.tsp index 59eec500803f..34df89820d98 100644 --- a/specification/mission/Mission.Management/resourcetypes/postActions/approvalcallback.tsp +++ b/specification/mission/Mission.Management/resourcetypes/postActions/approvalspostactions.tsp @@ -1,13 +1,10 @@ -import "@typespec/rest"; -import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "@typespec/versioning"; -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; using Azure.Core; -using Azure.ResourceManager; +using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @@ -29,8 +26,22 @@ model ApprovalCallbackRequest { approvalCallbackPayload?: string; } +// Define a model for the approval initator callback request +@doc("Request body for calling post-action") +model ApprovalActionRequest { + @doc("Approval status indicating 'Approved' or 'Rejected'") + approvalStatus: "Approved" | "Rejected" | string; +} + +// Define a model for the approval initator callback response @doc("Response body after handling of approvalCallbackRequest") -model ApprovalCallbackResponse { +model ApprovalActionResponse { @doc("Confirmation message indicating the result of the operation.") message: string; } + +@doc("Request body for calling post-action") +model ApprovalDeletionCallbackRequest { + @doc("Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action") + resourceRequestAction: "Create" | "Delete" | "Update" | string; +} diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp index e12c3df39f9e..77bd7748d4c8 100644 --- a/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp +++ b/specification/mission/Mission.Management/resourcetypes/postActions/checkaddressspaceavailability.tsp @@ -1,16 +1,3 @@ -import "@typespec/rest"; -import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; - -import "../virtualEnclave/virtualenclave.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; -using Azure.Core; -using Azure.ResourceManager; - @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @@ -20,7 +7,7 @@ model CheckAddressSpaceAvailabilityRequest { communityResourceId: CommunityResourceId; @doc("Information about the enclave virtual network") - enclaveVirtualNetwork: EnclaveVirtualNetwork; + enclaveVirtualNetwork: EnclaveVirtualNetworkModel; } @doc("Response of availability of the requested address space.") diff --git a/specification/mission/Mission.Management/resourcetypes/postActions/initiatorcallback.tsp b/specification/mission/Mission.Management/resourcetypes/postActions/initiatorcallback.tsp deleted file mode 100644 index cba1143f0e9c..000000000000 --- a/specification/mission/Mission.Management/resourcetypes/postActions/initiatorcallback.tsp +++ /dev/null @@ -1,24 +0,0 @@ -import "@typespec/rest"; -import "@typespec/versioning"; -import "@azure-tools/typespec-azure-core"; -import "@azure-tools/typespec-azure-resource-manager"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; -using Azure.Core; -using Azure.ResourceManager; - -// Define a model for the approval initator callback request -@doc("Request body for calling post-action") -model InitiatorCallbackRequest { - @doc("Approval status indicating 'Approved' or 'Rejected'") - approvalStatus: "Approved" | "Rejected" | string; -} - -// Define a model for the approval initator callback response -@doc("Response body after handling of approvalCallbackRequest") -model InitiatorCallbackResponse { - @doc("Confirmation message indicating the result of the operation.") - message: string; -} diff --git a/specification/mission/Mission.Management/resourcetypes/shared/endpointrulebase.tsp b/specification/mission/Mission.Management/resourcetypes/shared/endpointrulebase.tsp index d9bc010412da..9efc17d9fbb7 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/endpointrulebase.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/endpointrulebase.tsp @@ -1,14 +1,21 @@ +import "@typespec/rest"; +import "@typespec/versioning"; + +using TypeSpec.Versioning; + @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @doc("Base Endpoint Rule Properties") model EndpointRuleBase { + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "name") @doc("Endpoint Rule Name.") - name?: string; + endpointRuleName?: string; @doc("Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas.") destination?: string; + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "port") @doc("Port. Can include multiple ports separated by commas or a range indicated by a hyphen.") - port?: string; + ports?: string; } diff --git a/specification/mission/Mission.Management/resourcetypes/shared/governedserviceitem.tsp b/specification/mission/Mission.Management/resourcetypes/shared/governedserviceitem.tsp new file mode 100644 index 000000000000..ce2fed7d9b68 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/governedserviceitem.tsp @@ -0,0 +1,90 @@ +// cspell:enableCompoundWords +// cspell:words managedonbehalfofconfiguration + +import "@typespec/rest"; +import "@typespec/versioning"; + +using TypeSpec.Versioning; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Identifier for governed services.") +union ServiceIdentifier { + string, + + @doc("Service identifier for AKS") + AKS: "AKS", + + @doc("Service identifier for App Service") + AppService: "AppService", + + @doc("Service identifier for Azure Firewalls") + AzureFirewalls: "AzureFirewalls", + + @doc("Service identifier for Container Registry") + ContainerRegistry: "ContainerRegistry", + + @doc("Service identifier for CosmosDB") + CosmosDB: "CosmosDB", + + @doc("Service identifier for Data Connectors") + DataConnectors: "DataConnectors", + + @doc("Service identifier for Insights") + Insights: "Insights", + + @doc("Service identifier for Key Vault") + KeyVault: "KeyVault", + + @doc("Service identifier for Logic") + Logic: "Logic", + + @doc("Service identifier for Microsoft SQL") + MicrosoftSql: "MicrosoftSQL", + + @doc("Service identifier for Monitoring") + Monitoring: "Monitoring", + + @doc("Service identifier for PostgreSQL") + PostgreSql: "PostgreSQL", + + @doc("Service identifier for Private DNS Zones") + PrivateDNSZones: "PrivateDNSZones", + + @doc("Service identifier for Service Bus") + ServiceBus: "ServiceBus", + + @doc("Service identifier for Storage") + Storage: "Storage", +} + +@doc("GovernedServiceItem Properties") +model GovernedServiceItem { + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "id") + @doc("Service ID") + serviceId: ServiceIdentifier; + + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "name") + @doc("Service name.") + @visibility(Lifecycle.Read) + serviceName?: string; + + @doc("Governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).") + option?: "Allow" | "Deny" | "ExceptionOnly" | "NotApplicable" | string; + + @doc("Initiative enforcement (Enabled or Disabled).") + enforcement?: "Enabled" | "Disabled" | string; + + @removed(Microsoft.Mission.Versions.v2025_05_01_preview) + @doc("Policies set to auditOnly (True or False).") + auditOnly?: boolean; + + @added(Microsoft.Mission.Versions.v2025_05_01_preview) + @doc("Enforcement mode for policy. AuditOnly, Enforce, or None.") + policyAction?: "AuditOnly" | "Enforce" | "None" | string; + + @doc("Initiatives associated with this service.") + @visibility(Lifecycle.Read) + initiatives?: string[]; +} diff --git a/specification/mission/Mission.Management/resourcetypes/shared/maintenancemodeconfiguration.tsp b/specification/mission/Mission.Management/resourcetypes/shared/maintenancemodeconfiguration.tsp new file mode 100644 index 000000000000..9d6763cc0007 --- /dev/null +++ b/specification/mission/Mission.Management/resourcetypes/shared/maintenancemodeconfiguration.tsp @@ -0,0 +1,20 @@ +import "./principal.tsp"; + +@doc("Microsoft Mission Resource Provider management API.") +namespace Microsoft.Mission; + +@doc("Maintenance Mode") +model MaintenanceModeConfigurationModel { + @doc("Current mode of Maintenance Mode Configuration") + mode: "On" | "CanNotDelete" | "Off" | "General" | "Advanced" | string = "Off"; + + @doc("The user, group or service principal object affected by Maintenance Mode") + principals?: Principal[] = #[]; + + @doc("Justification for entering or exiting Maintenance Mode") + justification?: "Networking" | "Governance" | "Off" | string = "Off"; +} + +@doc("Maintenance Mode Patch Model") +model MaintenanceModeConfigurationPatchModel + is UpdateableProperties>; diff --git a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp index 1786a68be20c..ac05537ee218 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/managedresourcegroupconfiguration.tsp @@ -1,10 +1,13 @@ import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "@typespec/versioning"; using Azure.Core; - +using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; +@removed(Microsoft.Mission.Versions.v2025_05_01_preview) @doc("ManagedResourceGroup related properties") model ManagedResourceGroupConfiguration { @doc("Name of managed resource group") @@ -12,5 +15,5 @@ model ManagedResourceGroupConfiguration { @doc("The geo-location where the resource lives") @visibility(Lifecycle.Read, Lifecycle.Create) - location?: Azure.Core.azureLocation; + location?: azureLocation; } diff --git a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp index f9e9ed9db590..ebf7a945c707 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/principal.tsp @@ -1,11 +1,6 @@ -import "@typespec/versioning"; - -using TypeSpec.Versioning; - @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Principal for maintenance mode or role assignments") model Principal { @doc("The object id associated with the principal") diff --git a/specification/mission/Mission.Management/resourcetypes/shared/provisioningstate.tsp b/specification/mission/Mission.Management/resourcetypes/shared/provisioningstate.tsp index d9f561a12bba..09946cf9fdc2 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/provisioningstate.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/provisioningstate.tsp @@ -1,9 +1,6 @@ -import "@typespec/rest"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; -using TypeSpec.Http; -using TypeSpec.Rest; using Azure.Core; using Azure.ResourceManager; @@ -13,35 +10,23 @@ namespace Microsoft.Mission; @lroStatus @doc("The provisioning status of the resource.") union ProvisioningState { - string, - Azure.ResourceManager.ResourceProvisioningState, + ResourceProvisioningState, @doc("Provisioning State Type Accepted") Accepted: "Accepted", - @doc("Provisioning State Type Created") - Created: "Created", - @doc("Provisioning State Type Creating") Creating: "Creating", - @doc("Provisioning State Type Deleted") - Deleted: "Deleted", - @doc("Provisioning State Type Deleting") Deleting: "Deleting", @doc("Provisioning State Type NotSpecified") NotSpecified: "NotSpecified", - @doc("Provisioning State Type Ready") - Ready: "Ready", - @doc("Provisioning State Type Running") Running: "Running", @doc("Provisioning State Type Updating") Updating: "Updating", - - string, } diff --git a/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp b/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp index 96d2d79733ff..c1be768135a4 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/resourceid.tsp @@ -1,13 +1,10 @@ import "@typespec/rest"; -import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/versioning"; -using TypeSpec.Http; -using TypeSpec.Rest; using TypeSpec.Versioning; using Azure.Core; -using Azure.ResourceManager; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @@ -68,13 +65,6 @@ scalar StorageAccountResourceId } ]>; -scalar EndpointResourceId - extends armResourceIdentifier<[ - { - type: "Microsoft.Mission/virtualEnclaves/endpoints", - } - ]>; - scalar EnclaveConnectionSourceResourceId extends armResourceIdentifier<[ { @@ -102,6 +92,7 @@ scalar TransitHubResourceId } ]>; +@removed(Microsoft.Mission.Versions.v2025_05_01_preview) scalar IPGroupResourceId extends armResourceIdentifier<[ { diff --git a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp index ca51e04673bc..f5c2bb7760b8 100644 --- a/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp +++ b/specification/mission/Mission.Management/resourcetypes/shared/roleassignmentitem.tsp @@ -1,15 +1,15 @@ +import "@typespec/rest"; import "@typespec/versioning"; using TypeSpec.Versioning; - @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Role assignment item that indicates which principals should be assigned this role definition") model RoleAssignmentItem { + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "id") @doc("Role definition identifier") - id: string; + roleDefinitionId: string; @doc("List of principal IDs to which to assign this role definition") principals?: Principal[]; diff --git a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp index 44535274361b..4b0d69039933 100644 --- a/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp +++ b/specification/mission/Mission.Management/resourcetypes/transitHub/transitHub.tsp @@ -3,19 +3,16 @@ import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; -import "../shared/provisioningstate.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; using Azure.Core; -using Azure.ResourceManager; +using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @doc("Specifies the state of the transitHub.") union TransitHubState { + string, + @doc("TransitHubState Type PendingApproval") PendingApproval: "PendingApproval", @@ -30,12 +27,12 @@ union TransitHubState { @doc("TransitHubState Type Failed") Failed: "Failed", - - string, } @doc("Specifies the type of the transitOption.") union TransitOptionType { + string, + @doc("TransitOptionType ExpressRoute") ExpressRoute: "ExpressRoute", @@ -44,8 +41,6 @@ union TransitOptionType { @doc("TransitOptionType Peering") Peering: "Peering", - - string, } @doc("TransitOptionParams Properties") @@ -79,16 +74,19 @@ model TransitHubProperties { transitOption?: TransitOption; @doc("List of resource ids modified by transitHubs.") - resourceCollection?: string[]; + @visibility(Lifecycle.Read) + @typeChangedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, string[]) + resourceCollection?: armResourceIdentifier[]; } -@doc("Describes the properties of an Transit Hub.") -model TransitHubPatchProperties is TransitHubProperties; +@doc("Transit Hub patchable Properties") +model TransitHubPatchProperties + is UpdateableProperties>; @doc("TH Patch Resource") -model TransitHubPatchResource { +model TransitHubPatchModel { @doc("The TransitHub resource.") - properties?: Update; + properties?: TransitHubPatchProperties; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp index 6b1b2a8f9ea3..e3eaa9d39235 100644 --- a/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp +++ b/specification/mission/Mission.Management/resourcetypes/virtualEnclave/virtualenclave.tsp @@ -1,26 +1,23 @@ -import "@typespec/rest"; -import "@typespec/versioning"; +// cspell:enableCompoundWords +// cspell:words managedonbehalfofconfiguration + import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "../shared/maintenancemodeconfiguration.tsp"; -import "../shared/provisioningstate.tsp"; -import "../community/community.tsp"; -import "../shared/resourceid.tsp"; -import "../shared/managedresourcegroupconfiguration.tsp"; -import "../shared/principal.tsp"; -import "../shared/roleassignmentitem.tsp"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using TypeSpec.Versioning; using Azure.Core; using Azure.ResourceManager; +using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @doc("Specifies the destination of where to store diagnostic logs.") union DiagnosticDestination { + string, + @doc("DiagnosticDestination Type CommunityOnly") CommunityOnly: "CommunityOnly", @@ -29,19 +26,18 @@ union DiagnosticDestination { @doc("DiagnosticDestination Type Both") Both: "Both", - - string, } @doc("Subnet Configuration") -@added(Microsoft.Mission.Versions.v2024_06_01_preview) model SubnetConfiguration { + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "name") @doc("Subnet name.") - name: string; + subnetName: string; - @doc("Subnet ID.") + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "id") + @doc("Subnet Resource ID.") @visibility(Lifecycle.Read) - id?: SubnetResourceId; + subnetResourceId?: SubnetResourceId; @doc("Network prefix size.") networkPrefixSize: int32; @@ -53,57 +49,67 @@ model SubnetConfiguration { @visibility(Lifecycle.Read) addressPrefix?: string; + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "networkSecurityGroupId" + ) @doc("Network security group ID.") @visibility(Lifecycle.Read) - networkSecurityGroupId?: NsgResourceId; + networkSecurityGroupResourceId?: NsgResourceId; } @doc("Enclave Virtual Network Properties") -model EnclaveVirtualNetwork { +model EnclaveVirtualNetworkModel { + @renamedFrom(Microsoft.Mission.Versions.v2025_05_01_preview, "name") @doc("Network Name.") - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - name?: string; + networkName?: string; @doc("Network Size.") + @visibility(Lifecycle.Read, Lifecycle.Create) networkSize?: string; @doc("Custom CIDR Range.") + @visibility(Lifecycle.Read, Lifecycle.Create) customCidrRange?: string; @doc("Subnet Configurations.") - @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @OpenAPI.extension("x-ms-identifiers", #[]) subnetConfigurations?: SubnetConfiguration[]; @doc("Allow Subnet Communication.") - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - allowSubnetCommunication?: boolean; + @visibility(Lifecycle.Read, Lifecycle.Create) + allowSubnetCommunication?: boolean = false; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) + @removed(Microsoft.Mission.Versions.v2025_05_01_preview) @doc("Connect to Azure Services (True or False).") - connectToAzureServices?: boolean; + @visibility(Lifecycle.Read, Lifecycle.Create) + connectToAzureServices?: boolean = false; } @doc("Virtual Enclave Default Settings") -model EnclaveDefaultSettings { +model EnclaveDefaultSettingsPatchModel + is UpdateableProperties>; + +@doc("Virtual Enclave Default Settings") +model EnclaveDefaultSettingsModel { @doc("Key Vault Resource Id.") + @visibility(Lifecycle.Read) keyVaultResourceId?: KeyVaultResourceId; @doc("Storage Account Resource Id.") + @visibility(Lifecycle.Read) storageAccountResourceId?: StorageAccountResourceId; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Log Analytics Resource Ids.") + @visibility(Lifecycle.Read) logAnalyticsResourceIdCollection?: LogAnalyticsResourceId[]; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "Adding required property is a breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Diagnostic Destination.") - diagnosticDestination?: DiagnosticDestination; + diagnosticDestination?: DiagnosticDestination = DiagnosticDestination.EnclaveOnly; } @doc("Enclave Address Spaces") -model EnclaveAddressSpaces { +model EnclaveAddressSpacesModel { @doc("Enclave Address Space") enclaveAddressSpace?: string; @@ -111,71 +117,86 @@ model EnclaveAddressSpaces { managedAddressSpace?: string; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) -@doc("Maintenance Mode") -model MaintenanceModeConfiguration { - @doc("Current mode of Maintenance Mode Configuration") - mode: "On" | "CanNotDelete" | "Off" | string; - - @doc("The user, group or service principal object affected by Maintenance Mode") - principals?: Principal[]; - - @doc("Justification for entering or exiting Maintenance Mode") - justification?: "Networking" | "Governance" | "Off" | string; -} - @doc("Virtual Enclave Resource properties") -model VirtualEnclaveProperties { +model VirtualEnclaveBaseModel { @doc("Provisioning State.") @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; @doc("Virtual Network.") - enclaveVirtualNetwork: EnclaveVirtualNetwork; + enclaveVirtualNetwork: EnclaveVirtualNetworkModel; - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @visibility(Lifecycle.Read) @doc("Enclave Address Spaces") - enclaveAddressSpaces?: EnclaveAddressSpaces; + @visibility(Lifecycle.Read) + enclaveAddressSpaces?: EnclaveAddressSpacesModel; @doc("Community Resource Id.") + @visibility(Lifecycle.Read, Lifecycle.Create) communityResourceId: CommunityResourceId; - @doc("Default Settings") - enclaveDefaultSettings?: EnclaveDefaultSettings; - @doc("List of resource ids created by Virtual Enclave.") + @visibility(Lifecycle.Read) resourceCollection?: armResourceIdentifier[]; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @doc("Managed resource group configuration.") - managedResourceGroupConfiguration?: ManagedResourceGroupConfiguration; + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "managedResourceGroupConfiguration" + ) + @typeChangedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + ManagedResourceGroupConfiguration + ) + @doc("Managed resource group name.") + @visibility(Lifecycle.Read) + managedResourceGroupName?: string; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @doc("Maintenance Mode configuration.") - maintenanceModeConfiguration?: MaintenanceModeConfiguration; + @added(Microsoft.Mission.Versions.v2025_05_01_preview) + @doc("Managed On Behalf Of Configuration.") + @visibility(Lifecycle.Read) + managedOnBehalfOfConfiguration?: CommonTypes.ManagedOnBehalfOfConfiguration; @doc("Deploy Bastion service (True or False).") - bastionEnabled?: boolean; + bastionEnabled?: boolean = false; @added(Microsoft.Mission.Versions.v2024_12_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Enclave role assignments") + @OpenAPI.extension("x-ms-identifiers", #[]) enclaveRoleAssignments?: RoleAssignmentItem[]; @added(Microsoft.Mission.Versions.v2024_12_01_preview) - @madeOptional(Microsoft.Mission.Versions.v2024_12_01_preview) @doc("Workload role assignments") + @OpenAPI.extension("x-ms-identifiers", #[]) workloadRoleAssignments?: RoleAssignmentItem[]; + + @added(Microsoft.Mission.Versions.v2025_05_01_preview) + @doc("Enclave specific policies") + @OpenAPI.extension("x-ms-identifiers", #[]) + governedServiceList?: GovernedServiceItem[]; } -@doc("Virtual Enclave Patch properties") -model VirtualEnclavePatchProperties is VirtualEnclaveProperties; +@doc("Virtual Enclave Resource properties") +model VirtualEnclaveProperties is VirtualEnclaveBaseModel { + @doc("Enclave default settings.") + enclaveDefaultSettings?: EnclaveDefaultSettingsModel; + + @doc("Maintenance Mode configuration.") + maintenanceModeConfiguration?: MaintenanceModeConfigurationModel; +} + +@doc("Virtual Enclave Patchable Properties") +model VirtualEnclavePatchProperties + is UpdateableProperties> { + @doc("Enclave default settings.") + enclaveDefaultSettings?: EnclaveDefaultSettingsPatchModel; + + @doc("Maintenance Mode configuration.") + maintenanceModeConfiguration?: MaintenanceModeConfigurationPatchModel; +} -@doc("Virtual Enclave Patch Resource") -model VirtualEnclavePatchResource { +@doc("Virtual Enclave Patch Model") +model VirtualEnclavePatchModel { @doc("Virtual Enclave Patch properties") - properties?: Update; + properties?: VirtualEnclavePatchProperties; ...ManagedServiceIdentityProperty; ...Azure.ResourceManager.Foundations.ArmTagsProperty; diff --git a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp index 7f7e8ae57e38..0eb24dc5d2d1 100644 --- a/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp +++ b/specification/mission/Mission.Management/resourcetypes/workload/workload.tsp @@ -1,16 +1,13 @@ -import "@typespec/rest"; -import "@typespec/versioning"; +// cspell:enableCompoundWords +// cspell:words managedonbehalfofconfiguration + import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/rest"; +import "@typespec/versioning"; -import "../shared/provisioningstate.tsp"; -import "../shared/resourceid.tsp"; -import "../virtualEnclave/virtualenclave.tsp"; - -using TypeSpec.Rest; -using TypeSpec.Versioning; -using Azure.Core; using Azure.ResourceManager; +using TypeSpec.Versioning; @doc("Microsoft Mission Resource Provider management API.") namespace Microsoft.Mission; @@ -21,25 +18,23 @@ model WorkloadProperties { @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - @removed(Microsoft.Mission.Versions.v2024_06_01_preview) - @doc("Managed resource group configuration.") - managedResourceGroupConfiguration: ManagedResourceGroupConfiguration; - - #suppress "@azure-tools/typespec-providerhub/non-breaking-versioning" "New version does not have any breaking change." - @added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("List of resource group ids.") resourceGroupCollection?: string[]; + + @added(Microsoft.Mission.Versions.v2025_05_01_preview) + @doc("Managed On Behalf Of Configuration.") + @visibility(Lifecycle.Read) + managedOnBehalfOfConfiguration?: CommonTypes.ManagedOnBehalfOfConfiguration; } -@doc("Workload Patch properties") -model WorkloadPatchProperties is WorkloadProperties; +@doc("Workload patchable Properties") +model WorkloadPatchProperties + is UpdateableProperties>; @doc("Workload Patch Resource") -model WorkloadPatchResource { +model WorkloadPatchModel { @doc("Workload Patch properties") - properties?: Update; + properties?: WorkloadPatchProperties; ...Azure.ResourceManager.Foundations.ArmTagsProperty; } diff --git a/specification/mission/Mission.Management/routes.tsp b/specification/mission/Mission.Management/routes.tsp index 1d79eaf51d5c..4dafcf1ddade 100644 --- a/specification/mission/Mission.Management/routes.tsp +++ b/specification/mission/Mission.Management/routes.tsp @@ -7,28 +7,11 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@azure-tools/typespec-client-generator-core"; -import "./resourcetypes/community/community.tsp"; -import "./resourcetypes/virtualEnclave/virtualenclave.tsp"; -import "./resourcetypes/workload/workload.tsp"; -import "./resourcetypes/catalog/catalog.tsp"; -import "./resourcetypes/postActions/checkaddressspaceavailability.tsp"; -import "./resourcetypes/transitHub/transitHub.tsp"; -import "./resourcetypes/enclaveConnection/enclaveConnection.tsp"; -import "./resourcetypes/communityEndpoint/communityEndpoint.tsp"; -import "./resourcetypes/enclaveEndpoint/enclaveEndpoint.tsp"; -import "./resourcetypes/postActions/approvalcallback.tsp"; -import "./resourcetypes/approvals/approvals.tsp"; -import "./resourcetypes/postActions/initiatorcallback.tsp"; -import "./resourcetypes/postActions/approvaldeletioncallback.tsp"; - import "./model.tsp"; -using Azure.ClientGenerator.Core; using Azure.Core; -using Azure.Core.Traits; using Azure.ResourceManager; using TypeSpec.Http; -using TypeSpec.OpenAPI; using TypeSpec.Rest; using TypeSpec.Versioning; @@ -47,10 +30,8 @@ interface Workload { >; update is ArmCustomPatchAsync< WorkloadResource, - PatchModel = WorkloadPatchResource + PatchModel = WorkloadPatchModel >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; listByEnclaveResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -68,10 +49,8 @@ interface VirtualEnclave { >; update is ArmCustomPatchAsync< EnclaveResource, - PatchModel = VirtualEnclavePatchResource + PatchModel = VirtualEnclavePatchModel >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -79,18 +58,26 @@ interface VirtualEnclave { @doc("Callback that triggers on approval state change.") @armResourceAction(EnclaveResource) @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "approvalCallback" + ) + handleApprovalCreation is ArmResourceActionAsync< EnclaveResource, ApprovalCallbackRequest, - ApprovalCallbackResponse + ApprovalActionResponse >; @doc("Callback that triggers on approval deletion state change.") @armResourceAction(EnclaveResource) @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalDeletionCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "approvalDeletionCallback" + ) + handleApprovalDeletion is ArmResourceActionAsync< EnclaveResource, ApprovalDeletionCallbackRequest, - ApprovalDeletionCallbackResponse + ApprovalActionResponse >; } @@ -106,10 +93,8 @@ interface Community { >; update is ArmCustomPatchAsync< CommunityResource, - PatchModel = CommunityPatchResource + PatchModel = CommunityPatchModel >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -118,7 +103,6 @@ interface Community { @doc("Checks that the IP Address Space to be allocated for this Community is available.") @armResourceAction(CommunityResource) @post - @added(Microsoft.Mission.Versions.v2024_06_01_preview) checkAddressSpaceAvailability( ...ResourceInstanceParameters, @@ -128,7 +112,6 @@ interface Community { ): ArmResponse | ErrorResponse; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("TransitHub Interface") @armResourceOperations interface TransitHub { @@ -141,16 +124,13 @@ interface TransitHub { >; update is ArmCustomPatchAsync< TransitHubResource, - PatchModel = TransitHubPatchResource + PatchModel = TransitHubPatchModel >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; listByCommunityResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Enclave Connection Interface") @armResourceOperations interface EnclaveConnection { @@ -163,33 +143,36 @@ interface EnclaveConnection { >; update is ArmCustomPatchAsync< EnclaveConnectionResource, - PatchModel = EnclaveConnectionPatchResource + PatchModel = EnclaveConnectionPatchModel >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @doc("Callback that triggers on approval state change.") @armResourceAction(EnclaveConnectionResource) - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - approvalCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "approvalCallback" + ) + handleApprovalCreation is ArmResourceActionAsync< EnclaveConnectionResource, ApprovalCallbackRequest, - ApprovalCallbackResponse + ApprovalActionResponse >; @doc("Callback that triggers on approval deletion state change.") @armResourceAction(EnclaveConnectionResource) - @added(Microsoft.Mission.Versions.v2024_06_01_preview) - approvalDeletionCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "approvalDeletionCallback" + ) + handleApprovalDeletion is ArmResourceActionAsync< EnclaveConnectionResource, ApprovalDeletionCallbackRequest, - ApprovalDeletionCallbackResponse + ApprovalActionResponse >; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Enclave Endpoint Interface") @armResourceOperations interface EnclaveEndpoints { @@ -202,10 +185,8 @@ interface EnclaveEndpoints { >; update is ArmCustomPatchAsync< EnclaveEndpointResource, - PatchModel = EnclaveEndpointPatchResource + PatchModel = EnclaveEndpointPatchModel >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; listByEnclaveResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -213,22 +194,29 @@ interface EnclaveEndpoints { @doc("Callback that triggers on approval state change.") @armResourceAction(EnclaveEndpointResource) @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "approvalCallback" + ) + handleApprovalCreation is ArmResourceActionAsync< EnclaveEndpointResource, ApprovalCallbackRequest, - ApprovalCallbackResponse + ApprovalActionResponse >; @doc("Callback that triggers on approval deletion state change.") @armResourceAction(EnclaveEndpointResource) @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalDeletionCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "approvalDeletionCallback" + ) + handleApprovalDeletion is ArmResourceActionAsync< EnclaveEndpointResource, ApprovalDeletionCallbackRequest, - ApprovalDeletionCallbackResponse + ApprovalActionResponse >; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Community Endpoint Interface") @armResourceOperations interface CommunityEndpoints { @@ -241,10 +229,8 @@ interface CommunityEndpoints { >; update is ArmCustomPatchAsync< CommunityEndpointResource, - PatchModel = CommunityEndpointPatchResource + PatchModel = CommunityEndpointPatchModel >; - #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" - #suppress "deprecated" "Backwards compatibility" delete is ArmResourceDeleteWithoutOkAsync; listByCommunityResource is ArmResourceListByParent; listBySubscription is ArmListBySubscription; @@ -252,22 +238,29 @@ interface CommunityEndpoints { @doc("Callback that triggers on approval state change.") @armResourceAction(CommunityEndpointResource) @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "approvalCallback" + ) + handleApprovalCreation is ArmResourceActionAsync< CommunityEndpointResource, ApprovalCallbackRequest, - ApprovalCallbackResponse + ApprovalActionResponse >; @doc("Callback that triggers on approval deletion state change.") @armResourceAction(CommunityEndpointResource) @added(Microsoft.Mission.Versions.v2024_12_01_preview) - approvalDeletionCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "approvalDeletionCallback" + ) + handleApprovalDeletion is ArmResourceActionAsync< CommunityEndpointResource, ApprovalDeletionCallbackRequest, - ApprovalDeletionCallbackResponse + ApprovalActionResponse >; } -@added(Microsoft.Mission.Versions.v2024_06_01_preview) @doc("Approval Interface") @armResourceOperations interface Approval { @@ -281,14 +274,18 @@ interface Approval { listByParent is ArmResourceListByParent; update is ArmCustomPatchAsync< ApprovalResource, - PatchModel = ApprovalPatchResource + PatchModel = ApprovalPatchModel >; delete is ArmResourceDeleteWithoutOkAsync; @doc("Upon receiving approval or rejection from approver, this facilitates actions on approval resource") @armResourceAction(ApprovalResource) - initiatorCallback is ArmResourceActionAsync< + @renamedFrom( + Microsoft.Mission.Versions.v2025_05_01_preview, + "initiatorCallback" + ) + notifyInitiator is ArmResourceActionAsync< ApprovalResource, - InitiatorCallbackRequest, - InitiatorCallbackResponse + ApprovalActionRequest, + ApprovalActionResponse >; } diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index ff6d13725768..6aa5f13e6e94 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -10,6 +10,30 @@ options: arm-types-dir: "{project-root}/../../common-types/resource-management" omit-unreachable-types: true use-read-only-status-schema: true + "@azure-tools/typespec-go": + service-dir: sdk/resourcemanager/placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + package-dir: armplaceholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + module: github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir} #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + fix-const-stuttering: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + generate-samples: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + generate-fakes: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + head-as-boolean: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + inject-spans: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + flavor: azure #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + "@azure-tools/typespec-python": + package-dir: azure-mgmt-placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + namespace: azure.mgmt.placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + generate-test: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + generate-sample: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + flavor: azure #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + "@azure-tools/typespec-java": + flavor: azure #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + package-dir: azure-resourcemanager-placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + namespace: com.azure.resourcemanager.placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + service-name: Place Holder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" +parameters: + service-dir: + default: sdk/placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation diff --git a/specification/mission/Mission.Management/version.tsp b/specification/mission/Mission.Management/version.tsp index daa1f0a689b8..a64b4f5ec04d 100644 --- a/specification/mission/Mission.Management/version.tsp +++ b/specification/mission/Mission.Management/version.tsp @@ -11,14 +11,20 @@ namespace Microsoft.Mission; @doc("Supported API versions for the Microsoft.Mission resource provider.") enum Versions { @doc("The 2024-06-01-preview version.") - @armCommonTypesVersion("v6") + @armCommonTypesVersion("v5") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_06_01_preview: "2024-06-01-preview", @doc("The 2024-12-01-preview version.") - @armCommonTypesVersion("v6") + @armCommonTypesVersion("v5") @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) v2024_12_01_preview: "2024-12-01-preview", + + @doc("The 2025-05-01-preview version.") + @armCommonTypesVersion("v5") + @Versioning.useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1) + @Versioning.useDependency(Azure.Core.Versions.v1_0_Preview_2) + v2025_05_01_preview: "2025-05-01-preview", } diff --git a/specification/mission/cspell.yaml b/specification/mission/cspell.yaml index 884a5279e75e..8884fb3bf09a 100644 --- a/specification/mission/cspell.yaml +++ b/specification/mission/cspell.yaml @@ -9,6 +9,7 @@ import: words: - initator - resourceid + - mobo overrides: - filename: >- **/specification/mission/Mission.Management/resourcetypes/community/community.tsp diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json index 1842692a0cf3..1a4263e628f5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Approvals_InitiatorCallback.json @@ -1,12 +1,12 @@ { - "operationId": "Approval_InitiatorCallback", "title": "Approval_InitiatorCallback", + "operationId": "Approval_InitiatorCallback", "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "api-version": "2024-06-01-preview", "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "body": { "approvalStatus": "Approved" } @@ -15,7 +15,7 @@ "200": { "description": "ARM operation completed successfully.", "body": { - "message": "Approval initiator callback handled successfully" + "message": "Approved" } }, "202": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json index b53202ed7e29..46ddf7c6a9ee 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/Community_Update.json @@ -20,7 +20,6 @@ "sampletag": "samplevalue" }, "properties": { - "addressSpace": "10.0.0.0/24", "dnsServers": [ "azure.net" ], diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json index 5e33c80cd6d6..4ec018978564 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/EnclaveConnection_Update.json @@ -12,10 +12,7 @@ "sampletag": "samplevalue" }, "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + "sourceCidr": "10.0.0.0/24" } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json index 39b7954164b3..b151e4c32f79 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -15,10 +15,7 @@ "params": { "scaleUnits": 1 } - }, - "resourceCollection": [ - "resCollection" - ] + } }, "tags": { "Tag1": "Value1" diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json index b7c81442c22e..d37792c938c9 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/TransitHub_Update.json @@ -19,10 +19,7 @@ "params": { "scaleUnits": 1 } - }, - "resourceCollection": [ - "resCollection" - ] + } } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json index c8a513bece31..5ea87437aa5c 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -28,15 +28,8 @@ }, "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], "diagnosticDestination": "Both" }, - "resourceCollection": [], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json index 2da763533a15..e644bb524861 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/examples/VirtualEnclave_Update.json @@ -32,19 +32,9 @@ "allowSubnetCommunication": true, "connectToAzureServices": true }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], "diagnosticDestination": "Both" }, - "resourceCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json index ff2625b46ab2..38792fac13e5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-06-01-preview/openapi.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft Mission", + "title": "Microsoft.Mission", "version": "2024-06-01-preview", "description": "Microsoft Mission Resource Provider management API.", "x-typespec-generated": [ @@ -77,7 +77,7 @@ "description": "List ApprovalResource resources by parent", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -93,7 +93,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -116,7 +116,7 @@ "description": "Get a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -140,7 +140,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -158,7 +158,7 @@ "description": "Create a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -208,7 +208,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -230,7 +230,7 @@ "description": "Update a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -249,7 +249,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPatchResource" + "$ref": "#/definitions/ApprovalPatchModel" } } ], @@ -277,7 +277,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -299,7 +299,7 @@ "description": "Delete a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -334,7 +334,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -358,7 +358,7 @@ "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -377,7 +377,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/InitiatorCallbackRequest" + "$ref": "#/definitions/ApprovalActionRequest" } } ], @@ -385,7 +385,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InitiatorCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -405,7 +405,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -429,20 +429,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -465,10 +465,10 @@ "description": "List CommunityResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -481,7 +481,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -504,10 +504,10 @@ "description": "List CommunityEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -528,7 +528,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -551,10 +551,10 @@ "description": "List TransitHubResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -575,7 +575,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -598,10 +598,10 @@ "description": "List EnclaveConnectionResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -614,7 +614,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -637,10 +637,10 @@ "description": "List EnclaveResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -653,7 +653,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -676,10 +676,10 @@ "description": "List EnclaveEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -700,7 +700,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -723,10 +723,10 @@ "description": "List WorkloadResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -747,7 +747,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -770,13 +770,13 @@ "description": "List CommunityResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -789,7 +789,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -812,13 +812,13 @@ "description": "Get a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -839,7 +839,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -857,13 +857,13 @@ "description": "Create a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -910,7 +910,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -932,13 +932,13 @@ "description": "Update a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -954,7 +954,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPatchResource" + "$ref": "#/definitions/CommunityPatchModel" } } ], @@ -982,7 +982,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1004,13 +1004,13 @@ "description": "Delete a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1042,7 +1042,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1066,13 +1066,13 @@ "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1102,7 +1102,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1122,13 +1122,13 @@ "description": "List CommunityEndpointResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1149,7 +1149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1172,13 +1172,13 @@ "description": "Get a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1207,7 +1207,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1225,13 +1225,13 @@ "description": "Create a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1286,7 +1286,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1308,13 +1308,13 @@ "description": "Update a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1338,7 +1338,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPatchResource" + "$ref": "#/definitions/CommunityEndpointPatchModel" } } ], @@ -1366,7 +1366,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1388,13 +1388,13 @@ "description": "Delete a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1434,7 +1434,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1458,13 +1458,13 @@ "description": "List TransitHubResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1485,7 +1485,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1508,13 +1508,13 @@ "description": "Get a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1543,7 +1543,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1561,13 +1561,13 @@ "description": "Create a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1622,7 +1622,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1644,13 +1644,13 @@ "description": "Update a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1674,7 +1674,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubPatchResource" + "$ref": "#/definitions/TransitHubPatchModel" } } ], @@ -1702,7 +1702,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1724,13 +1724,13 @@ "description": "Delete a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1770,7 +1770,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1794,13 +1794,13 @@ "description": "List EnclaveConnectionResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -1813,7 +1813,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1836,13 +1836,13 @@ "description": "Get a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -1863,7 +1863,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1881,13 +1881,13 @@ "description": "Create a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -1934,7 +1934,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1956,13 +1956,13 @@ "description": "Update a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -1978,7 +1978,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPatchResource" + "$ref": "#/definitions/EnclaveConnectionPatchModel" } } ], @@ -2006,7 +2006,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2028,13 +2028,13 @@ "description": "Delete a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2066,7 +2066,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2090,13 +2090,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2120,7 +2120,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -2140,7 +2140,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2164,13 +2164,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2194,7 +2194,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -2214,7 +2214,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2238,13 +2238,13 @@ "description": "List EnclaveResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2257,7 +2257,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2280,13 +2280,13 @@ "description": "Get a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2307,7 +2307,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2325,13 +2325,13 @@ "description": "Create a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2378,7 +2378,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2400,13 +2400,13 @@ "description": "Update a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2422,7 +2422,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePatchResource" + "$ref": "#/definitions/VirtualEnclavePatchModel" } } ], @@ -2450,7 +2450,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2472,13 +2472,13 @@ "description": "Delete a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2510,7 +2510,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2534,13 +2534,13 @@ "description": "List EnclaveEndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2561,7 +2561,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2584,13 +2584,13 @@ "description": "Get a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2619,7 +2619,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2637,13 +2637,13 @@ "description": "Create a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2698,7 +2698,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2720,13 +2720,13 @@ "description": "Update a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2750,7 +2750,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPatchResource" + "$ref": "#/definitions/EnclaveEndpointPatchModel" } } ], @@ -2778,7 +2778,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2800,13 +2800,13 @@ "description": "Delete a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2846,7 +2846,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2870,13 +2870,13 @@ "description": "List WorkloadResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2897,7 +2897,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2920,13 +2920,13 @@ "description": "Get a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2955,7 +2955,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2973,13 +2973,13 @@ "description": "Create a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3034,7 +3034,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3056,13 +3056,13 @@ "description": "Update a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3086,7 +3086,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadPatchResource" + "$ref": "#/definitions/WorkloadPatchModel" } } ], @@ -3114,7 +3114,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3136,13 +3136,13 @@ "description": "Delete a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3182,7 +3182,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3199,6 +3199,39 @@ } }, "definitions": { + "ApprovalActionRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "ApprovalActionResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, "ApprovalCallbackRequest": { "type": "object", "description": "Request body for calling post-action", @@ -3239,19 +3272,6 @@ "approvalStatus" ] }, - "ApprovalCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, "ApprovalDeletionCallbackRequest": { "type": "object", "description": "Request body for calling post-action", @@ -3273,32 +3293,37 @@ "resourceRequestAction" ] }, - "ApprovalDeletionCallbackResponse": { + "ApprovalPatchModel": { "type": "object", - "description": "Response body after handling of approvalDeletionCallbackRequest", + "description": "Approvals patch model.", "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." + "properties": { + "$ref": "#/definitions/ApprovalPatchProperties", + "description": "Approval Patch properties" } - }, - "required": [ - "message" - ] + } }, - "ApprovalPatchResource": { + "ApprovalPatchProperties": { "type": "object", - "description": "Approvals properties for patching", + "description": "Approvals patch properties.", "properties": { - "properties": { - "$ref": "#/definitions/UpdateApprovalProperties", - "description": "Approval Patch properties" + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdatableProperties", + "description": "Request metadata for the approval request." } } }, "ApprovalProperties": { "type": "object", - "description": "Approvals Resource Properties", + "description": "Approval Base model.", "properties": { "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -3334,7 +3359,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -3361,7 +3386,7 @@ }, "ApprovalStatus": { "type": "string", - "description": "Approval Status Enum", + "description": "Approval Status. It can be Approved, Rejected, Pending, Deleted or Expired.", "enum": [ "Approved", "Rejected", @@ -3398,19 +3423,14 @@ "description": "Managed service identity (system assigned and/or user assigned identities)", "properties": { "type": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentityType", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", "description": "The type of managed identity assigned to this resource." }, "userAssignedIdentities": { "type": "object", "description": "The identities assigned to this resource by the user.", "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", "x-nullable": true } } @@ -3425,7 +3445,7 @@ "description": "Resource Id of the Community" }, "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", + "$ref": "#/definitions/EnclaveVirtualNetworkModel", "description": "Information about the enclave virtual network" } }, @@ -3451,18 +3471,6 @@ "type": "object", "description": "Base type for destination rules.", "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, "destinationType": { "$ref": "#/definitions/DestinationType", "description": "Destination Type." @@ -3477,15 +3485,27 @@ "transitHubResourceId": { "$ref": "#/definitions/TransitHubResourceId", "description": "Transit Hub Resource Id." + }, + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." } } }, - "CommunityEndpointPatchResource": { + "CommunityEndpointPatchModel": { "type": "object", "description": "Community Endpoint Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateCommunityEndpointPatchProperties", + "$ref": "#/definitions/CommunityEndpointPatchProperties", "description": "Community Endpoint Patch properties" }, "tags": { @@ -3497,6 +3517,24 @@ } } }, + "CommunityEndpointPatchProperties": { + "type": "object", + "description": "Community Endpoint patchable Properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -3514,7 +3552,8 @@ "description": "List of resource ids created by community endpoint.", "items": { "type": "string" - } + }, + "readOnly": true }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -3602,7 +3641,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -3627,12 +3666,12 @@ "value" ] }, - "CommunityPatchResource": { + "CommunityPatchModel": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateCommunityPatchProperties", + "$ref": "#/definitions/CommunityPatchProperties", "description": "Community Patch properties" }, "tags": { @@ -3648,17 +3687,42 @@ } } }, + "CommunityPatchProperties": { + "type": "object", + "description": "Community Resource Properties without default values", + "properties": { + "dnsServers": { + "type": "array", + "description": "DNS Servers.", + "items": { + "type": "string" + } + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + }, + "x-ms-identifiers": [] + } + } + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", "properties": { "addressSpace": { "type": "string", - "description": "Address Space." + "description": "Address Space.", + "x-ms-mutability": [ + "read", + "create" + ] }, "dnsServers": { "type": "array", - "description": "Dns Servers.", + "description": "DNS Servers.", "items": { "type": "string" } @@ -3678,14 +3742,16 @@ }, "managedResourceGroupConfiguration": { "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." + "description": "Managed resource group name.", + "readOnly": true }, "governedServiceList": { "type": "array", "description": "List of services governed by a community.", "items": { "$ref": "#/definitions/GovernedServiceItem" - } + }, + "x-ms-identifiers": [] } } }, @@ -3699,13 +3765,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -3823,7 +3889,7 @@ ] } }, - "EnclaveAddressSpaces": { + "EnclaveAddressSpacesModel": { "type": "object", "description": "Enclave Address Spaces", "properties": { @@ -3837,12 +3903,12 @@ } } }, - "EnclaveConnectionPatchResource": { + "EnclaveConnectionPatchModel": { "type": "object", "description": "Enclave Connection Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateEnclaveConnectionPatchProperties", + "$ref": "#/definitions/EnclaveConnectionPatchProperties", "description": "Enclave Connection Patch properties" }, "tags": { @@ -3854,21 +3920,40 @@ } } }, + "EnclaveConnectionPatchProperties": { + "type": "object", + "description": "Enclave Connection patchable Properties", + "properties": { + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + } + } + }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", "properties": { "state": { "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." + "description": "The state of the enclaveConnection.", + "readOnly": true }, "communityResourceId": { "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." + "description": "Community Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "sourceResourceId": { "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." + "description": "Source Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "sourceCidr": { "type": "string", @@ -3876,11 +3961,19 @@ }, "ipGroup": { "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." + "description": "Source IP group Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "destinationEndpointId": { "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." + "description": "Destination Endpoint Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -3892,7 +3985,8 @@ "description": "List of resource ids modified by enclave Connections.", "items": { "type": "string" - } + }, + "readOnly": true } }, "required": [ @@ -3913,7 +4007,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4007,25 +4101,65 @@ ] } }, - "EnclaveDefaultSettings": { + "EnclaveDefaultSettingsModel": { "type": "object", "description": "Virtual Enclave Default Settings", "properties": { "keyVaultResourceId": { "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." + "description": "Key Vault Resource Id.", + "readOnly": true }, "storageAccountResourceId": { "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." + "description": "Storage Account Resource Id.", + "readOnly": true }, "logAnalyticsResourceIdCollection": { "type": "array", "description": "Log Analytics Resource Ids.", "items": { "$ref": "#/definitions/LogAnalyticsResourceId" - } + }, + "readOnly": true }, + "diagnosticDestination": { + "type": "string", + "description": "Diagnostic Destination.", + "default": "EnclaveOnly", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + } + } + }, + "EnclaveDefaultSettingsPatchModel": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { "diagnosticDestination": { "$ref": "#/definitions/DiagnosticDestination", "description": "Diagnostic Destination." @@ -4036,6 +4170,13 @@ "type": "object", "description": "Enclave Endpoint Rule Properties", "properties": { + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + }, "name": { "type": "string", "description": "Endpoint Rule Name." @@ -4047,22 +4188,15 @@ "port": { "type": "string", "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/EnclaveEndpointProtocol" - } } } }, - "EnclaveEndpointPatchResource": { + "EnclaveEndpointPatchModel": { "type": "object", "description": "Enclave Endpoint Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateEnclaveEndpointPatchProperties", + "$ref": "#/definitions/EnclaveEndpointPatchProperties", "description": "Enclave Endpoint Patch properties" }, "tags": { @@ -4074,6 +4208,24 @@ } } }, + "EnclaveEndpointPatchProperties": { + "type": "object", + "description": "Enclave Endpoint patchable Properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "approvalRequired": { + "type": "boolean", + "description": "Whether approval is needed for the connection (True or False)." + } + } + }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -4091,7 +4243,8 @@ "description": "List of resource ids created by community endpoint.", "items": { "type": "string" - } + }, + "readOnly": true }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -4167,7 +4320,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4202,13 +4355,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4233,7 +4386,7 @@ "value" ] }, - "EnclaveVirtualNetwork": { + "EnclaveVirtualNetworkModel": { "type": "object", "description": "Enclave Virtual Network Properties", "properties": { @@ -4243,26 +4396,45 @@ }, "networkSize": { "type": "string", - "description": "Network Size." + "description": "Network Size.", + "x-ms-mutability": [ + "read", + "create" + ] }, "customCidrRange": { "type": "string", - "description": "Custom CIDR Range." + "description": "Custom CIDR Range.", + "x-ms-mutability": [ + "read", + "create" + ] }, "subnetConfigurations": { "type": "array", "description": "Subnet Configurations.", "items": { "$ref": "#/definitions/SubnetConfiguration" - } + }, + "x-ms-identifiers": [] }, "allowSubnetCommunication": { "type": "boolean", - "description": "Allow Subnet Communication." + "description": "Allow Subnet Communication.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] }, "connectToAzureServices": { "type": "boolean", - "description": "Connect to Azure Services (True or False)." + "description": "Connect to Azure Services (True or False).", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] } } }, @@ -4272,16 +4444,16 @@ "properties": { "id": { "$ref": "#/definitions/ServiceIdentifier", - "description": "service id" + "description": "Service ID" }, "name": { "type": "string", - "description": "service name", + "description": "Service name.", "readOnly": true }, "option": { "type": "string", - "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "description": "Governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", "enum": [ "Allow", "Deny", @@ -4294,7 +4466,7 @@ }, "enforcement": { "type": "string", - "description": "initiative enforcement (Enabled or Disabled).", + "description": "Initiative enforcement (Enabled or Disabled).", "enum": [ "Enabled", "Disabled" @@ -4305,11 +4477,11 @@ }, "auditOnly": { "type": "boolean", - "description": "policies set to auditOnly (True or False)." + "description": "Policies set to auditOnly (True or False)." }, "initiatives": { "type": "array", - "description": "initiatives associated with this service", + "description": "Initiatives associated with this service.", "items": { "type": "string" }, @@ -4332,39 +4504,6 @@ ] } }, - "InitiatorCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "approvalStatus" - ] - }, - "InitiatorCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -4389,17 +4528,20 @@ ] } }, - "MaintenanceModeConfiguration": { + "MaintenanceModeConfigurationModel": { "type": "object", "description": "Maintenance Mode", "properties": { "mode": { "type": "string", "description": "Current mode of Maintenance Mode Configuration", + "default": "Off", "enum": [ "On", "CanNotDelete", - "Off" + "Off", + "General", + "Advanced" ], "x-ms-enum": { "modelAsString": true @@ -4408,6 +4550,7 @@ "principals": { "type": "array", "description": "The user, group or service principal object affected by Maintenance Mode", + "default": [], "items": { "$ref": "#/definitions/Principal" } @@ -4415,6 +4558,7 @@ "justification": { "type": "string", "description": "Justification for entering or exiting Maintenance Mode", + "default": "Off", "enum": [ "Networking", "Governance", @@ -4429,9 +4573,9 @@ "mode" ] }, - "MaintenanceModeConfigurationUpdate": { + "MaintenanceModeConfigurationPatchModel": { "type": "object", - "description": "Maintenance Mode", + "description": "Maintenance Mode Patch Model", "properties": { "mode": { "type": "string", @@ -4439,7 +4583,9 @@ "enum": [ "On", "CanNotDelete", - "Off" + "Off", + "General", + "Advanced" ], "x-ms-enum": { "modelAsString": true @@ -4530,12 +4676,9 @@ "Failed", "Canceled", "Accepted", - "Created", "Creating", - "Deleted", "Deleting", "NotSpecified", - "Ready", "Running", "Updating" ], @@ -4563,21 +4706,11 @@ "value": "Accepted", "description": "Provisioning State Type Accepted" }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, { "name": "Creating", "value": "Creating", "description": "Provisioning State Type Creating" }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, { "name": "Deleting", "value": "Deleting", @@ -4588,11 +4721,6 @@ "value": "NotSpecified", "description": "Provisioning State Type NotSpecified" }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, { "name": "Running", "value": "Running", @@ -4616,17 +4744,44 @@ "description": "Resource Action of the item being approved or declined." }, "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." + "type": "string", + "description": "Status of the approval. Uses ApprovalStatus enum.", + "default": "Pending", + "enum": [ + "Approved", + "Rejected", + "Pending" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + } + ] + } } }, "required": [ "resourceAction" ] }, - "RequestMetadataUpdate": { + "RequestMetadataUpdatableProperties": { "type": "object", - "description": "Request Metadata for approvals request.", + "description": "Request Metadata patch properties.", "properties": { "resourceAction": { "type": "string", @@ -4634,7 +4789,7 @@ }, "approvalStatus": { "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." + "description": "Status of the approval. Uses ApprovalStatus enum." } } }, @@ -4762,7 +4917,7 @@ }, "id": { "$ref": "#/definitions/SubnetResourceId", - "description": "Subnet ID.", + "description": "Subnet Resource ID.", "readOnly": true }, "networkPrefixSize": { @@ -4802,12 +4957,12 @@ ] } }, - "TransitHubPatchResource": { + "TransitHubPatchModel": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateTransitHubPatchProperties", + "$ref": "#/definitions/TransitHubPatchProperties", "description": "The TransitHub resource." }, "tags": { @@ -4819,6 +4974,20 @@ } } }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Transit Hub patchable Properties", + "properties": { + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + } + } + }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", @@ -4841,7 +5010,8 @@ "description": "List of resource ids modified by transitHubs.", "items": { "type": "string" - } + }, + "readOnly": true } } }, @@ -4857,7 +5027,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4995,253 +5165,46 @@ ] } }, - "UpdateApprovalProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadataUpdate", - "description": "Request metadata for the approval request." - } - } - }, - "UpdateCommunityEndpointPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "UpdateCommunityPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by communities.", - "items": { - "type": "string" - }, - "readOnly": true - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - } - } - }, - "UpdateEnclaveConnectionPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "UpdateEnclaveEndpointPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - }, - "approvalRequired": { - "type": "boolean", - "description": "Whether approval is needed for the connection (True or False)." - } - } - }, - "UpdateTransitHubPatchProperties": { + "VirtualEnclavePatchModel": { "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "description": "Virtual Enclave Patch Model", "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." + "properties": { + "$ref": "#/definitions/VirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { "type": "string" } } } }, - "UpdateVirtualEnclavePatchProperties": { + "VirtualEnclavePatchProperties": { "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "description": "Virtual Enclave Patchable Properties", "properties": { "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", + "$ref": "#/definitions/EnclaveVirtualNetworkModel", "description": "Virtual Network." }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource." - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - }, "bastionEnabled": { "type": "boolean", "description": "Deploy Bastion service (True or False)." - } - } - }, - "UpdateWorkloadPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "VirtualEnclavePatchResource": { - "type": "object", - "description": "Virtual Enclave Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/UpdateVirtualEnclavePatchProperties", - "description": "Virtual Enclave Patch properties" }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettingsPatchModel", + "description": "Enclave default settings." }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationPatchModel", + "description": "Maintenance Mode configuration." } } }, @@ -5255,21 +5218,21 @@ "readOnly": true }, "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", + "$ref": "#/definitions/EnclaveVirtualNetworkModel", "description": "Virtual Network." }, "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", + "$ref": "#/definitions/EnclaveAddressSpacesModel", "description": "Enclave Address Spaces", "readOnly": true }, "communityResourceId": { "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" + "description": "Community Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "resourceCollection": { "type": "array", @@ -5278,19 +5241,26 @@ "type": "string", "format": "arm-id", "description": "A type definition that refers the id to an Azure Resource Manager resource." - } + }, + "readOnly": true }, "managedResourceGroupConfiguration": { "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." + "description": "Managed resource group name.", + "readOnly": true }, "bastionEnabled": { "type": "boolean", - "description": "Deploy Bastion service (True or False)." + "description": "Deploy Bastion service (True or False).", + "default": false + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettingsModel", + "description": "Enclave default settings." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationModel", + "description": "Maintenance Mode configuration." } }, "required": [ @@ -5310,12 +5280,12 @@ ] } }, - "WorkloadPatchResource": { + "WorkloadPatchModel": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateWorkloadPatchProperties", + "$ref": "#/definitions/WorkloadPatchProperties", "description": "Workload Patch properties" }, "tags": { @@ -5327,6 +5297,19 @@ } } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload patchable Properties", + "properties": { + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", @@ -5357,7 +5340,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json index 63939b3c181f..0ecaf5494bda 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Approvals_InitiatorCallback.json @@ -1,12 +1,12 @@ { - "operationId": "Approval_InitiatorCallback", "title": "Approval_InitiatorCallback", + "operationId": "Approval_InitiatorCallback", "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "api-version": "2024-12-01-preview", "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", "resourceGroupName": "rgopenapi", "approvalName": "TestApprovals", - "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", "body": { "approvalStatus": "Approved" } @@ -15,7 +15,7 @@ "200": { "description": "ARM operation completed successfully.", "body": { - "message": "Approval initiator callback handled successfully" + "message": "Approved" } }, "202": { diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json index ece4bbdae13b..f7c4d6f7aeb5 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_CreateOrUpdate.json @@ -140,7 +140,6 @@ "endpointDeletion": "NotRequired", "connectionCreation": "Required", "connectionUpdate": "Required", - "connectionUpdateMode": "Manual", "connectionDeletion": "NotRequired", "enclaveCreation": "NotRequired", "enclaveDeletion": "NotRequired", diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json index c372f26a7a11..5a07ba852fe2 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/Community_Update.json @@ -20,7 +20,6 @@ "sampletag": "samplevalue" }, "properties": { - "addressSpace": "10.0.0.0/24", "dnsServers": [ "azure.net" ], diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json index a35fc15eae2d..a58da002e704 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/EnclaveConnection_Update.json @@ -12,10 +12,7 @@ "sampletag": "samplevalue" }, "properties": { - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", - "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", - "sourceCidr": "10.0.0.0/24", - "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + "sourceCidr": "10.0.0.0/24" } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_CreateOrUpdate.json index f70b958f9569..51421c5cfb8e 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -15,10 +15,7 @@ "params": { "scaleUnits": 1 } - }, - "resourceCollection": [ - "resCollection" - ] + } }, "tags": { "Tag1": "Value1" diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json index ff62259d16b7..7f7bdf093736 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/TransitHub_Update.json @@ -19,10 +19,7 @@ "params": { "scaleUnits": 1 } - }, - "resourceCollection": [ - "resCollection" - ] + } } } }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_CreateOrUpdate.json index 1295ada79683..0d35fabd2395 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_CreateOrUpdate.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -28,15 +28,8 @@ }, "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], "diagnosticDestination": "Both" }, - "resourceCollection": [], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json index 4f8d75cacaae..77752d7175ad 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/examples/VirtualEnclave_Update.json @@ -32,19 +32,9 @@ "allowSubnetCommunication": true, "connectToAzureServices": true }, - "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", "enclaveDefaultSettings": { - "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", - "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", - "logAnalyticsResourceIdCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" - ], "diagnosticDestination": "Both" }, - "resourceCollection": [ - "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" - ], "maintenanceModeConfiguration": { "mode": "Off", "principals": [ diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json index 1e4e0e26ae4f..c108d0f95f3d 100644 --- a/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2024-12-01-preview/openapi.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "title": "Microsoft Mission", + "title": "Microsoft.Mission", "version": "2024-12-01-preview", "description": "Microsoft Mission Resource Provider management API.", "x-typespec-generated": [ @@ -77,7 +77,7 @@ "description": "List ApprovalResource resources by parent", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -93,7 +93,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -116,7 +116,7 @@ "description": "Get a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -140,7 +140,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -158,7 +158,7 @@ "description": "Create a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -208,7 +208,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -230,7 +230,7 @@ "description": "Update a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -249,7 +249,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/ApprovalPatchResource" + "$ref": "#/definitions/ApprovalPatchModel" } } ], @@ -277,7 +277,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -299,7 +299,7 @@ "description": "Delete a ApprovalResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -334,7 +334,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -358,7 +358,7 @@ "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" @@ -377,7 +377,7 @@ "description": "The content of the action request", "required": true, "schema": { - "$ref": "#/definitions/InitiatorCallbackRequest" + "$ref": "#/definitions/ApprovalActionRequest" } } ], @@ -385,7 +385,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/InitiatorCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -405,7 +405,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -429,20 +429,20 @@ "description": "List the operations for the provider", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" } }, "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -465,10 +465,10 @@ "description": "List CommunityResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -481,7 +481,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -504,10 +504,10 @@ "description": "List CommunityEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -528,7 +528,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -551,10 +551,10 @@ "description": "List TransitHubResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "communityName", @@ -575,7 +575,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -598,10 +598,10 @@ "description": "List EnclaveConnectionResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -614,7 +614,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -637,10 +637,10 @@ "description": "List EnclaveResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -653,7 +653,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -676,10 +676,10 @@ "description": "List EnclaveEndpointResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -700,7 +700,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -723,10 +723,10 @@ "description": "List WorkloadResource resources by subscription ID", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { "name": "virtualEnclaveName", @@ -747,7 +747,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -770,13 +770,13 @@ "description": "List CommunityResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -789,7 +789,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -812,13 +812,13 @@ "description": "Get a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -839,7 +839,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -857,13 +857,13 @@ "description": "Create a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -910,7 +910,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -932,13 +932,13 @@ "description": "Update a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -954,7 +954,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityPatchResource" + "$ref": "#/definitions/CommunityPatchModel" } } ], @@ -982,7 +982,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1004,13 +1004,13 @@ "description": "Delete a CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1042,7 +1042,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1066,13 +1066,13 @@ "description": "Checks that the IP Address Space to be allocated for this Community is available.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1102,7 +1102,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1122,13 +1122,13 @@ "description": "List CommunityEndpointResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1149,7 +1149,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1172,13 +1172,13 @@ "description": "Get a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1207,7 +1207,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1225,13 +1225,13 @@ "description": "Create a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1286,7 +1286,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1308,13 +1308,13 @@ "description": "Update a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1338,7 +1338,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/CommunityEndpointPatchResource" + "$ref": "#/definitions/CommunityEndpointPatchModel" } } ], @@ -1366,7 +1366,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1388,13 +1388,13 @@ "description": "Delete a CommunityEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1434,7 +1434,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1458,13 +1458,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1496,7 +1496,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -1516,7 +1516,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1540,13 +1540,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1578,7 +1578,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -1598,7 +1598,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1622,13 +1622,13 @@ "description": "List TransitHubResource resources by CommunityResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1649,7 +1649,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1672,13 +1672,13 @@ "description": "Get a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1707,7 +1707,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1725,13 +1725,13 @@ "description": "Create a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1786,7 +1786,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1808,13 +1808,13 @@ "description": "Update a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1838,7 +1838,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/TransitHubPatchResource" + "$ref": "#/definitions/TransitHubPatchModel" } } ], @@ -1866,7 +1866,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1888,13 +1888,13 @@ "description": "Delete a TransitHubResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "communityName", @@ -1934,7 +1934,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -1958,13 +1958,13 @@ "description": "List EnclaveConnectionResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -1977,7 +1977,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2000,13 +2000,13 @@ "description": "Get a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2027,7 +2027,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2045,13 +2045,13 @@ "description": "Create a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2098,7 +2098,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2120,13 +2120,13 @@ "description": "Update a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2142,7 +2142,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveConnectionPatchResource" + "$ref": "#/definitions/EnclaveConnectionPatchModel" } } ], @@ -2170,7 +2170,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2192,13 +2192,13 @@ "description": "Delete a EnclaveConnectionResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2230,7 +2230,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2254,13 +2254,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2284,7 +2284,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -2304,7 +2304,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2328,13 +2328,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "enclaveConnectionName", @@ -2358,7 +2358,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -2378,7 +2378,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2402,13 +2402,13 @@ "description": "List EnclaveResource resources by resource group", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" } ], "responses": { @@ -2421,7 +2421,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2444,13 +2444,13 @@ "description": "Get a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2471,7 +2471,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2489,13 +2489,13 @@ "description": "Create a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2542,7 +2542,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2564,13 +2564,13 @@ "description": "Update a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2586,7 +2586,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/VirtualEnclavePatchResource" + "$ref": "#/definitions/VirtualEnclavePatchModel" } } ], @@ -2614,7 +2614,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2636,13 +2636,13 @@ "description": "Delete a EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2674,7 +2674,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2698,13 +2698,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2728,7 +2728,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -2748,7 +2748,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2772,13 +2772,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2802,7 +2802,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -2822,7 +2822,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2846,13 +2846,13 @@ "description": "List EnclaveEndpointResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2873,7 +2873,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2896,13 +2896,13 @@ "description": "Get a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -2931,7 +2931,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -2949,13 +2949,13 @@ "description": "Create a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3010,7 +3010,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3032,13 +3032,13 @@ "description": "Update a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3062,7 +3062,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/EnclaveEndpointPatchResource" + "$ref": "#/definitions/EnclaveEndpointPatchModel" } } ], @@ -3090,7 +3090,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3112,13 +3112,13 @@ "description": "Delete a EnclaveEndpointResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3158,7 +3158,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3182,13 +3182,13 @@ "description": "Callback that triggers on approval state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3220,7 +3220,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -3240,7 +3240,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3264,13 +3264,13 @@ "description": "Callback that triggers on approval deletion state change.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3302,7 +3302,7 @@ "200": { "description": "Azure operation completed successfully.", "schema": { - "$ref": "#/definitions/ApprovalDeletionCallbackResponse" + "$ref": "#/definitions/ApprovalActionResponse" } }, "202": { @@ -3322,7 +3322,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3346,13 +3346,13 @@ "description": "List WorkloadResource resources by EnclaveResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3373,7 +3373,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3396,13 +3396,13 @@ "description": "Get a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3431,7 +3431,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3449,13 +3449,13 @@ "description": "Create a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3510,7 +3510,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3532,13 +3532,13 @@ "description": "Update a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3562,7 +3562,7 @@ "description": "The resource properties to be updated.", "required": true, "schema": { - "$ref": "#/definitions/WorkloadPatchResource" + "$ref": "#/definitions/WorkloadPatchModel" } } ], @@ -3590,7 +3590,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3612,13 +3612,13 @@ "description": "Delete a WorkloadResource", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" }, { "name": "virtualEnclaveName", @@ -3658,7 +3658,7 @@ "default": { "description": "An unexpected error response.", "schema": { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -3689,16 +3689,49 @@ { "name": "Approved", "value": "Approved", - "description": "ActionPerformed Type Approved" + "description": "Action was Approved" }, { "name": "Rejected", "value": "Rejected", - "description": "ActionPerformed Type Rejected" + "description": "Action was Rejected" } ] } }, + "ApprovalActionRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "ApprovalActionResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, "ApprovalCallbackRequest": { "type": "object", "description": "Request body for calling post-action", @@ -3737,19 +3770,6 @@ "approvalStatus" ] }, - "ApprovalCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, "ApprovalDeletionCallbackRequest": { "type": "object", "description": "Request body for calling post-action", @@ -3771,26 +3791,55 @@ "resourceRequestAction" ] }, - "ApprovalDeletionCallbackResponse": { + "ApprovalPatchModel": { "type": "object", - "description": "Response body after handling of approvalDeletionCallbackRequest", + "description": "Approvals patch model.", "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." + "properties": { + "$ref": "#/definitions/ApprovalPatchProperties", + "description": "Approval Patch properties" } - }, - "required": [ - "message" - ] + } }, - "ApprovalPatchResource": { + "ApprovalPatchProperties": { "type": "object", - "description": "Approvals properties for patching", + "description": "Approvals patch properties.", "properties": { - "properties": { - "$ref": "#/definitions/UpdateApprovalProperties", - "description": "Approval Patch properties" + "parent1": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "parent2": { + "type": "string", + "description": "Parameter for optimizing query results" + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approver" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "ticketId": { + "type": "string", + "description": "Ticket ID for the approval request" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Approval request creation time" + }, + "stateChangedAt": { + "type": "string", + "format": "date-time", + "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdatableProperties", + "description": "Request metadata for the approval request." } } }, @@ -3820,7 +3869,7 @@ }, "ApprovalProperties": { "type": "object", - "description": "Approvals Resource Properties", + "description": "Approval Base model.", "properties": { "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -3835,10 +3884,6 @@ "type": "string", "description": "Parameter for optimizing query results" }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadata", - "description": "Request metadata for the approval request." - }, "approvers": { "type": "array", "description": "List of approvers for the approval request", @@ -3862,6 +3907,10 @@ "type": "string", "format": "date-time", "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." } }, "required": [ @@ -3880,7 +3929,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ] }, @@ -3911,66 +3960,107 @@ "properties": { "endpointCreation": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for endpoint creation (Required or NotRequired)." + "description": "Approval required for endpoint creation (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "endpointUpdate": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for endpoint update (Required or NotRequired)." + "description": "Approval required for endpoint update (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "endpointDeletion": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for endpoint deletion (Required or NotRequired)." + "description": "Approval required for endpoint deletion (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "connectionCreation": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for enclave connection creation (Required or NotRequired)." + "description": "Approval required for enclave connection creation (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "connectionUpdate": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for enclave connection update (Required or NotRequired)." - }, - "connectionUpdateMode": { - "type": "string", - "description": "Behavior of enclave connection update workflow after endpoint update is approved (Automatic or Manual).", - "enum": [ - "Automatic", - "Manual" - ], - "x-ms-enum": { - "modelAsString": true - } + "description": "Approval required for enclave connection update (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "connectionDeletion": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for enclave connection deletion (Required or NotRequired)." + "description": "Approval required for enclave connection deletion (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "enclaveCreation": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for virtual enclave creation (Required or NotRequired)." + "description": "Approval required for virtual enclave creation (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "enclaveDeletion": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for virtual enclave deletion (Required or NotRequired)." + "description": "Approval required for virtual enclave deletion (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "maintenanceMode": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for toggling maintenance mode (Required or NotRequired)." + "description": "Approval required for toggling maintenance mode (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "serviceCatalogDeployment": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Approval required for deploying service catalog templates (Required or NotRequired)." + "description": "Approval required for deploying service catalog templates (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] }, "notificationOnApprovalCreation": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Notification will be sent on creation of an Approval Request" + "description": "Notification will be sent on creation of an Approval Request", + "x-ms-mutability": [ + "read", + "create" + ] }, "notificationOnApprovalAction": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Notification will be sent on any action taken (Approve/Reject) on an Approval Request" + "description": "Notification will be sent on any action taken (Approve/Reject) on an Approval Request", + "x-ms-mutability": [ + "read", + "create" + ] }, "notificationOnApprovalDeletion": { "$ref": "#/definitions/ApprovalPolicy", - "description": "Notification will be sent on deletion of an Approval Request" + "description": "Notification will be sent on deletion of an Approval Request", + "x-ms-mutability": [ + "read", + "create" + ] }, "mandatoryApprovers": { "type": "array", @@ -3985,13 +4075,33 @@ "minimumApproversRequired": { "type": "integer", "format": "int64", - "description": "Minimum number of approvers required for the approval request" + "description": "Minimum number of approvers required for the approval request", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "ApprovalSettingsPatchProperties": { + "type": "object", + "description": "ApprovalSettings Properties", + "properties": { + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/MandatoryApprover" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] } } }, "ApprovalStatus": { "type": "string", - "description": "Approval Status Enum", + "description": "Approval Status. It can be Approved, Rejected, Pending, Deleted or Expired.", "enum": [ "Approved", "Rejected", @@ -4037,7 +4147,7 @@ "properties": { "approverEntraId": { "type": "string", - "description": "EntraId of the approver" + "description": "Entra ObjectID of the approver" }, "actionPerformed": { "$ref": "#/definitions/ActionPerformed", @@ -4051,7 +4161,6 @@ }, "required": [ "approverEntraId", - "actionPerformed", "lastUpdatedAt" ] }, @@ -4064,19 +4173,14 @@ "description": "Managed service identity (system assigned and/or user assigned identities)", "properties": { "type": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentityType", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", "description": "The type of managed identity assigned to this resource." }, "userAssignedIdentities": { "type": "object", "description": "The identities assigned to this resource by the user.", "additionalProperties": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/UserAssignedIdentity" - } - ], - "type": "object", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", "x-nullable": true } } @@ -4091,7 +4195,7 @@ "description": "Resource Id of the Community" }, "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", + "$ref": "#/definitions/EnclaveVirtualNetworkModel", "description": "Information about the enclave virtual network" } }, @@ -4117,18 +4221,6 @@ "type": "object", "description": "Base type for destination rules.", "properties": { - "name": { - "type": "string", - "description": "Endpoint Rule Name." - }, - "destination": { - "type": "string", - "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." - }, - "port": { - "type": "string", - "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, "destinationType": { "$ref": "#/definitions/DestinationType", "description": "Destination Type." @@ -4143,15 +4235,27 @@ "transitHubResourceId": { "$ref": "#/definitions/TransitHubResourceId", "description": "Transit Hub Resource Id." + }, + "name": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "port": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." } } }, - "CommunityEndpointPatchResource": { + "CommunityEndpointPatchModel": { "type": "object", "description": "Community Endpoint Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateCommunityEndpointPatchProperties", + "$ref": "#/definitions/CommunityEndpointPatchProperties", "description": "Community Endpoint Patch properties" }, "tags": { @@ -4163,6 +4267,20 @@ } } }, + "CommunityEndpointPatchProperties": { + "type": "object", + "description": "Community Endpoint patchable Properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + } + } + }, "CommunityEndpointProperties": { "type": "object", "description": "Community Endpoint Resource properties", @@ -4180,7 +4298,8 @@ "description": "List of resource ids created by community endpoint.", "items": { "type": "string" - } + }, + "readOnly": true }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -4264,7 +4383,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4289,12 +4408,12 @@ "value" ] }, - "CommunityPatchResource": { + "CommunityPatchModel": { "type": "object", "description": "Community Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateCommunityPatchProperties", + "$ref": "#/definitions/CommunityPatchProperties", "description": "Community Patch properties" }, "tags": { @@ -4310,17 +4429,58 @@ } } }, + "CommunityPatchProperties": { + "type": "object", + "description": "Community Resource Properties without default values", + "properties": { + "dnsServers": { + "type": "array", + "description": "DNS Servers.", + "items": { + "type": "string" + } + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + }, + "x-ms-identifiers": [] + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + }, + "x-ms-identifiers": [] + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettingsPatchProperties", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationPatchModel", + "description": "Maintenance Mode configuration." + } + } + }, "CommunityProperties": { "type": "object", "description": "Community Resource Properties", "properties": { "addressSpace": { "type": "string", - "description": "Address Space." + "description": "Address Space.", + "x-ms-mutability": [ + "read", + "create" + ] }, "dnsServers": { "type": "array", - "description": "Dns Servers.", + "description": "DNS Servers.", "items": { "type": "string" } @@ -4340,28 +4500,31 @@ }, "managedResourceGroupConfiguration": { "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." + "description": "Managed resource group name.", + "readOnly": true }, "governedServiceList": { "type": "array", "description": "List of services governed by a community.", "items": { "$ref": "#/definitions/GovernedServiceItem" - } - }, + }, + "x-ms-identifiers": [] + }, "communityRoleAssignments": { "type": "array", "description": "Community role assignments", "items": { "$ref": "#/definitions/RoleAssignmentItem" - } + }, + "x-ms-identifiers": [] }, "approvalSettings": { "$ref": "#/definitions/ApprovalSettings", "description": "Approval requirements for various actions on the community's resources." }, "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", + "$ref": "#/definitions/MaintenanceModeConfigurationModel", "description": "Maintenance Mode configuration." } } @@ -4376,13 +4539,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4500,7 +4663,7 @@ ] } }, - "EnclaveAddressSpaces": { + "EnclaveAddressSpacesModel": { "type": "object", "description": "Enclave Address Spaces", "properties": { @@ -4514,12 +4677,12 @@ } } }, - "EnclaveConnectionPatchResource": { + "EnclaveConnectionPatchModel": { "type": "object", "description": "Enclave Connection Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateEnclaveConnectionPatchProperties", + "$ref": "#/definitions/EnclaveConnectionPatchProperties", "description": "Enclave Connection Patch properties" }, "tags": { @@ -4531,21 +4694,40 @@ } } }, + "EnclaveConnectionPatchProperties": { + "type": "object", + "description": "Enclave Connection patchable Properties", + "properties": { + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + } + } + }, "EnclaveConnectionProperties": { "type": "object", "description": "Enclave Connection Resource properties", "properties": { "state": { "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." + "description": "The state of the enclaveConnection.", + "readOnly": true }, "communityResourceId": { "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." + "description": "Community Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "sourceResourceId": { "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." + "description": "Source Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "sourceCidr": { "type": "string", @@ -4553,11 +4735,19 @@ }, "ipGroup": { "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." + "description": "Source IP group Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "destinationEndpointId": { "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." + "description": "Destination Endpoint Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -4569,7 +4759,8 @@ "description": "List of resource ids modified by enclave Connections.", "items": { "type": "string" - } + }, + "readOnly": true } }, "required": [ @@ -4590,7 +4781,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4684,25 +4875,65 @@ ] } }, - "EnclaveDefaultSettings": { + "EnclaveDefaultSettingsModel": { "type": "object", "description": "Virtual Enclave Default Settings", "properties": { "keyVaultResourceId": { "$ref": "#/definitions/KeyVaultResourceId", - "description": "Key Vault Resource Id." + "description": "Key Vault Resource Id.", + "readOnly": true }, "storageAccountResourceId": { "$ref": "#/definitions/StorageAccountResourceId", - "description": "Storage Account Resource Id." + "description": "Storage Account Resource Id.", + "readOnly": true }, "logAnalyticsResourceIdCollection": { "type": "array", "description": "Log Analytics Resource Ids.", "items": { "$ref": "#/definitions/LogAnalyticsResourceId" - } + }, + "readOnly": true }, + "diagnosticDestination": { + "type": "string", + "description": "Diagnostic Destination.", + "default": "EnclaveOnly", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + } + } + }, + "EnclaveDefaultSettingsPatchModel": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { "diagnosticDestination": { "$ref": "#/definitions/DiagnosticDestination", "description": "Diagnostic Destination." @@ -4713,6 +4944,13 @@ "type": "object", "description": "Enclave Endpoint Rule Properties", "properties": { + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + }, "name": { "type": "string", "description": "Endpoint Rule Name." @@ -4724,22 +4962,15 @@ "port": { "type": "string", "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." - }, - "protocols": { - "type": "array", - "description": "Protocols. Options specified by Endpoint Protocol Enum.", - "items": { - "$ref": "#/definitions/EnclaveEndpointProtocol" - } } } }, - "EnclaveEndpointPatchResource": { + "EnclaveEndpointPatchModel": { "type": "object", "description": "Enclave Endpoint Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateEnclaveEndpointPatchProperties", + "$ref": "#/definitions/EnclaveEndpointPatchProperties", "description": "Enclave Endpoint Patch properties" }, "tags": { @@ -4751,6 +4982,20 @@ } } }, + "EnclaveEndpointPatchProperties": { + "type": "object", + "description": "Enclave Endpoint patchable Properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + } + } + }, "EnclaveEndpointProperties": { "type": "object", "description": "Enclave Endpoint Resource properties", @@ -4768,7 +5013,8 @@ "description": "List of resource ids created by community endpoint.", "items": { "type": "string" - } + }, + "readOnly": true }, "provisioningState": { "$ref": "#/definitions/ProvisioningState", @@ -4840,7 +5086,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4875,13 +5121,13 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", "description": "The managed service identities assigned to this resource." } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -4906,7 +5152,7 @@ "value" ] }, - "EnclaveVirtualNetwork": { + "EnclaveVirtualNetworkModel": { "type": "object", "description": "Enclave Virtual Network Properties", "properties": { @@ -4916,26 +5162,45 @@ }, "networkSize": { "type": "string", - "description": "Network Size." + "description": "Network Size.", + "x-ms-mutability": [ + "read", + "create" + ] }, "customCidrRange": { "type": "string", - "description": "Custom CIDR Range." + "description": "Custom CIDR Range.", + "x-ms-mutability": [ + "read", + "create" + ] }, "subnetConfigurations": { "type": "array", "description": "Subnet Configurations.", "items": { "$ref": "#/definitions/SubnetConfiguration" - } + }, + "x-ms-identifiers": [] }, "allowSubnetCommunication": { "type": "boolean", - "description": "Allow Subnet Communication." + "description": "Allow Subnet Communication.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] }, "connectToAzureServices": { "type": "boolean", - "description": "Connect to Azure Services (True or False)." + "description": "Connect to Azure Services (True or False).", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] } } }, @@ -4945,16 +5210,16 @@ "properties": { "id": { "$ref": "#/definitions/ServiceIdentifier", - "description": "service id" + "description": "Service ID" }, "name": { "type": "string", - "description": "service name", + "description": "Service name.", "readOnly": true }, "option": { "type": "string", - "description": "governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "description": "Governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", "enum": [ "Allow", "Deny", @@ -4967,7 +5232,7 @@ }, "enforcement": { "type": "string", - "description": "initiative enforcement (Enabled or Disabled).", + "description": "Initiative enforcement (Enabled or Disabled).", "enum": [ "Enabled", "Disabled" @@ -4978,11 +5243,11 @@ }, "auditOnly": { "type": "boolean", - "description": "policies set to auditOnly (True or False)." + "description": "Policies set to auditOnly (True or False)." }, "initiatives": { "type": "array", - "description": "initiatives associated with this service", + "description": "Initiatives associated with this service.", "items": { "type": "string" }, @@ -5005,39 +5270,6 @@ ] } }, - "InitiatorCallbackRequest": { - "type": "object", - "description": "Request body for calling post-action", - "properties": { - "approvalStatus": { - "type": "string", - "description": "Approval status indicating 'Approved' or 'Rejected'", - "enum": [ - "Approved", - "Rejected" - ], - "x-ms-enum": { - "modelAsString": true - } - } - }, - "required": [ - "approvalStatus" - ] - }, - "InitiatorCallbackResponse": { - "type": "object", - "description": "Response body after handling of approvalCallbackRequest", - "properties": { - "message": { - "type": "string", - "description": "Confirmation message indicating the result of the operation." - } - }, - "required": [ - "message" - ] - }, "KeyVaultResourceId": { "type": "string", "format": "arm-id", @@ -5062,17 +5294,20 @@ ] } }, - "MaintenanceModeConfiguration": { + "MaintenanceModeConfigurationModel": { "type": "object", "description": "Maintenance Mode", "properties": { "mode": { "type": "string", "description": "Current mode of Maintenance Mode Configuration", + "default": "Off", "enum": [ "On", "CanNotDelete", - "Off" + "Off", + "General", + "Advanced" ], "x-ms-enum": { "modelAsString": true @@ -5081,6 +5316,7 @@ "principals": { "type": "array", "description": "The user, group or service principal object affected by Maintenance Mode", + "default": [], "items": { "$ref": "#/definitions/Principal" } @@ -5088,6 +5324,7 @@ "justification": { "type": "string", "description": "Justification for entering or exiting Maintenance Mode", + "default": "Off", "enum": [ "Networking", "Governance", @@ -5102,9 +5339,9 @@ "mode" ] }, - "MaintenanceModeConfigurationUpdate": { + "MaintenanceModeConfigurationPatchModel": { "type": "object", - "description": "Maintenance Mode", + "description": "Maintenance Mode Patch Model", "properties": { "mode": { "type": "string", @@ -5112,7 +5349,9 @@ "enum": [ "On", "CanNotDelete", - "Off" + "Off", + "General", + "Advanced" ], "x-ms-enum": { "modelAsString": true @@ -5216,12 +5455,9 @@ "Failed", "Canceled", "Accepted", - "Created", "Creating", - "Deleted", "Deleting", "NotSpecified", - "Ready", "Running", "Updating" ], @@ -5249,21 +5485,11 @@ "value": "Accepted", "description": "Provisioning State Type Accepted" }, - { - "name": "Created", - "value": "Created", - "description": "Provisioning State Type Created" - }, { "name": "Creating", "value": "Creating", "description": "Provisioning State Type Creating" }, - { - "name": "Deleted", - "value": "Deleted", - "description": "Provisioning State Type Deleted" - }, { "name": "Deleting", "value": "Deleting", @@ -5274,11 +5500,6 @@ "value": "NotSpecified", "description": "Provisioning State Type NotSpecified" }, - { - "name": "Ready", - "value": "Ready", - "description": "Provisioning State Type Ready" - }, { "name": "Running", "value": "Running", @@ -5301,10 +5522,6 @@ "type": "string", "description": "Resource Action of the item being approved or declined." }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - }, "approvalCallbackRoute": { "type": "string", "description": "Route name for the approval callback" @@ -5312,24 +5529,63 @@ "approvalCallbackPayload": { "type": "string", "description": "Payload to be sent upon any action on approval request" + }, + "approvalStatus": { + "type": "string", + "description": "Status of the approval. Uses ApprovalStatus enum.", + "default": "Pending", + "enum": [ + "Approved", + "Rejected", + "Pending", + "Deleted", + "Expired" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "ApprovalStatus Type Deleted" + }, + { + "name": "Expired", + "value": "Expired", + "description": "ApprovalStatus Type Expired" + } + ] + } } }, "required": [ "resourceAction" ] }, - "RequestMetadataUpdate": { + "RequestMetadataUpdatableProperties": { "type": "object", - "description": "Request Metadata for approvals request.", + "description": "Request Metadata patch properties.", "properties": { "resourceAction": { "type": "string", "description": "Resource Action of the item being approved or declined." }, - "approvalStatus": { - "$ref": "#/definitions/ApprovalStatus", - "description": "Approval status." - }, "approvalCallbackRoute": { "type": "string", "description": "Route name for the approval callback" @@ -5337,6 +5593,10 @@ "approvalCallbackPayload": { "type": "string", "description": "Payload to be sent upon any action on approval request" + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Status of the approval. Uses ApprovalStatus enum." } } }, @@ -5484,7 +5744,7 @@ }, "id": { "$ref": "#/definitions/SubnetResourceId", - "description": "Subnet ID.", + "description": "Subnet Resource ID.", "readOnly": true }, "networkPrefixSize": { @@ -5524,12 +5784,12 @@ ] } }, - "TransitHubPatchResource": { + "TransitHubPatchModel": { "type": "object", "description": "TH Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateTransitHubPatchProperties", + "$ref": "#/definitions/TransitHubPatchProperties", "description": "The TransitHub resource." }, "tags": { @@ -5541,6 +5801,20 @@ } } }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Transit Hub patchable Properties", + "properties": { + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + } + } + }, "TransitHubProperties": { "type": "object", "description": "Describes the properties of an Transit Hub.", @@ -5563,7 +5837,8 @@ "description": "List of resource ids modified by transitHubs.", "items": { "type": "string" - } + }, + "readOnly": true } } }, @@ -5579,7 +5854,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, @@ -5717,229 +5992,35 @@ ] } }, - "UpdateApprovalProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "parent1": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "parent2": { - "type": "string", - "description": "Parameter for optimizing query results" - }, - "requestMetadata": { - "$ref": "#/definitions/RequestMetadataUpdate", - "description": "Request metadata for the approval request." - }, - "approvers": { - "type": "array", - "description": "List of approvers for the approval request", - "items": { - "$ref": "#/definitions/Approver" - }, - "x-ms-identifiers": [ - "approverEntraId" - ] - }, - "ticketId": { - "type": "string", - "description": "Ticket ID for the approval request" - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "Approval request creation time" - }, - "stateChangedAt": { - "type": "string", - "format": "date-time", - "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." - } - } - }, - "UpdateCommunityEndpointPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Community Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/CommunityEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - } - } - }, - "UpdateCommunityPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "addressSpace": { - "type": "string", - "description": "Address Space." - }, - "dnsServers": { - "type": "array", - "description": "Dns Servers.", - "items": { - "type": "string" - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "governedServiceList": { - "type": "array", - "description": "List of services governed by a community.", - "items": { - "$ref": "#/definitions/GovernedServiceItem" - } - }, - "communityRoleAssignments": { - "type": "array", - "description": "Community role assignments", - "items": { - "$ref": "#/definitions/RoleAssignmentItem" - } - }, - "approvalSettings": { - "$ref": "#/definitions/ApprovalSettings", - "description": "Approval requirements for various actions on the community's resources." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - } - } - }, - "UpdateEnclaveConnectionPatchProperties": { + "VirtualEnclavePatchModel": { "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "description": "Virtual Enclave Patch Model", "properties": { - "state": { - "$ref": "#/definitions/EnclaveConnectionState", - "description": "The state of the enclaveConnection." - }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "sourceResourceId": { - "$ref": "#/definitions/EnclaveConnectionSourceResourceId", - "description": "Source Resource Id." - }, - "sourceCidr": { - "type": "string", - "description": "Source CIDR." - }, - "ipGroup": { - "$ref": "#/definitions/IPGroupResourceId", - "description": "Source IP group Resource Id." - }, - "destinationEndpointId": { - "$ref": "#/definitions/DestinationEndpointResourceId", - "description": "Destination Endpoint Resource Id." - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by enclave Connections.", - "items": { - "type": "string" - } - } - } - }, - "UpdateEnclaveEndpointPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "ruleCollection": { - "type": "array", - "description": "Enclave Endpoint Rule Collection.", - "items": { - "$ref": "#/definitions/EnclaveEndpointDestinationRule" - }, - "x-ms-identifiers": [] - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by community endpoint.", - "items": { - "type": "string" - } - } - } - }, - "UpdateTransitHubPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "The status of the last operation.", - "readOnly": true - }, - "state": { - "$ref": "#/definitions/TransitHubState", - "description": "The state of the transitHub." + "properties": { + "$ref": "#/definitions/VirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" }, - "transitOption": { - "$ref": "#/definitions/TransitOption", - "description": "The TransitOption of the transitHub." + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids modified by transitHubs.", - "items": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { "type": "string" } } } }, - "UpdateVirtualEnclavePatchProperties": { + "VirtualEnclavePatchProperties": { "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", + "description": "Virtual Enclave Patchable Properties", "properties": { "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", + "$ref": "#/definitions/EnclaveVirtualNetworkModel", "description": "Virtual Network." }, - "communityResourceId": { - "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" - }, - "resourceCollection": { - "type": "array", - "description": "List of resource ids created by Virtual Enclave.", - "items": { - "type": "string", - "format": "arm-id", - "description": "A type definition that refers the id to an Azure Resource Manager resource." - } - }, - "managedResourceGroupConfiguration": { - "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfigurationUpdate", - "description": "Maintenance Mode configuration." - }, "bastionEnabled": { "type": "boolean", "description": "Deploy Bastion service (True or False)." @@ -5949,53 +6030,24 @@ "description": "Enclave role assignments", "items": { "$ref": "#/definitions/RoleAssignmentItem" - } + }, + "x-ms-identifiers": [] }, "workloadRoleAssignments": { "type": "array", "description": "Workload role assignments", "items": { "$ref": "#/definitions/RoleAssignmentItem" - } - } - } - }, - "UpdateWorkloadPatchProperties": { - "type": "object", - "description": "A copy of the input model `T` with only the properties that are visible during the\n\"Update\" resource lifecycle phase.\n\nThe \"Update\" lifecycle phase is used for properties passed as parameters to operations\nthat update data, like HTTP PATCH operations.\n\nThis transformation will include only the properties that have the `Lifecycle.Update`\nvisibility modifier, and the types of all properties will be replaced with the\nequivalent `CreateOrUpdate` transformation.\n\nIf a `NameTemplate` is provided, the new model will be named according to the template.\nThe template uses the same syntax as the `@friendlyName` decorator.", - "properties": { - "provisioningState": { - "$ref": "#/definitions/ProvisioningState", - "description": "Provisioning State.", - "readOnly": true - }, - "resourceGroupCollection": { - "type": "array", - "description": "List of resource group ids.", - "items": { - "type": "string" - } - } - } - }, - "VirtualEnclavePatchResource": { - "type": "object", - "description": "Virtual Enclave Patch Resource", - "properties": { - "properties": { - "$ref": "#/definitions/UpdateVirtualEnclavePatchProperties", - "description": "Virtual Enclave Patch properties" + }, + "x-ms-identifiers": [] }, - "identity": { - "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", - "description": "The managed service identities assigned to this resource." + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettingsPatchModel", + "description": "Enclave default settings." }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationPatchModel", + "description": "Maintenance Mode configuration." } } }, @@ -6009,21 +6061,21 @@ "readOnly": true }, "enclaveVirtualNetwork": { - "$ref": "#/definitions/EnclaveVirtualNetwork", + "$ref": "#/definitions/EnclaveVirtualNetworkModel", "description": "Virtual Network." }, "enclaveAddressSpaces": { - "$ref": "#/definitions/EnclaveAddressSpaces", + "$ref": "#/definitions/EnclaveAddressSpacesModel", "description": "Enclave Address Spaces", "readOnly": true }, "communityResourceId": { "$ref": "#/definitions/CommunityResourceId", - "description": "Community Resource Id." - }, - "enclaveDefaultSettings": { - "$ref": "#/definitions/EnclaveDefaultSettings", - "description": "Default Settings" + "description": "Community Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] }, "resourceCollection": { "type": "array", @@ -6032,33 +6084,42 @@ "type": "string", "format": "arm-id", "description": "A type definition that refers the id to an Azure Resource Manager resource." - } + }, + "readOnly": true }, "managedResourceGroupConfiguration": { "$ref": "#/definitions/ManagedResourceGroupConfiguration", - "description": "Managed resource group configuration." - }, - "maintenanceModeConfiguration": { - "$ref": "#/definitions/MaintenanceModeConfiguration", - "description": "Maintenance Mode configuration." + "description": "Managed resource group name.", + "readOnly": true }, "bastionEnabled": { "type": "boolean", - "description": "Deploy Bastion service (True or False)." + "description": "Deploy Bastion service (True or False).", + "default": false }, "enclaveRoleAssignments": { "type": "array", "description": "Enclave role assignments", "items": { "$ref": "#/definitions/RoleAssignmentItem" - } + }, + "x-ms-identifiers": [] }, "workloadRoleAssignments": { "type": "array", "description": "Workload role assignments", "items": { "$ref": "#/definitions/RoleAssignmentItem" - } + }, + "x-ms-identifiers": [] + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettingsModel", + "description": "Enclave default settings." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationModel", + "description": "Maintenance Mode configuration." } }, "required": [ @@ -6078,12 +6139,12 @@ ] } }, - "WorkloadPatchResource": { + "WorkloadPatchModel": { "type": "object", "description": "Workload Patch Resource", "properties": { "properties": { - "$ref": "#/definitions/UpdateWorkloadPatchProperties", + "$ref": "#/definitions/WorkloadPatchProperties", "description": "Workload Patch properties" }, "tags": { @@ -6095,6 +6156,19 @@ } } }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload patchable Properties", + "properties": { + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, "WorkloadProperties": { "type": "object", "description": "Workload Resource properties", @@ -6125,7 +6199,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ] }, diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_CreateOrUpdate.json new file mode 100644 index 000000000000..1702fbcb86c0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_CreateOrUpdate.json @@ -0,0 +1,108 @@ +{ + "title": "Approval_CreateOrUpdate", + "operationId": "Approval_CreateOrUpdate", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "resource": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Delete.json new file mode 100644 index 000000000000..a9c7932ab133 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Approval_Delete", + "operationId": "Approval_Delete", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Get.json new file mode 100644 index 000000000000..7671d4fcaf26 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Get.json @@ -0,0 +1,49 @@ +{ + "title": "Approval_Get", + "operationId": "Approval_Get", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_ListByParent.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_ListByParent.json new file mode 100644 index 000000000000..3731127bccf8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_ListByParent.json @@ -0,0 +1,54 @@ +{ + "title": "Approval_ListByParent", + "operationId": "Approval_ListByParent", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_NotifyInitiator.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_NotifyInitiator.json new file mode 100644 index 000000000000..d3d36460b706 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_NotifyInitiator.json @@ -0,0 +1,28 @@ +{ + "title": "Approval_NotifyInitiator", + "operationId": "Approval_NotifyInitiator", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "body": { + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approved" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Update.json new file mode 100644 index 000000000000..f8e351bad5aa --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Approvals_Update.json @@ -0,0 +1,75 @@ +{ + "title": "Approval_Update", + "operationId": "Approval_Update", + "parameters": { + "resourceUri": "subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "approvalName": "TestApprovals", + "properties": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "parentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "grandparentResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "requestMetadata": { + "resourceAction": "string", + "approvalStatus": "Approved", + "approvalCallbackRoute": "approvalCallback", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + }, + "approvers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000", + "actionPerformed": "Approved", + "lastUpdatedAt": "2023-03-17T20:43:17.760Z" + } + ], + "ticketId": "string", + "createdAt": "2023-03-17T20:43:17.760Z", + "stateChangedAt": "2023-03-17T20:43:17.760Z" + }, + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/approvals/TestApprovals", + "name": "TestApprovals", + "type": "Microsoft.Mission/approvals", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..f23136d9b04c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_CreateOrUpdate.json @@ -0,0 +1,101 @@ +{ + "title": "CommunityEndpoints_CreateOrUpdate", + "operationId": "CommunityEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communties/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDNTag", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Delete.json new file mode 100644 index 000000000000..9ac8f8bc2efa --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "CommunityEndpoints_Delete", + "operationId": "CommunityEndpoints_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Get.json new file mode 100644 index 000000000000..4b83dff5f614 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Get.json @@ -0,0 +1,46 @@ +{ + "title": "CommunityEndpoints_Get", + "operationId": "CommunityEndpoints_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_HandleApprovalCreation.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_HandleApprovalCreation.json new file mode 100644 index 000000000000..155a47cf5b19 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_HandleApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "CommunityEndpoints_HandleApprovalCreation", + "title": "CommunityEndpoints_HandleApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_HandleApprovalDeletion.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_HandleApprovalDeletion.json new file mode 100644 index 000000000000..375a5696ee50 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_HandleApprovalDeletion.json @@ -0,0 +1,28 @@ +{ + "operationId": "CommunityEndpoints_HandleApprovalDeletion", + "title": "CommunityEndpoints_HandleApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json new file mode 100644 index 000000000000..51dc1eb1fc53 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_ListByCommunityResource.json @@ -0,0 +1,51 @@ +{ + "title": "CommunityEndpoints_ListByCommunityResource", + "operationId": "CommunityEndpoints_ListByCommunityResource", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..0749671de2ae --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_ListBySubscription.json @@ -0,0 +1,50 @@ +{ + "title": "CommunityEndpoints_ListBySubscription", + "operationId": "CommunityEndpoints_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Update.json new file mode 100644 index 000000000000..32b15252d104 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/CommunityEndpoints_Update.json @@ -0,0 +1,70 @@ +{ + "title": "CommunityEndpoints_Update", + "operationId": "CommunityEndpoints_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "communityEndpointName": "TestMyCommunityEndpoint", + "location": "westcentralus", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "destinationType": "FQDN", + "destination": "foo.example.com", + "ports": "443", + "protocols": [ + "TCP" + ], + "transitHubResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName" + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity/communityendpoints/TestMyCommunityEndpoint", + "name": "TestMyCommunityEndpoint", + "type": "Microsoft.Mission/communities/communityendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_CreateOrUpdate.json new file mode 100644 index 000000000000..3ea457166f98 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_CreateOrUpdate.json @@ -0,0 +1,613 @@ +{ + "title": "Community_CreateOrUpdate", + "operationId": "Community_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "approvalSettings": { + "endpointCreation": "NotRequired", + "endpointUpdate": "Required", + "endpointDeletion": "NotRequired", + "connectionCreation": "Required", + "connectionUpdate": "Required", + "connectionDeletion": "NotRequired", + "enclaveCreation": "NotRequired", + "enclaveDeletion": "NotRequired", + "maintenanceMode": "NotRequired", + "serviceCatalogDeployment": "NotRequired", + "notificationOnApprovalCreation": "NotRequired", + "notificationOnApprovalAction": "NotRequired", + "notificationOnApprovalDeletion": "NotRequired", + "mandatoryApprovers": [ + { + "approverEntraId": "00000000-0000-0000-0000-000000000000" + } + ], + "minimumApproversRequired": 0 + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "firewallSku": "Standard" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + } + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Delete.json new file mode 100644 index 000000000000..e13386220130 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Delete.json @@ -0,0 +1,24 @@ +{ + "title": "Community_Delete", + "operationId": "Community_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Get.json new file mode 100644 index 000000000000..8516f1251435 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Get.json @@ -0,0 +1,236 @@ +{ + "title": "Community_Get", + "operationId": "Community_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "managedOnBehalfOfConfiguration": { + "moboBrokerResources": [ + { + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Resources/moboBrokers/bnthrkwfkfeorrzvtdxbfz" + } + ] + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "firewallSku": "Standard" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_ListByResourceGroup.json new file mode 100644 index 000000000000..d347bda7c5b6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_ListByResourceGroup.json @@ -0,0 +1,233 @@ +{ + "title": "Community_ListByResourceGroup", + "operationId": "Community_ListByResourceGroup", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "firewallSku": "Standard" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_ListBySubscription.json new file mode 100644 index 000000000000..029b19a271b4 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_ListBySubscription.json @@ -0,0 +1,232 @@ +{ + "title": "Community_ListBySubscription", + "operationId": "Community_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "firewallSku": "Standard" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json new file mode 100644 index 000000000000..631ad19dc6d5 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_PostCheckAddressSpaceAvailability.json @@ -0,0 +1,32 @@ +{ + "operationId": "Community_CheckAddressSpaceAvailability", + "title": "Community_CheckAddressSpaceAvailability", + "parameters": { + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "checkAddressSpaceAvailabilityRequest": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/communities/TestMyCommunity", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + } + }, + "api-version": "2025-05-01-preview" + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "value": true + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Update.json new file mode 100644 index 000000000000..d3dc1f69d98b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Community_Update.json @@ -0,0 +1,358 @@ +{ + "title": "Community_Update", + "operationId": "Community_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "location": "westcentralus", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "dnsServers": [ + "azure.net" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "AppService", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "ContainerRegistry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "KeyVault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "MicrosoftSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "ServiceBus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "AzureFirewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "PrivateDNSZones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + }, + { + "serviceId": "DataConnectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None" + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "addressSpace": "10.0.0.0/24", + "dnsServers": [ + "azure.net" + ], + "provisioningState": "Succeeded", + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "governedServiceList": [ + { + "serviceId": "AKS", + "serviceName": "AKS", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "d300338e-65d1-4be3-b18e-fb4ce5715a8f" + ] + }, + { + "serviceId": "AppService", + "serviceName": "App Service", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "528d78c5-246c-4f26-ade6-d30798705411" + ] + }, + { + "serviceId": "ContainerRegistry", + "serviceName": "Container Registry", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "b3fe25eb-cdc6-475f-96a5-04ac270f630d" + ] + }, + { + "serviceId": "CosmosDB", + "serviceName": "CosmosDB", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "6bd484ca-ae8d-46cf-9b33-e1feef84bfba" + ] + }, + { + "serviceId": "KeyVault", + "serviceName": "Key Vault", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "4f4dba0f-a5ee-494b-8df7-f9727dea6f37" + ] + }, + { + "serviceId": "MicrosoftSQL", + "serviceName": "Microsoft SQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0fbe78a5-1722-4f1b-83a5-89c14151fa60" + ] + }, + { + "serviceId": "Monitoring", + "serviceName": "Monitoring", + "option": "Not Applicable", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "0a9ea1cb-7925-47fc-b0fe-8bb0a8190423" + ] + }, + { + "serviceId": "PostgreSQL", + "serviceName": "PostgreSQL", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "5eaa16b4-81f2-4354-aef3-2d77288e396e" + ] + }, + { + "serviceId": "ServiceBus", + "serviceName": "Service Bus", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "8fcdb3f1-1369-426d-9917-81edfee903ab" + ] + }, + { + "serviceId": "Storage", + "serviceName": "Storage", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [ + "ca122c06-05f6-4423-9018-ccb523168eb2" + ] + }, + { + "serviceId": "AzureFirewalls", + "serviceName": "Azure Firewalls", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Insights", + "serviceName": "Insights", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "Logic", + "serviceName": "Logic", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "PrivateDNSZones", + "serviceName": "Private DNS Zones", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + }, + { + "serviceId": "DataConnectors", + "serviceName": "Data Connectors", + "option": "Allow", + "enforcement": "Enabled", + "policyAction": "None", + "initiatives": [] + } + ], + "communityRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "name": "TestMyCommunity", + "type": "Microsoft.Mission/communities", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_CreateOrUpdate.json new file mode 100644 index 000000000000..412be8b1325c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_CreateOrUpdate.json @@ -0,0 +1,79 @@ +{ + "title": "EnclaveConnection_CreateOrUpdate", + "operationId": "EnclaveConnection_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "resource": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Delete.json new file mode 100644 index 000000000000..5a5016453bd3 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Delete.json @@ -0,0 +1,24 @@ +{ + "title": "EnclaveConnection_Delete", + "operationId": "EnclaveConnection_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Get.json new file mode 100644 index 000000000000..a74c4d9dbd25 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Get.json @@ -0,0 +1,38 @@ +{ + "title": "EnclaveConnection_Get", + "operationId": "EnclaveConnection_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_HandleApprovalCreation.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_HandleApprovalCreation.json new file mode 100644 index 000000000000..999f24d0bbab --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_HandleApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveConnection_HandleApprovalCreation", + "title": "EnclaveConnection_HandleApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_HandleApprovalDeletion.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_HandleApprovalDeletion.json new file mode 100644 index 000000000000..e35266d7164e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_HandleApprovalDeletion.json @@ -0,0 +1,27 @@ +{ + "operationId": "EnclaveConnection_HandleApprovalDeletion", + "title": "EnclaveConnection_HandleApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_ListByResourceGroup.json new file mode 100644 index 000000000000..95b5e5871696 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "title": "EnclaveConnection_ListByResourceGroup", + "operationId": "EnclaveConnection_ListByResourceGroup", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_ListBySubscription.json new file mode 100644 index 000000000000..8c13c3e5dde0 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "title": "EnclaveConnection_ListBySubscription", + "operationId": "EnclaveConnection_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "enclaveConnectionName": "TestMyEnclaveConnection" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Update.json new file mode 100644 index 000000000000..2b57864d6245 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveConnection_Update.json @@ -0,0 +1,52 @@ +{ + "title": "EnclaveConnection_Update", + "operationId": "EnclaveConnection_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "enclaveConnectionName": "TestMyEnclaveConnection", + "location": "westcentralus", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "sourceCidr": "10.0.0.0/24" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity", + "sourceResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "sourceCidr": "10.0.0.0/24", + "destinationEndpointId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/enclaveconnections/TestMyEnclaveConnection", + "name": "TestMyEnclaveConnection", + "type": "Microsoft.Mission/enclaveconnections", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json new file mode 100644 index 000000000000..4e149d60df2b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_CreateOrUpdate.json @@ -0,0 +1,98 @@ +{ + "title": "EnclaveEndpoints_CreateOrUpdate", + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "resource": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ] + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Delete.json new file mode 100644 index 000000000000..377e34864838 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "EnclaveEndpoints_Delete", + "operationId": "EnclaveEndpoints_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Get.json new file mode 100644 index 000000000000..5145968a4a03 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Get.json @@ -0,0 +1,45 @@ +{ + "title": "EnclaveEndpoints_Get", + "operationId": "EnclaveEndpoints_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint" + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_HandleApprovalCreation.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_HandleApprovalCreation.json new file mode 100644 index 000000000000..28b0bde02d9d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_HandleApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "EnclaveEndpoints_HandleApprovalCreation", + "title": "EnclaveEndpoints_HandleApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_HandleApprovalDeletion.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_HandleApprovalDeletion.json new file mode 100644 index 000000000000..91e93563ca47 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_HandleApprovalDeletion.json @@ -0,0 +1,28 @@ +{ + "operationId": "EnclaveEndpoints_HandleApprovalDeletion", + "title": "EnclaveEndpoints_HandleApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json new file mode 100644 index 000000000000..b87b85c3241f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_ListByEnclaveResource.json @@ -0,0 +1,49 @@ +{ + "title": "EnclaveEndpoints_ListByEnclaveResource", + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_ListBySubscription.json new file mode 100644 index 000000000000..1e21c255c11f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "EnclaveEndpoints_ListBySubscription", + "operationId": "EnclaveEndpoints_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Update.json new file mode 100644 index 000000000000..00af3b9261d1 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/EnclaveEndpoints_Update.json @@ -0,0 +1,68 @@ +{ + "title": "EnclaveEndpoints_Update", + "operationId": "EnclaveEndpoints_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "73CEECEF-2C30-488E-946F-D20F414D99BA", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "enclaveEndpointName": "TestMyEnclaveEndpoint", + "location": "westcentralus", + "properties": { + "tags": { + "sampletag": "samplevalue" + }, + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "ruleCollection": [ + { + "endpointRuleName": "54CEECEF-2C30-488E-946F-D20F414D99BA", + "destination": "10.0.0.0/24", + "ports": "443", + "protocols": [ + "TCP" + ] + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "sampletag": "samplevalue" + }, + "location": "West US", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Mission/virtualenclaves/TestMyEnclave/enclaveendpoints/TestMyEnclaveEndpoint", + "name": "TestMyEnclaveEndpoint", + "type": "Microsoft.Mission/virtualenclaves/enclaveendpoints", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Operations_List.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..c393ee7b2148 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Operations_List.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List", + "operationId": "Operations_List", + "parameters": { + "api-version": "2025-05-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "kribdpoznbvrjci", + "isDataAction": true, + "display": { + "provider": "usvnnruysydqdpwj", + "resource": "lrdjzltcbeoljosqrw", + "operation": "vdnitexr", + "description": "valid description goes here" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_CreateOrUpdate.json new file mode 100644 index 000000000000..0cf707c42dff --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_CreateOrUpdate.json @@ -0,0 +1,95 @@ +{ + "title": "TransitHub_CreateOrUpdate", + "operationId": "TransitHub_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "resource": { + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + } + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "zwwdhidevngwzo", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Delete.json new file mode 100644 index 000000000000..c341fc33825b --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "TransitHub_Delete", + "operationId": "TransitHub_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Get.json new file mode 100644 index 000000000000..6ef54f041dc8 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Get.json @@ -0,0 +1,45 @@ +{ + "title": "TransitHub_Get", + "operationId": "TransitHub_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_ListByCommunityResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_ListByCommunityResource.json new file mode 100644 index 000000000000..f32c8c97ef9c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_ListByCommunityResource.json @@ -0,0 +1,49 @@ +{ + "title": "TransitHub_ListByCommunityResource", + "operationId": "TransitHub_ListByCommunityResource", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithub", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_ListBySubscription.json new file mode 100644 index 000000000000..ab6b7cb7d621 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_ListBySubscription.json @@ -0,0 +1,48 @@ +{ + "title": "TransitHub_ListBySubscription", + "operationId": "TransitHub_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "communityName": "TestMyCommunity" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Update.json new file mode 100644 index 000000000000..f4ae5d09155d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/TransitHub_Update.json @@ -0,0 +1,65 @@ +{ + "title": "TransitHub_Update", + "operationId": "TransitHub_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "communityName": "TestMyCommunity", + "transitHubName": "TestThName", + "location": "westcentralus", + "properties": { + "tags": { + "key4278": "hjoxhwofxcshowbnafdrrzq" + }, + "properties": { + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "state": "PendingApproval", + "transitOption": { + "type": "ExpressRoute", + "params": { + "scaleUnits": 1 + } + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/testrg/providers/Microsoft.Mission/communities/TestMyCommunity/transitHubs/TestThName", + "name": "TestThName", + "type": "microsoft.mission/communities/transithubs", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_CreateOrUpdate.json new file mode 100644 index 000000000000..1e90860e1a5e --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_CreateOrUpdate.json @@ -0,0 +1,319 @@ +{ + "title": "VirtualEnclave_CreateOrUpdate", + "operationId": "VirtualEnclave_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "resource": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "diagnosticDestination": "Both" + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Delete.json new file mode 100644 index 000000000000..e42f4937e9e9 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Delete.json @@ -0,0 +1,24 @@ +{ + "title": "VirtualEnclave_Delete", + "operationId": "VirtualEnclave_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Get.json new file mode 100644 index 000000000000..a92b51d65224 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Get.json @@ -0,0 +1,135 @@ +{ + "title": "VirtualEnclave_Get", + "operationId": "VirtualEnclave_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "subnetResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true + }, + "managedOnBehalfOfConfiguration": { + "moboBrokerResources": [ + { + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Resources/moboBrokers/bnthrkwfkfeorrzvtdxbfz" + } + ] + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_HandleApprovalCreation.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_HandleApprovalCreation.json new file mode 100644 index 000000000000..a6c2b68c3e93 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_HandleApprovalCreation.json @@ -0,0 +1,29 @@ +{ + "operationId": "VirtualEnclave_HandleApprovalCreation", + "title": "VirtualEnclave_HandleApprovalCreation", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create", + "approvalStatus": "Approved", + "approvalCallbackPayload": "{\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n}" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_HandleApprovalDeletion.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_HandleApprovalDeletion.json new file mode 100644 index 000000000000..00339b028b6f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_HandleApprovalDeletion.json @@ -0,0 +1,27 @@ +{ + "operationId": "VirtualEnclave_HandleApprovalDeletion", + "title": "VirtualEnclave_HandleApprovalDeletion", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "body": { + "resourceRequestAction": "Create" + } + }, + "responses": { + "200": { + "description": "ARM operation completed successfully.", + "body": { + "message": "Approval state change handled successfully." + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_ListByResourceGroup.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_ListByResourceGroup.json new file mode 100644 index 000000000000..0dd4e5d4668d --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_ListByResourceGroup.json @@ -0,0 +1,132 @@ +{ + "title": "VirtualEnclave_ListByResourceGroup", + "operationId": "VirtualEnclave_ListByResourceGroup", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "subnetResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_ListBySubscription.json new file mode 100644 index 000000000000..5f87a97bc6bd --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_ListBySubscription.json @@ -0,0 +1,131 @@ +{ + "title": "VirtualEnclave_ListBySubscription", + "operationId": "VirtualEnclave_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "subnetResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "networkPrefixSize": 26, + "addressPrefix": "10.0.0.0/26", + "networkSecurityGroupResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "subnetDelegation": null + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Update.json new file mode 100644 index 000000000000..46b15bbf5498 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/VirtualEnclave_Update.json @@ -0,0 +1,214 @@ +{ + "title": "VirtualEnclave_Update", + "operationId": "VirtualEnclave_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "location": "westcentralus", + "properties": { + "tags": { + "Tag1": "Value1" + }, + "properties": { + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "enclaveDefaultSettings": { + "diagnosticDestination": "Both" + }, + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "SystemAssigned,UserAssigned", + "principalId": "1a2e532b-9900-414c-8600-cfc6126628d7", + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd", + "userAssignedIdentities": { + "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "principalId": "f4aa4954-a564-4933-a7e1-502019d807c2", + "clientId": "b82bf757-ee7f-4632-9df1-5e52a720fdd2" + } + } + }, + "properties": { + "provisioningState": "Succeeded", + "enclaveVirtualNetwork": { + "networkSize": "small", + "customCidrRange": "10.0.0.0/24", + "subnetConfigurations": [ + { + "subnetName": "test", + "networkPrefixSize": 26 + } + ], + "allowSubnetCommunication": true + }, + "communityResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/communities/TestMyCommunity", + "enclaveDefaultSettings": { + "keyVaultResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.KeyVault/vaults/TestMyKeyVault1", + "storageAccountResourceId": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Storage/storageAccounts/TestMyStorageAccount", + "logAnalyticsResourceIdCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA1", + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.OperationalInsights/workspaces/TestMyLogA2" + ], + "diagnosticDestination": "Both" + }, + "resourceCollection": [ + "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg" + ], + "maintenanceModeConfiguration": { + "mode": "Off", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ], + "justification": "Off" + }, + "bastionEnabled": true, + "enclaveRoleAssignments": [ + { + "roleDefinitionId": "b24988ac-6180-42a0-ab88-20f7382dd24c", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + }, + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c0", + "type": "User" + } + ] + }, + { + "roleDefinitionId": "18d7d88d-d35e-4fb5-a5c3-7773c20a72d9", + "principals": [ + { + "id": "355a6bb0-abc0-4cba-000d-12a345b678c9", + "type": "User" + } + ] + } + ], + "workloadRoleAssignments": [ + { + "roleDefinitionId": "d73bb868-a0df-4d4d-bd69-98a00b01fccb", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + }, + { + "roleDefinitionId": "fb879df8-f326-4884-b1cf-06f3ad86be52", + "principals": [ + { + "id": "01234567-89ab-ef01-2345-0123456789ab", + "type": "Group" + } + ] + } + ] + }, + "tags": { + "Tag1": "Value1" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave", + "name": "TestMyEnclave", + "type": "microsoft.mission/virtualenclaves", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_CreateOrUpdate.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_CreateOrUpdate.json new file mode 100644 index 000000000000..6f0ac2af23e6 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_CreateOrUpdate.json @@ -0,0 +1,71 @@ +{ + "title": "Workload_CreateOrUpdate", + "operationId": "Workload_CreateOrUpdate", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "resource": { + "properties": { + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus" + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Delete.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Delete.json new file mode 100644 index 000000000000..dc54a34b75e2 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Delete.json @@ -0,0 +1,25 @@ +{ + "title": "Workload_Delete", + "operationId": "Workload_Delete", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "204": {}, + "202": { + "headers": { + "Server": "nginx/1.21.6", + "Date": "Sat, 03 Dec 2022 01:39:21 GMT", + "Content-Length": "0", + "Connection": "keep-alive", + "x-ms-providerhub-traffic": "True", + "x-ms-request-id": "00000000-0000-0000-0000-000000000000", + "Azure-AsyncOperation": "https://foo.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Get.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Get.json new file mode 100644 index 000000000000..00425fbfb254 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Get.json @@ -0,0 +1,45 @@ +{ + "title": "Workload_Get", + "operationId": "Workload_Get", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ], + "managedOnBehalfOfConfiguration": { + "moboBrokerResources": [ + { + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/Microsoft.Resources/moboBrokers/bnthrkwfkfeorrzvtdxbfz" + } + ] + } + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_ListByEnclaveResource.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_ListByEnclaveResource.json new file mode 100644 index 000000000000..5dc42879932f --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_ListByEnclaveResource.json @@ -0,0 +1,42 @@ +{ + "title": "Workload_ListByEnclaveResource", + "operationId": "Workload_ListByEnclaveResource", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_ListBySubscription.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_ListBySubscription.json new file mode 100644 index 000000000000..c477c14af071 --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_ListBySubscription.json @@ -0,0 +1,41 @@ +{ + "title": "Workload_ListBySubscription", + "operationId": "Workload_ListBySubscription", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "virtualEnclaveName": "TestMyEnclave" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Update.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Update.json new file mode 100644 index 000000000000..22e96a7e53dc --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/examples/Workload_Update.json @@ -0,0 +1,54 @@ +{ + "title": "Workload_Update", + "operationId": "Workload_Update", + "parameters": { + "api-version": "2025-05-01-preview", + "subscriptionId": "CA1CB369-DD26-4DB2-9D43-9AFEF0F22093", + "resourceGroupName": "rgopenapi", + "virtualEnclaveName": "TestMyEnclave", + "workloadName": "TestMyWorkload", + "location": "westcentralus", + "properties": { + "tags": { + "key9465": "cylmdprdhhwpcdxpynwostvzytkryj" + }, + "properties": { + "resourceGroupCollection": [ + "g" + ] + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "resourceGroupCollection": [ + "g" + ] + }, + "tags": { + "TestKey": "TestValue" + }, + "location": "westcentralus", + "id": "/subscriptions/c64f6eca-bdc5-4bc2-88d6-f8f1dc23f86c/resourceGroups/TestMyRg/providers/microsoft.mission/virtualenclaves/TestMyEnclave/workloads/kxzylwqnmxtivpmupnlho", + "name": "kxzylwqnmxtivpmupnlho", + "type": "microsoft.mission/virtualenclaves/workloads", + "systemData": { + "createdBy": "myAlias", + "createdByType": "User", + "createdAt": "2023-03-17T20:43:17.760Z", + "lastModifiedBy": "myAlias", + "lastModifiedByType": "User", + "lastModifiedAt": "2023-03-17T20:43:17.760Z" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/openapi.json b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/openapi.json new file mode 100644 index 000000000000..1d3bc30aa01c --- /dev/null +++ b/specification/mission/resource-manager/Microsoft.Mission/preview/2025-05-01-preview/openapi.json @@ -0,0 +1,6328 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.Mission", + "version": "2025-05-01-preview", + "description": "Microsoft Mission Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "Workload" + }, + { + "name": "VirtualEnclave" + }, + { + "name": "Community" + }, + { + "name": "TransitHub" + }, + { + "name": "EnclaveConnection" + }, + { + "name": "EnclaveEndpoints" + }, + { + "name": "CommunityEndpoints" + }, + { + "name": "Approval" + } + ], + "paths": { + "/{resourceUri}/providers/Microsoft.Mission/approvals": { + "get": { + "operationId": "Approval_ListByParent", + "tags": [ + "Approval" + ], + "description": "List ApprovalResource resources by parent", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_ListByParent": { + "$ref": "./examples/Approvals_ListByParent.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}": { + "get": { + "operationId": "Approval_Get", + "tags": [ + "Approval" + ], + "description": "Get a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Get": { + "$ref": "./examples/Approvals_Get.json" + } + } + }, + "put": { + "operationId": "Approval_CreateOrUpdate", + "tags": [ + "Approval" + ], + "description": "Create a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApprovalResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "201": { + "description": "Resource 'ApprovalResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApprovalResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_CreateOrUpdate": { + "$ref": "./examples/Approvals_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Approval_Update", + "tags": [ + "Approval" + ], + "description": "Update a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalPatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Update": { + "$ref": "./examples/Approvals_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Approval_Delete", + "tags": [ + "Approval" + ], + "description": "Delete a ApprovalResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_Delete": { + "$ref": "./examples/Approvals_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/{resourceUri}/providers/Microsoft.Mission/approvals/{approvalName}/notifyInitiator": { + "post": { + "operationId": "Approval_NotifyInitiator", + "tags": [ + "Approval" + ], + "description": "Upon receiving approval or rejection from approver, this facilitates actions on approval resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/Azure.ResourceManager.ResourceUriParameter" + }, + { + "name": "approvalName", + "in": "path", + "description": "The name of the approvals resource.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalActionRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Approval_NotifyInitiator": { + "$ref": "./examples/Approvals_NotifyInitiator.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/providers/Microsoft.Mission/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListBySubscription", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListBySubscription": { + "$ref": "./examples/Community_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListBySubscription", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListBySubscription": { + "$ref": "./examples/CommunityEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListBySubscription", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListBySubscription": { + "$ref": "./examples/TransitHub_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListBySubscription", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListBySubscription": { + "$ref": "./examples/EnclaveConnection_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListBySubscription", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListBySubscription": { + "$ref": "./examples/VirtualEnclave_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListBySubscription", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListBySubscription": { + "$ref": "./examples/EnclaveEndpoints_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListBySubscription", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by subscription ID", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListBySubscription": { + "$ref": "./examples/Workload_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities": { + "get": { + "operationId": "Community_ListByResourceGroup", + "tags": [ + "Community" + ], + "description": "List CommunityResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_ListByResourceGroup": { + "$ref": "./examples/Community_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}": { + "get": { + "operationId": "Community_Get", + "tags": [ + "Community" + ], + "description": "Get a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Get": { + "$ref": "./examples/Community_Get.json" + } + } + }, + "put": { + "operationId": "Community_CreateOrUpdate", + "tags": [ + "Community" + ], + "description": "Create a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "201": { + "description": "Resource 'CommunityResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CreateOrUpdate": { + "$ref": "./examples/Community_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Community_Update", + "tags": [ + "Community" + ], + "description": "Update a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityPatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Update": { + "$ref": "./examples/Community_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Community_Delete", + "tags": [ + "Community" + ], + "description": "Delete a CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_Delete": { + "$ref": "./examples/Community_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/checkAddressSpaceAvailability": { + "post": { + "operationId": "Community_CheckAddressSpaceAvailability", + "tags": [ + "Community" + ], + "description": "Checks that the IP Address Space to be allocated for this Community is available.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "checkAddressSpaceAvailabilityRequest", + "in": "body", + "description": "Check IP Address Space request body.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CheckAddressSpaceAvailabilityResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Community_CheckAddressSpaceAvailability": { + "$ref": "./examples/Community_PostCheckAddressSpaceAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints": { + "get": { + "operationId": "CommunityEndpoints_ListByCommunityResource", + "tags": [ + "CommunityEndpoints" + ], + "description": "List CommunityEndpointResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_ListByCommunityResource": { + "$ref": "./examples/CommunityEndpoints_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}": { + "get": { + "operationId": "CommunityEndpoints_Get", + "tags": [ + "CommunityEndpoints" + ], + "description": "Get a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Get": { + "$ref": "./examples/CommunityEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "CommunityEndpoints_CreateOrUpdate", + "tags": [ + "CommunityEndpoints" + ], + "description": "Create a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CommunityEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "201": { + "description": "Resource 'CommunityEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_CreateOrUpdate": { + "$ref": "./examples/CommunityEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CommunityEndpoints_Update", + "tags": [ + "CommunityEndpoints" + ], + "description": "Update a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/CommunityEndpointPatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Update": { + "$ref": "./examples/CommunityEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "CommunityEndpoints_Delete", + "tags": [ + "CommunityEndpoints" + ], + "description": "Delete a CommunityEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_Delete": { + "$ref": "./examples/CommunityEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/handleApprovalCreation": { + "post": { + "operationId": "CommunityEndpoints_HandleApprovalCreation", + "tags": [ + "CommunityEndpoints" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_HandleApprovalCreation": { + "$ref": "./examples/CommunityEndpoints_HandleApprovalCreation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}/handleApprovalDeletion": { + "post": { + "operationId": "CommunityEndpoints_HandleApprovalDeletion", + "tags": [ + "CommunityEndpoints" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "communityEndpointName", + "in": "path", + "description": "The name of the Community Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CommunityEndpoints_HandleApprovalDeletion": { + "$ref": "./examples/CommunityEndpoints_HandleApprovalDeletion.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs": { + "get": { + "operationId": "TransitHub_ListByCommunityResource", + "tags": [ + "TransitHub" + ], + "description": "List TransitHubResource resources by CommunityResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_ListByCommunityResource": { + "$ref": "./examples/TransitHub_ListByCommunityResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/transitHubs/{transitHubName}": { + "get": { + "operationId": "TransitHub_Get", + "tags": [ + "TransitHub" + ], + "description": "Get a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Get": { + "$ref": "./examples/TransitHub_Get.json" + } + } + }, + "put": { + "operationId": "TransitHub_CreateOrUpdate", + "tags": [ + "TransitHub" + ], + "description": "Create a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TransitHubResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "201": { + "description": "Resource 'TransitHubResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/TransitHubResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_CreateOrUpdate": { + "$ref": "./examples/TransitHub_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "TransitHub_Update", + "tags": [ + "TransitHub" + ], + "description": "Update a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/TransitHubPatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Update": { + "$ref": "./examples/TransitHub_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "TransitHub_Delete", + "tags": [ + "TransitHub" + ], + "description": "Delete a TransitHubResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "communityName", + "in": "path", + "description": "The name of the communityResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "transitHubName", + "in": "path", + "description": "The name of the TransitHub Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "TransitHub_Delete": { + "$ref": "./examples/TransitHub_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections": { + "get": { + "operationId": "EnclaveConnection_ListByResourceGroup", + "tags": [ + "EnclaveConnection" + ], + "description": "List EnclaveConnectionResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_ListByResourceGroup": { + "$ref": "./examples/EnclaveConnection_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}": { + "get": { + "operationId": "EnclaveConnection_Get", + "tags": [ + "EnclaveConnection" + ], + "description": "Get a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Get": { + "$ref": "./examples/EnclaveConnection_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveConnection_CreateOrUpdate", + "tags": [ + "EnclaveConnection" + ], + "description": "Create a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveConnectionResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "201": { + "description": "Resource 'EnclaveConnectionResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_CreateOrUpdate": { + "$ref": "./examples/EnclaveConnection_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveConnection_Update", + "tags": [ + "EnclaveConnection" + ], + "description": "Update a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveConnectionPatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Update": { + "$ref": "./examples/EnclaveConnection_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveConnection_Delete", + "tags": [ + "EnclaveConnection" + ], + "description": "Delete a EnclaveConnectionResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_Delete": { + "$ref": "./examples/EnclaveConnection_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/handleApprovalCreation": { + "post": { + "operationId": "EnclaveConnection_HandleApprovalCreation", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_HandleApprovalCreation": { + "$ref": "./examples/EnclaveConnection_HandleApprovalCreation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/enclaveConnections/{enclaveConnectionName}/handleApprovalDeletion": { + "post": { + "operationId": "EnclaveConnection_HandleApprovalDeletion", + "tags": [ + "EnclaveConnection" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "enclaveConnectionName", + "in": "path", + "description": "The name of the Enclave Connection Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveConnection_HandleApprovalDeletion": { + "$ref": "./examples/EnclaveConnection_HandleApprovalDeletion.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves": { + "get": { + "operationId": "VirtualEnclave_ListByResourceGroup", + "tags": [ + "VirtualEnclave" + ], + "description": "List EnclaveResource resources by resource group", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_ListByResourceGroup": { + "$ref": "./examples/VirtualEnclave_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}": { + "get": { + "operationId": "VirtualEnclave_Get", + "tags": [ + "VirtualEnclave" + ], + "description": "Get a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Get": { + "$ref": "./examples/VirtualEnclave_Get.json" + } + } + }, + "put": { + "operationId": "VirtualEnclave_CreateOrUpdate", + "tags": [ + "VirtualEnclave" + ], + "description": "Create a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "201": { + "description": "Resource 'EnclaveResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_CreateOrUpdate": { + "$ref": "./examples/VirtualEnclave_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualEnclave_Update", + "tags": [ + "VirtualEnclave" + ], + "description": "Update a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualEnclavePatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Update": { + "$ref": "./examples/VirtualEnclave_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualEnclave_Delete", + "tags": [ + "VirtualEnclave" + ], + "description": "Delete a EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_Delete": { + "$ref": "./examples/VirtualEnclave_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints": { + "get": { + "operationId": "EnclaveEndpoints_ListByEnclaveResource", + "tags": [ + "EnclaveEndpoints" + ], + "description": "List EnclaveEndpointResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_ListByEnclaveResource": { + "$ref": "./examples/EnclaveEndpoints_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}": { + "get": { + "operationId": "EnclaveEndpoints_Get", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Get a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Get": { + "$ref": "./examples/EnclaveEndpoints_Get.json" + } + } + }, + "put": { + "operationId": "EnclaveEndpoints_CreateOrUpdate", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Create a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EnclaveEndpointResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "201": { + "description": "Resource 'EnclaveEndpointResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_CreateOrUpdate": { + "$ref": "./examples/EnclaveEndpoints_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "EnclaveEndpoints_Update", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Update a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/EnclaveEndpointPatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Update": { + "$ref": "./examples/EnclaveEndpoints_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "EnclaveEndpoints_Delete", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Delete a EnclaveEndpointResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_Delete": { + "$ref": "./examples/EnclaveEndpoints_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/handleApprovalCreation": { + "post": { + "operationId": "EnclaveEndpoints_HandleApprovalCreation", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_HandleApprovalCreation": { + "$ref": "./examples/EnclaveEndpoints_HandleApprovalCreation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/enclaveEndpoints/{enclaveEndpointName}/handleApprovalDeletion": { + "post": { + "operationId": "EnclaveEndpoints_HandleApprovalDeletion", + "tags": [ + "EnclaveEndpoints" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "enclaveEndpointName", + "in": "path", + "description": "The name of the Enclave Endpoint Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-_]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EnclaveEndpoints_HandleApprovalDeletion": { + "$ref": "./examples/EnclaveEndpoints_HandleApprovalDeletion.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/handleApprovalCreation": { + "post": { + "operationId": "VirtualEnclave_HandleApprovalCreation", + "tags": [ + "VirtualEnclave" + ], + "description": "Callback that triggers on approval state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_HandleApprovalCreation": { + "$ref": "./examples/VirtualEnclave_HandleApprovalCreation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/handleApprovalDeletion": { + "post": { + "operationId": "VirtualEnclave_HandleApprovalDeletion", + "tags": [ + "VirtualEnclave" + ], + "description": "Callback that triggers on approval deletion state change.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "body", + "in": "body", + "description": "The content of the action request", + "required": true, + "schema": { + "$ref": "#/definitions/ApprovalDeletionCallbackRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApprovalActionResponse" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "VirtualEnclave_HandleApprovalDeletion": { + "$ref": "./examples/VirtualEnclave_HandleApprovalDeletion.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads": { + "get": { + "operationId": "Workload_ListByEnclaveResource", + "tags": [ + "Workload" + ], + "description": "List WorkloadResource resources by EnclaveResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_ListByEnclaveResource": { + "$ref": "./examples/Workload_ListByEnclaveResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/virtualEnclaves/{virtualEnclaveName}/workloads/{workloadName}": { + "get": { + "operationId": "Workload_Get", + "tags": [ + "Workload" + ], + "description": "Get a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Get": { + "$ref": "./examples/Workload_Get.json" + } + } + }, + "put": { + "operationId": "Workload_CreateOrUpdate", + "tags": [ + "Workload" + ], + "description": "Create a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WorkloadResource' update operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "201": { + "description": "Resource 'WorkloadResource' create operation succeeded", + "schema": { + "$ref": "#/definitions/WorkloadResource" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_CreateOrUpdate": { + "$ref": "./examples/Workload_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "Workload_Update", + "tags": [ + "Workload" + ], + "description": "Update a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "properties", + "in": "body", + "description": "The resource properties to be updated.", + "required": true, + "schema": { + "$ref": "#/definitions/WorkloadPatchModel" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Update": { + "$ref": "./examples/Workload_Update.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Workload_Delete", + "tags": [ + "Workload" + ], + "description": "Delete a WorkloadResource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "virtualEnclaveName", + "in": "path", + "description": "The name of the enclaveResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + }, + { + "name": "workloadName", + "in": "path", + "description": "The name of the workloadResource Resource", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Workload_Delete": { + "$ref": "./examples/Workload_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ActionPerformed": { + "type": "string", + "description": "Specifies the action performed by the approver", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "ActionPerformed", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "Action was Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "Action was Rejected" + } + ] + } + }, + "ApprovalActionRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "approvalStatus" + ] + }, + "ApprovalActionResponse": { + "type": "object", + "description": "Response body after handling of approvalCallbackRequest", + "properties": { + "message": { + "type": "string", + "description": "Confirmation message indicating the result of the operation." + } + }, + "required": [ + "message" + ] + }, + "ApprovalCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-callback post action", + "enum": [ + "Create", + "Delete", + "Update", + "Reset" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalStatus": { + "type": "string", + "description": "Approval status indicating 'Approved' or 'Rejected'", + "enum": [ + "Approved", + "Rejected" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload requested by client upon approval action" + } + }, + "required": [ + "resourceRequestAction", + "approvalStatus" + ] + }, + "ApprovalDeletionCallbackRequest": { + "type": "object", + "description": "Request body for calling post-action", + "properties": { + "resourceRequestAction": { + "type": "string", + "description": "Resource request action indicating action which needed to be performed upon calling approval-deletion-callback post action", + "enum": [ + "Create", + "Delete", + "Update" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "resourceRequestAction" + ] + }, + "ApprovalPatchModel": { + "type": "object", + "description": "Approvals patch model.", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalPatchProperties", + "description": "Approval Patch properties" + } + } + }, + "ApprovalPatchProperties": { + "type": "object", + "description": "Approvals patch properties.", + "properties": { + "parentResourceId": { + "type": "string", + "format": "arm-id", + "description": "Parameter for optimizing query results" + }, + "grandparentResourceId": { + "type": "string", + "format": "arm-id", + "description": "Parameter for optimizing query results" + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approver" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "ticketId": { + "type": "string", + "description": "Ticket ID for the approval request" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Approval request creation time" + }, + "stateChangedAt": { + "type": "string", + "format": "date-time", + "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadataUpdatableProperties", + "description": "Request metadata for the approval request." + } + } + }, + "ApprovalPolicy": { + "type": "string", + "description": "Approval Policy.", + "enum": [ + "Required", + "NotRequired" + ], + "x-ms-enum": { + "name": "ApprovalPolicy", + "modelAsString": true, + "values": [ + { + "name": "Required", + "value": "Required", + "description": "Approval will be required for the specified action." + }, + { + "name": "NotRequired", + "value": "NotRequired", + "description": "Approval will not be required for the specified action." + } + ] + } + }, + "ApprovalProperties": { + "type": "object", + "description": "Approval Base model.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "parentResourceId": { + "type": "string", + "format": "arm-id", + "description": "Parameter for optimizing query results" + }, + "grandparentResourceId": { + "type": "string", + "format": "arm-id", + "description": "Parameter for optimizing query results" + }, + "approvers": { + "type": "array", + "description": "List of approvers for the approval request", + "items": { + "$ref": "#/definitions/Approver" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "ticketId": { + "type": "string", + "description": "Ticket ID for the approval request" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Approval request creation time" + }, + "stateChangedAt": { + "type": "string", + "format": "date-time", + "description": "Approval request state change time, time at which approval request state changed from pending to approved or rejected." + }, + "requestMetadata": { + "$ref": "#/definitions/RequestMetadata", + "description": "Request metadata for the approval request." + } + }, + "required": [ + "requestMetadata" + ] + }, + "ApprovalResource": { + "type": "object", + "description": "Approval Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/ApprovalProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ApprovalResourceListResult": { + "type": "object", + "description": "The response of a ApprovalResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApprovalResource items on this page", + "items": { + "$ref": "#/definitions/ApprovalResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApprovalSettings": { + "type": "object", + "description": "ApprovalSettings Properties", + "properties": { + "endpointCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint creation (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "endpointUpdate": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint update (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "endpointDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for endpoint deletion (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "connectionCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection creation (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "connectionUpdate": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection update (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "connectionDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for enclave connection deletion (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "enclaveCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for virtual enclave creation (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "enclaveDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for virtual enclave deletion (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "maintenanceMode": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for toggling maintenance mode (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "serviceCatalogDeployment": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Approval required for deploying service catalog templates (Required or NotRequired).", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "notificationOnApprovalCreation": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Notification will be sent on creation of an Approval Request", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "notificationOnApprovalAction": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Notification will be sent on any action taken (Approve/Reject) on an Approval Request", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "notificationOnApprovalDeletion": { + "$ref": "#/definitions/ApprovalPolicy", + "description": "Notification will be sent on deletion of an Approval Request", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/MandatoryApprover" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + }, + "minimumApproversRequired": { + "type": "integer", + "format": "int64", + "description": "Minimum number of approvers required for the approval request", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "ApprovalSettingsPatchProperties": { + "type": "object", + "description": "ApprovalSettings Properties", + "properties": { + "mandatoryApprovers": { + "type": "array", + "description": "List of mandatory approvers for the approval request", + "items": { + "$ref": "#/definitions/MandatoryApprover" + }, + "x-ms-identifiers": [ + "approverEntraId" + ] + } + } + }, + "ApprovalStatus": { + "type": "string", + "description": "Approval Status. It can be Approved, Rejected, Pending, Deleted or Expired.", + "enum": [ + "Approved", + "Rejected", + "Pending", + "Deleted", + "Expired" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "ApprovalStatus Type Deleted" + }, + { + "name": "Expired", + "value": "Expired", + "description": "ApprovalStatus Type Expired" + } + ] + } + }, + "Approver": { + "type": "object", + "description": "Approver Metadata for approvals request.", + "properties": { + "approverEntraId": { + "type": "string", + "description": "Entra ObjectID of the approver" + }, + "actionPerformed": { + "$ref": "#/definitions/ActionPerformed", + "description": "Action Performed by approver" + }, + "lastUpdatedAt": { + "type": "string", + "format": "date-time", + "description": "approval request last updated at" + } + }, + "required": [ + "approverEntraId", + "lastUpdatedAt" + ] + }, + "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed service identity (system assigned and/or user assigned identities)", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity", + "x-nullable": true + } + } + } + }, + "CheckAddressSpaceAvailabilityRequest": { + "type": "object", + "description": "Request to the action call to check address space availability.", + "properties": { + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Resource Id of the Community" + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkModel", + "description": "Information about the enclave virtual network" + } + }, + "required": [ + "communityResourceId", + "enclaveVirtualNetwork" + ] + }, + "CheckAddressSpaceAvailabilityResponse": { + "type": "object", + "description": "Response of availability of the requested address space.", + "properties": { + "value": { + "type": "boolean", + "description": "Boolean representing whether the address space is available." + } + }, + "required": [ + "value" + ] + }, + "CommunityEndpointDestinationRule": { + "type": "object", + "description": "Base type for destination rules.", + "properties": { + "destinationType": { + "$ref": "#/definitions/DestinationType", + "description": "Destination Type." + }, + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/CommunityEndpointProtocol" + } + }, + "transitHubResourceId": { + "$ref": "#/definitions/TransitHubResourceId", + "description": "Transit Hub Resource Id." + }, + "endpointRuleName": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "ports": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + } + } + }, + "CommunityEndpointPatchModel": { + "type": "object", + "description": "Community Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointPatchProperties", + "description": "Community Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "CommunityEndpointPatchProperties": { + "type": "object", + "description": "Community Endpoint patchable Properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + } + } + }, + "CommunityEndpointProperties": { + "type": "object", + "description": "Community Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Community Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/CommunityEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "ruleCollection" + ] + }, + "CommunityEndpointProtocol": { + "type": "string", + "description": "Community Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH", + "HTTPS", + "HTTP" + ], + "x-ms-enum": { + "name": "CommunityEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "CommunityEndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "CommunityEndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "CommunityEndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "CommunityEndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "CommunityEndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "CommunityEndpointProtocol Type AH" + }, + { + "name": "HTTPS", + "value": "HTTPS", + "description": "CommunityEndpointProtocol Type HTTPS" + }, + { + "name": "HTTP", + "value": "HTTP", + "description": "CommunityEndpointProtocol Type HTTP" + } + ] + } + }, + "CommunityEndpointResource": { + "type": "object", + "description": "CommunityEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityEndpointResourceListResult": { + "type": "object", + "description": "The response of a CommunityEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityEndpointResource items on this page", + "items": { + "$ref": "#/definitions/CommunityEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommunityPatchModel": { + "type": "object", + "description": "Community Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityPatchProperties", + "description": "Community Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + } + } + }, + "CommunityPatchProperties": { + "type": "object", + "description": "Community Resource Properties without default values", + "properties": { + "dnsServers": { + "type": "array", + "description": "DNS Servers.", + "items": { + "type": "string" + } + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + }, + "x-ms-identifiers": [] + }, + "policyOverride": { + "type": "string", + "description": "Policy override setting for the community. Specifies whether to apply enclave-specific policies or disable policy enforcement.", + "enum": [ + "Enclave", + "None" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + }, + "x-ms-identifiers": [] + }, + "firewallSku": { + "$ref": "#/definitions/FirewallSKU", + "description": "SKU of the community's Azure Firewall (Basic, Standard, Premium). Standard is the default" + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettingsPatchProperties", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationPatchModel", + "description": "Maintenance Mode configuration." + } + } + }, + "CommunityProperties": { + "type": "object", + "description": "Community Resource Properties", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address Space.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "dnsServers": { + "type": "array", + "description": "DNS Servers.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by communities.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." + }, + "readOnly": true + }, + "managedResourceGroupName": { + "type": "string", + "description": "Managed resource group name.", + "readOnly": true + }, + "managedOnBehalfOfConfiguration": { + "$ref": "../../../../../common-types/resource-management/v5/mobo.json#/definitions/ManagedOnBehalfOfConfiguration", + "description": "Managed On Behalf Of Configuration.", + "readOnly": true + }, + "governedServiceList": { + "type": "array", + "description": "List of services governed by a community.", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + }, + "x-ms-identifiers": [] + }, + "policyOverride": { + "type": "string", + "description": "Policy override setting for the community. Specifies whether to apply enclave-specific policies or disable policy enforcement.", + "enum": [ + "Enclave", + "None" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "communityRoleAssignments": { + "type": "array", + "description": "Community role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + }, + "x-ms-identifiers": [] + }, + "firewallSku": { + "type": "string", + "description": "SKU of the community's Azure Firewall (Basic, Standard, Premium). Standard is the default", + "default": "Standard", + "enum": [ + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "FirewallSKU", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "FirewallSKU Basic" + }, + { + "name": "Standard", + "value": "Standard", + "description": "FirwallSKU Standard" + }, + { + "name": "Premium", + "value": "Premium", + "description": "FirewallSKU Premium" + } + ] + } + }, + "approvalSettings": { + "$ref": "#/definitions/ApprovalSettings", + "description": "Approval requirements for various actions on the community's resources." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationModel", + "description": "Maintenance Mode configuration." + } + } + }, + "CommunityResource": { + "type": "object", + "description": "Community Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommunityProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "CommunityResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities" + } + ] + } + }, + "CommunityResourceListResult": { + "type": "object", + "description": "The response of a CommunityResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CommunityResource items on this page", + "items": { + "$ref": "#/definitions/CommunityResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DestinationEndpointResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves/enclaveEndpoints" + }, + { + "type": "Microsoft.Mission/communities/communityEndpoints" + } + ] + } + }, + "DestinationType": { + "type": "string", + "description": "Destination Type Enum", + "enum": [ + "FQDN", + "FQDNTag", + "IPAddress", + "PrivateNetwork" + ], + "x-ms-enum": { + "name": "DestinationType", + "modelAsString": true, + "values": [ + { + "name": "FQDN", + "value": "FQDN", + "description": "DestinationType Type FQDN" + }, + { + "name": "FQDNTag", + "value": "FQDNTag", + "description": "DestinationType Type FQDNTag" + }, + { + "name": "IPAddress", + "value": "IPAddress", + "description": "DestinationType Type IPAddress" + }, + { + "name": "PrivateNetwork", + "value": "PrivateNetwork", + "description": "DestinationType Type PrivateNetwork" + } + ] + } + }, + "DiagnosticDestination": { + "type": "string", + "description": "Specifies the destination of where to store diagnostic logs.", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + }, + "EnclaveAddressSpacesModel": { + "type": "object", + "description": "Enclave Address Spaces", + "properties": { + "enclaveAddressSpace": { + "type": "string", + "description": "Enclave Address Space" + }, + "managedAddressSpace": { + "type": "string", + "description": "Managed Address Space" + } + } + }, + "EnclaveConnectionPatchModel": { + "type": "object", + "description": "Enclave Connection Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionPatchProperties", + "description": "Enclave Connection Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "EnclaveConnectionPatchProperties": { + "type": "object", + "description": "Enclave Connection patchable Properties", + "properties": { + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + } + } + }, + "EnclaveConnectionProperties": { + "type": "object", + "description": "Enclave Connection Resource properties", + "properties": { + "state": { + "$ref": "#/definitions/EnclaveConnectionState", + "description": "The state of the enclaveConnection.", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sourceResourceId": { + "$ref": "#/definitions/EnclaveConnectionSourceResourceId", + "description": "Source Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "sourceCidr": { + "type": "string", + "description": "Source CIDR." + }, + "destinationEndpointId": { + "$ref": "#/definitions/DestinationEndpointResourceId", + "description": "Destination Endpoint Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by enclave Connections.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." + }, + "readOnly": true + } + }, + "required": [ + "communityResourceId", + "sourceResourceId", + "destinationEndpointId" + ] + }, + "EnclaveConnectionResource": { + "type": "object", + "description": "EnclaveConnection Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveConnectionProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveConnectionResourceListResult": { + "type": "object", + "description": "The response of a EnclaveConnectionResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveConnectionResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveConnectionResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveConnectionSourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/virtualEnclaves" + }, + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "EnclaveConnectionState": { + "type": "string", + "description": "Specifies the state of the enclave connection.", + "enum": [ + "PendingApproval", + "PendingUpdate", + "Approved", + "Active", + "Failed", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "EnclaveConnectionState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "EnclaveConnectionState Type Pending Approval" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "EnclaveConnectionState Type Pending Update" + }, + { + "name": "Approved", + "value": "Approved", + "description": "EnclaveConnectionState Type Approved" + }, + { + "name": "Active", + "value": "Active", + "description": "EnclaveConnectionState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "EnclaveConnectionState Type Failed" + }, + { + "name": "Connected", + "value": "Connected", + "description": "EnclaveConnectionState Type Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "EnclaveConnectionState Type Disconnected" + } + ] + } + }, + "EnclaveDefaultSettingsModel": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "keyVaultResourceId": { + "$ref": "#/definitions/KeyVaultResourceId", + "description": "Key Vault Resource Id.", + "readOnly": true + }, + "storageAccountResourceId": { + "$ref": "#/definitions/StorageAccountResourceId", + "description": "Storage Account Resource Id.", + "readOnly": true + }, + "logAnalyticsResourceIdCollection": { + "type": "array", + "description": "Log Analytics Resource Ids.", + "items": { + "$ref": "#/definitions/LogAnalyticsResourceId" + }, + "readOnly": true + }, + "diagnosticDestination": { + "type": "string", + "description": "Diagnostic Destination.", + "default": "EnclaveOnly", + "enum": [ + "CommunityOnly", + "EnclaveOnly", + "Both" + ], + "x-ms-enum": { + "name": "DiagnosticDestination", + "modelAsString": true, + "values": [ + { + "name": "CommunityOnly", + "value": "CommunityOnly", + "description": "DiagnosticDestination Type CommunityOnly" + }, + { + "name": "EnclaveOnly", + "value": "EnclaveOnly", + "description": "DiagnosticDestination Type EnclaveOnly" + }, + { + "name": "Both", + "value": "Both", + "description": "DiagnosticDestination Type Both" + } + ] + } + } + } + }, + "EnclaveDefaultSettingsPatchModel": { + "type": "object", + "description": "Virtual Enclave Default Settings", + "properties": { + "diagnosticDestination": { + "$ref": "#/definitions/DiagnosticDestination", + "description": "Diagnostic Destination." + } + } + }, + "EnclaveEndpointDestinationRule": { + "type": "object", + "description": "Enclave Endpoint Rule Properties", + "properties": { + "protocols": { + "type": "array", + "description": "Protocols. Options specified by Endpoint Protocol Enum.", + "items": { + "$ref": "#/definitions/EnclaveEndpointProtocol" + } + }, + "endpointRuleName": { + "type": "string", + "description": "Endpoint Rule Name." + }, + "destination": { + "type": "string", + "description": "Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas." + }, + "ports": { + "type": "string", + "description": "Port. Can include multiple ports separated by commas or a range indicated by a hyphen." + } + } + }, + "EnclaveEndpointPatchModel": { + "type": "object", + "description": "Enclave Endpoint Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointPatchProperties", + "description": "Enclave Endpoint Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "EnclaveEndpointPatchProperties": { + "type": "object", + "description": "Enclave Endpoint patchable Properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + } + } + }, + "EnclaveEndpointProperties": { + "type": "object", + "description": "Enclave Endpoint Resource properties", + "properties": { + "ruleCollection": { + "type": "array", + "description": "Enclave Endpoint Rule Collection.", + "items": { + "$ref": "#/definitions/EnclaveEndpointDestinationRule" + }, + "x-ms-identifiers": [] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by community endpoint.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + } + }, + "required": [ + "ruleCollection" + ] + }, + "EnclaveEndpointProtocol": { + "type": "string", + "description": "Enclave Endpoint Protocol Enum", + "enum": [ + "ANY", + "TCP", + "UDP", + "ICMP", + "ESP", + "AH" + ], + "x-ms-enum": { + "name": "EnclaveEndpointProtocol", + "modelAsString": true, + "values": [ + { + "name": "ANY", + "value": "ANY", + "description": "EndpointProtocol Type ANY" + }, + { + "name": "TCP", + "value": "TCP", + "description": "EndpointProtocol Type TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "EndpointProtocol Type UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "EndpointProtocol Type ICMP" + }, + { + "name": "ESP", + "value": "ESP", + "description": "EndpointProtocol Type ESP" + }, + { + "name": "AH", + "value": "AH", + "description": "EndpointProtocol Type AH" + } + ] + } + }, + "EnclaveEndpointResource": { + "type": "object", + "description": "EnclaveEndpoint Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/EnclaveEndpointProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveEndpointResourceListResult": { + "type": "object", + "description": "The response of a EnclaveEndpointResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveEndpointResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveEndpointResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveResource": { + "type": "object", + "description": "Virtual Enclave Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclaveProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "EnclaveResourceListResult": { + "type": "object", + "description": "The response of a EnclaveResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EnclaveResource items on this page", + "items": { + "$ref": "#/definitions/EnclaveResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EnclaveVirtualNetworkModel": { + "type": "object", + "description": "Enclave Virtual Network Properties", + "properties": { + "networkName": { + "type": "string", + "description": "Network Name." + }, + "networkSize": { + "type": "string", + "description": "Network Size.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "customCidrRange": { + "type": "string", + "description": "Custom CIDR Range.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "subnetConfigurations": { + "type": "array", + "description": "Subnet Configurations.", + "items": { + "$ref": "#/definitions/SubnetConfiguration" + }, + "x-ms-identifiers": [] + }, + "allowSubnetCommunication": { + "type": "boolean", + "description": "Allow Subnet Communication.", + "default": false, + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "FirewallSKU": { + "type": "string", + "description": "Azure Firewall SKU", + "enum": [ + "Basic", + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "FirewallSKU", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "FirewallSKU Basic" + }, + { + "name": "Standard", + "value": "Standard", + "description": "FirwallSKU Standard" + }, + { + "name": "Premium", + "value": "Premium", + "description": "FirewallSKU Premium" + } + ] + } + }, + "GovernedServiceItem": { + "type": "object", + "description": "GovernedServiceItem Properties", + "properties": { + "serviceId": { + "$ref": "#/definitions/ServiceIdentifier", + "description": "Service ID" + }, + "serviceName": { + "type": "string", + "description": "Service name.", + "readOnly": true + }, + "option": { + "type": "string", + "description": "Governance option for this service (Allow, Deny, ExceptionOnly, or NotApplicable).", + "enum": [ + "Allow", + "Deny", + "ExceptionOnly", + "NotApplicable" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "enforcement": { + "type": "string", + "description": "Initiative enforcement (Enabled or Disabled).", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "policyAction": { + "type": "string", + "description": "Enforcement mode for policy. AuditOnly, Enforce, or None.", + "enum": [ + "AuditOnly", + "Enforce", + "None" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "initiatives": { + "type": "array", + "description": "Initiatives associated with this service.", + "items": { + "type": "string" + }, + "readOnly": true + } + }, + "required": [ + "serviceId" + ] + }, + "KeyVaultResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.KeyVault/vaults" + } + ] + } + }, + "LogAnalyticsResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.OperationalInsights/workspaces" + } + ] + } + }, + "MaintenanceModeConfigurationModel": { + "type": "object", + "description": "Maintenance Mode", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "default": "Off", + "enum": [ + "On", + "CanNotDelete", + "Off", + "General", + "Advanced" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "default": [], + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "default": "Off", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "mode" + ] + }, + "MaintenanceModeConfigurationPatchModel": { + "type": "object", + "description": "Maintenance Mode Patch Model", + "properties": { + "mode": { + "type": "string", + "description": "Current mode of Maintenance Mode Configuration", + "enum": [ + "On", + "CanNotDelete", + "Off", + "General", + "Advanced" + ], + "x-ms-enum": { + "modelAsString": true + } + }, + "principals": { + "type": "array", + "description": "The user, group or service principal object affected by Maintenance Mode", + "items": { + "$ref": "#/definitions/Principal" + } + }, + "justification": { + "type": "string", + "description": "Justification for entering or exiting Maintenance Mode", + "enum": [ + "Networking", + "Governance", + "Off" + ], + "x-ms-enum": { + "modelAsString": true + } + } + } + }, + "MandatoryApprover": { + "type": "object", + "description": "Approver Metadata for approvals request.", + "properties": { + "approverEntraId": { + "type": "string", + "description": "EntraId of the approver" + } + }, + "required": [ + "approverEntraId" + ] + }, + "NsgResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/networkSecurityGroups" + } + ] + } + }, + "Principal": { + "type": "object", + "description": "Principal for maintenance mode or role assignments", + "properties": { + "id": { + "type": "string", + "description": "The object id associated with the principal" + }, + "type": { + "type": "string", + "description": "The type of the object id. We currently allow users, groups, and service principals", + "enum": [ + "User", + "Group", + "ServicePrincipal" + ], + "x-ms-enum": { + "modelAsString": true + } + } + }, + "required": [ + "id", + "type" + ] + }, + "ProvisioningState": { + "type": "string", + "description": "The provisioning status of the resource.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Accepted", + "Creating", + "Deleting", + "NotSpecified", + "Running", + "Updating" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Provisioning State Type Accepted" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Provisioning State Type Creating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Provisioning State Type Deleting" + }, + { + "name": "NotSpecified", + "value": "NotSpecified", + "description": "Provisioning State Type NotSpecified" + }, + { + "name": "Running", + "value": "Running", + "description": "Provisioning State Type Running" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Provisioning State Type Updating" + } + ] + }, + "readOnly": true + }, + "RequestMetadata": { + "type": "object", + "description": "Request Metadata for approvals request.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalCallbackRoute": { + "type": "string", + "description": "Route name for the approval callback" + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload to be sent upon any action on approval request" + }, + "approvalStatus": { + "type": "string", + "description": "Status of the approval. Uses ApprovalStatus enum.", + "default": "Pending", + "enum": [ + "Approved", + "Rejected", + "Pending", + "Deleted", + "Expired" + ], + "x-ms-enum": { + "name": "ApprovalStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "ApprovalStatus Type Approved" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "ApprovalStatus Type Rejected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "ApprovalStatus Type Pending" + }, + { + "name": "Deleted", + "value": "Deleted", + "description": "ApprovalStatus Type Deleted" + }, + { + "name": "Expired", + "value": "Expired", + "description": "ApprovalStatus Type Expired" + } + ] + } + } + }, + "required": [ + "resourceAction" + ] + }, + "RequestMetadataUpdatableProperties": { + "type": "object", + "description": "Request Metadata patch properties.", + "properties": { + "resourceAction": { + "type": "string", + "description": "Resource Action of the item being approved or declined." + }, + "approvalCallbackRoute": { + "type": "string", + "description": "Route name for the approval callback" + }, + "approvalCallbackPayload": { + "type": "string", + "description": "Payload to be sent upon any action on approval request" + }, + "approvalStatus": { + "$ref": "#/definitions/ApprovalStatus", + "description": "Status of the approval. Uses ApprovalStatus enum." + } + } + }, + "RoleAssignmentItem": { + "type": "object", + "description": "Role assignment item that indicates which principals should be assigned this role definition", + "properties": { + "roleDefinitionId": { + "type": "string", + "description": "Role definition identifier" + }, + "principals": { + "type": "array", + "description": "List of principal IDs to which to assign this role definition", + "items": { + "$ref": "#/definitions/Principal" + } + } + }, + "required": [ + "roleDefinitionId" + ] + }, + "ServiceIdentifier": { + "type": "string", + "description": "Identifier for governed services.", + "enum": [ + "AKS", + "AppService", + "AzureFirewalls", + "ContainerRegistry", + "CosmosDB", + "DataConnectors", + "Insights", + "KeyVault", + "Logic", + "MicrosoftSQL", + "Monitoring", + "PostgreSQL", + "PrivateDNSZones", + "ServiceBus", + "Storage" + ], + "x-ms-enum": { + "name": "ServiceIdentifier", + "modelAsString": true, + "values": [ + { + "name": "AKS", + "value": "AKS", + "description": "Service identifier for AKS" + }, + { + "name": "AppService", + "value": "AppService", + "description": "Service identifier for App Service" + }, + { + "name": "AzureFirewalls", + "value": "AzureFirewalls", + "description": "Service identifier for Azure Firewalls" + }, + { + "name": "ContainerRegistry", + "value": "ContainerRegistry", + "description": "Service identifier for Container Registry" + }, + { + "name": "CosmosDB", + "value": "CosmosDB", + "description": "Service identifier for CosmosDB" + }, + { + "name": "DataConnectors", + "value": "DataConnectors", + "description": "Service identifier for Data Connectors" + }, + { + "name": "Insights", + "value": "Insights", + "description": "Service identifier for Insights" + }, + { + "name": "KeyVault", + "value": "KeyVault", + "description": "Service identifier for Key Vault" + }, + { + "name": "Logic", + "value": "Logic", + "description": "Service identifier for Logic" + }, + { + "name": "MicrosoftSql", + "value": "MicrosoftSQL", + "description": "Service identifier for Microsoft SQL" + }, + { + "name": "Monitoring", + "value": "Monitoring", + "description": "Service identifier for Monitoring" + }, + { + "name": "PostgreSql", + "value": "PostgreSQL", + "description": "Service identifier for PostgreSQL" + }, + { + "name": "PrivateDNSZones", + "value": "PrivateDNSZones", + "description": "Service identifier for Private DNS Zones" + }, + { + "name": "ServiceBus", + "value": "ServiceBus", + "description": "Service identifier for Service Bus" + }, + { + "name": "Storage", + "value": "Storage", + "description": "Service identifier for Storage" + } + ] + } + }, + "StorageAccountResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "SubnetConfiguration": { + "type": "object", + "description": "Subnet Configuration", + "properties": { + "subnetName": { + "type": "string", + "description": "Subnet name." + }, + "subnetResourceId": { + "$ref": "#/definitions/SubnetResourceId", + "description": "Subnet Resource ID.", + "readOnly": true + }, + "networkPrefixSize": { + "type": "integer", + "format": "int32", + "description": "Network prefix size." + }, + "subnetDelegation": { + "type": "string", + "description": "Subnet delegation." + }, + "addressPrefix": { + "type": "string", + "description": "Address prefix.", + "readOnly": true + }, + "networkSecurityGroupResourceId": { + "$ref": "#/definitions/NsgResourceId", + "description": "Network security group ID.", + "readOnly": true + } + }, + "required": [ + "subnetName", + "networkPrefixSize" + ] + }, + "SubnetResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + }, + "TransitHubPatchModel": { + "type": "object", + "description": "TH Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubPatchProperties", + "description": "The TransitHub resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "TransitHubPatchProperties": { + "type": "object", + "description": "Transit Hub patchable Properties", + "properties": { + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + } + } + }, + "TransitHubProperties": { + "type": "object", + "description": "Describes the properties of an Transit Hub.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "state": { + "$ref": "#/definitions/TransitHubState", + "description": "The state of the transitHub." + }, + "transitOption": { + "$ref": "#/definitions/TransitOption", + "description": "The TransitOption of the transitHub." + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids modified by transitHubs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." + }, + "readOnly": true + } + } + }, + "TransitHubResource": { + "type": "object", + "description": "TransitHub Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/TransitHubProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "TransitHubResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Mission/communities/transitHubs" + } + ] + } + }, + "TransitHubResourceListResult": { + "type": "object", + "description": "The response of a TransitHubResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The TransitHubResource items on this page", + "items": { + "$ref": "#/definitions/TransitHubResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "TransitHubState": { + "type": "string", + "description": "Specifies the state of the transitHub.", + "enum": [ + "PendingApproval", + "Approved", + "PendingUpdate", + "Active", + "Failed" + ], + "x-ms-enum": { + "name": "TransitHubState", + "modelAsString": true, + "values": [ + { + "name": "PendingApproval", + "value": "PendingApproval", + "description": "TransitHubState Type PendingApproval" + }, + { + "name": "Approved", + "value": "Approved", + "description": "TransitHubState Type Approved" + }, + { + "name": "PendingUpdate", + "value": "PendingUpdate", + "description": "TransitHubState Type PendingUpdate" + }, + { + "name": "Active", + "value": "Active", + "description": "TransitHubState Type Active" + }, + { + "name": "Failed", + "value": "Failed", + "description": "TransitHubState Type Failed" + } + ] + } + }, + "TransitOption": { + "type": "object", + "description": "TransitOption Properties", + "properties": { + "type": { + "$ref": "#/definitions/TransitOptionType", + "description": "Transit Option Type." + }, + "params": { + "$ref": "#/definitions/TransitOptionParams", + "description": "Transit Option Params" + } + } + }, + "TransitOptionParams": { + "type": "object", + "description": "TransitOptionParams Properties", + "properties": { + "scaleUnits": { + "type": "integer", + "format": "int64", + "description": "Transit Option Params scaleUnits." + }, + "remoteVirtualNetworkId": { + "$ref": "#/definitions/VirtualNetworkResourceId", + "description": "Transit Option Params remoteVirtualNetworkId." + } + } + }, + "TransitOptionType": { + "type": "string", + "description": "Specifies the type of the transitOption.", + "enum": [ + "ExpressRoute", + "Gateway", + "Peering" + ], + "x-ms-enum": { + "name": "TransitOptionType", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "TransitOptionType ExpressRoute" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "TransitOptionType Gateway" + }, + { + "name": "Peering", + "value": "Peering", + "description": "TransitOptionType Peering" + } + ] + } + }, + "VirtualEnclavePatchModel": { + "type": "object", + "description": "Virtual Enclave Patch Model", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualEnclavePatchProperties", + "description": "Virtual Enclave Patch properties" + }, + "identity": { + "$ref": "#/definitions/Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate", + "description": "The managed service identities assigned to this resource." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "VirtualEnclavePatchProperties": { + "type": "object", + "description": "Virtual Enclave Patchable Properties", + "properties": { + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkModel", + "description": "Virtual Network." + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False)." + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + }, + "x-ms-identifiers": [] + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + }, + "x-ms-identifiers": [] + }, + "governedServiceList": { + "type": "array", + "description": "Enclave specific policies", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + }, + "x-ms-identifiers": [] + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettingsPatchModel", + "description": "Enclave default settings." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationPatchModel", + "description": "Maintenance Mode configuration." + } + } + }, + "VirtualEnclaveProperties": { + "type": "object", + "description": "Virtual Enclave Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "enclaveVirtualNetwork": { + "$ref": "#/definitions/EnclaveVirtualNetworkModel", + "description": "Virtual Network." + }, + "enclaveAddressSpaces": { + "$ref": "#/definitions/EnclaveAddressSpacesModel", + "description": "Enclave Address Spaces", + "readOnly": true + }, + "communityResourceId": { + "$ref": "#/definitions/CommunityResourceId", + "description": "Community Resource Id.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "resourceCollection": { + "type": "array", + "description": "List of resource ids created by Virtual Enclave.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." + }, + "readOnly": true + }, + "managedResourceGroupName": { + "type": "string", + "description": "Managed resource group name.", + "readOnly": true + }, + "managedOnBehalfOfConfiguration": { + "$ref": "../../../../../common-types/resource-management/v5/mobo.json#/definitions/ManagedOnBehalfOfConfiguration", + "description": "Managed On Behalf Of Configuration.", + "readOnly": true + }, + "bastionEnabled": { + "type": "boolean", + "description": "Deploy Bastion service (True or False).", + "default": false + }, + "enclaveRoleAssignments": { + "type": "array", + "description": "Enclave role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + }, + "x-ms-identifiers": [] + }, + "workloadRoleAssignments": { + "type": "array", + "description": "Workload role assignments", + "items": { + "$ref": "#/definitions/RoleAssignmentItem" + }, + "x-ms-identifiers": [] + }, + "governedServiceList": { + "type": "array", + "description": "Enclave specific policies", + "items": { + "$ref": "#/definitions/GovernedServiceItem" + }, + "x-ms-identifiers": [] + }, + "enclaveDefaultSettings": { + "$ref": "#/definitions/EnclaveDefaultSettingsModel", + "description": "Enclave default settings." + }, + "maintenanceModeConfiguration": { + "$ref": "#/definitions/MaintenanceModeConfigurationModel", + "description": "Maintenance Mode configuration." + } + }, + "required": [ + "enclaveVirtualNetwork", + "communityResourceId" + ] + }, + "VirtualNetworkResourceId": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks" + } + ] + } + }, + "WorkloadPatchModel": { + "type": "object", + "description": "Workload Patch Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadPatchProperties", + "description": "Workload Patch properties" + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "WorkloadPatchProperties": { + "type": "object", + "description": "Workload patchable Properties", + "properties": { + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + } + } + }, + "WorkloadProperties": { + "type": "object", + "description": "Workload Resource properties", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Provisioning State.", + "readOnly": true + }, + "resourceGroupCollection": { + "type": "array", + "description": "List of resource group ids.", + "items": { + "type": "string" + } + }, + "managedOnBehalfOfConfiguration": { + "$ref": "../../../../../common-types/resource-management/v5/mobo.json#/definitions/ManagedOnBehalfOfConfiguration", + "description": "Managed On Behalf Of Configuration.", + "readOnly": true + } + } + }, + "WorkloadResource": { + "type": "object", + "description": "Workload Model Resource", + "properties": { + "properties": { + "$ref": "#/definitions/WorkloadProperties", + "description": "The resource-specific properties for this resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "WorkloadResourceListResult": { + "type": "object", + "description": "The response of a WorkloadResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The WorkloadResource items on this page", + "items": { + "$ref": "#/definitions/WorkloadResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + } + }, + "parameters": { + "Azure.ResourceManager.ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "description": "The fully qualified Azure Resource manager identifier of the resource.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "x-ms-skip-url-encoding": true + } + } +} diff --git a/specification/mission/resource-manager/readme.md b/specification/mission/resource-manager/readme.md index a50ada896f07..4e1b0d08c839 100644 --- a/specification/mission/resource-manager/readme.md +++ b/specification/mission/resource-manager/readme.md @@ -20,15 +20,22 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor ## Configuration -### Basic Information - These are the global settings for the mission. ```yaml title: missionClient openapi-type: arm openapi-subtype: rpaas -tag: package-2024-12-01-preview +tag: package-2025-05-01-preview +``` + +### Tag: package-2025-05-01-preview + +These settings apply only when `--tag=package-2025-05-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2025-05-01-preview' +input-file: + - Microsoft.Mission/preview/2025-05-01-preview/openapi.json ``` ### Tag: package-2024-12-01-preview @@ -38,11 +45,6 @@ These settings apply only when `--tag=package-2024-12-01-preview` is specified o ```yaml $(tag) == 'package-2024-12-01-preview' input-file: - Microsoft.Mission/preview/2024-12-01-preview/openapi.json -suppressions: - - code: AvoidAnonymousTypes - from: openapi.json - where: $.definitions['Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate'].properties.userAssignedIdentities.additionalProperties - reason: This is an incorrect failure due to a bug in the tool (https://github.com/Azure/typespec-azure/issues/1163) ``` ### Tag: package-2024-06-01-preview @@ -52,11 +54,6 @@ These settings apply only when `--tag=package-2024-06-01-preview` is specified o ```yaml $(tag) == 'package-2024-06-01-preview' input-file: - Microsoft.Mission/preview/2024-06-01-preview/openapi.json -suppressions: - - code: AvoidAnonymousTypes - from: openapi.json - where: $.definitions['Azure.ResourceManager.CommonTypes.ManagedServiceIdentityUpdate'].properties.userAssignedIdentities.additionalProperties - reason: This is an incorrect failure due to a bug in the tool (https://github.com/Azure/typespec-azure/issues/1163) ``` --- From 1c5d843107da4d28990f45f9e088822b19f5c999 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 24 Jul 2025 15:56:14 -0600 Subject: [PATCH 83/89] added experimental-extensible-enums: true --- specification/mission/Mission.Management/tspconfig.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index 6aa5f13e6e94..71dcfbfe8979 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -31,6 +31,12 @@ options: package-dir: azure-resourcemanager-placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation namespace: com.azure.resourcemanager.placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation service-name: Place Holder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + "@azure-tools/typespec-ts": + package-dir: "armplaceholder" + flavor: azure + experimental-extensible-enums: true + package-details: + name: "@azure/armplaceholder" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" From 34565736da50d5c74182e7326ccb08d693682720 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 24 Jul 2025 16:06:58 -0600 Subject: [PATCH 84/89] Update TypeSpec config for package naming conventions Renamed TypeScript package directory and name to use 'arm-placeholder' instead of 'armplaceholder'. Added C# emitter configuration with Azure flavor, output directory, and namespace settings to align with SDK generation standards. --- .../mission/Mission.Management/tspconfig.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index 71dcfbfe8979..d6802a8b8cc5 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -32,11 +32,17 @@ options: namespace: com.azure.resourcemanager.placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation service-name: Place Holder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation "@azure-tools/typespec-ts": - package-dir: "armplaceholder" + package-dir: "arm-placeholder" flavor: azure experimental-extensible-enums: true package-details: - name: "@azure/armplaceholder" + name: "@azure/arm-placeholder" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.Placeholder" + clear-output-folder: true + model-namespace: true + namespace: "{package-dir}" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" From 4ed14af3b9c6b987f842758ccea7c101ca97a7df Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 24 Jul 2025 16:33:31 -0600 Subject: [PATCH 85/89] Update SDK config for Virtual Enclaves service Replaced placeholder values in tspconfig.yaml with Virtual Enclaves-specific package directories, namespaces, and service names for Go, Python, Java, TypeScript, and C# emitters. This aligns the configuration with the Virtual Enclaves service for correct SDK generation. --- .../mission/Mission.Management/tspconfig.yaml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index d6802a8b8cc5..4afb1c117b8c 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -11,8 +11,8 @@ options: omit-unreachable-types: true use-read-only-status-schema: true "@azure-tools/typespec-go": - service-dir: sdk/resourcemanager/placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - package-dir: armplaceholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + service-dir: sdk/resourcemanager/virtualenclaves/armvirtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + package-dir: armvirtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation module: github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir} #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation fix-const-stuttering: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-samples: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation @@ -21,25 +21,25 @@ options: inject-spans: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation flavor: azure #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation "@azure-tools/typespec-python": - package-dir: azure-mgmt-placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - namespace: azure.mgmt.placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + package-dir: azure-mgmt-virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + namespace: azure.mgmt.virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-test: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-sample: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation flavor: azure #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation "@azure-tools/typespec-java": flavor: azure #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - package-dir: azure-resourcemanager-placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - namespace: com.azure.resourcemanager.placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - service-name: Place Holder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + package-dir: azure-resourcemanager-virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + namespace: com.azure.resourcemanager.virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + service-name: Virtual Enclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation "@azure-tools/typespec-ts": - package-dir: "arm-placeholder" + package-dir: "arm-virtualenclaves" flavor: azure experimental-extensible-enums: true package-details: - name: "@azure/arm-placeholder" + name: "@azure/arm-virtualenclaves" "@azure-tools/typespec-csharp": flavor: azure - package-dir: "Azure.ResourceManager.Placeholder" + package-dir: "Azure.ResourceManager.VirtualEnclaves" clear-output-folder: true model-namespace: true namespace: "{package-dir}" From 37a69e54f788743646feaa37a29eec33724d8d47 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 24 Jul 2025 16:39:26 -0600 Subject: [PATCH 86/89] Update Go SDK service-dir path in tspconfig.yaml Changed the @azure-tools/typespec-go service-dir from 'sdk/resourcemanager/virtualenclaves/armvirtualenclaves' to 'sdk/resourcemanager/virtualenclaves' to correct the SDK output directory configuration. --- specification/mission/Mission.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index 4afb1c117b8c..c0c8ccf9d161 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -11,7 +11,7 @@ options: omit-unreachable-types: true use-read-only-status-schema: true "@azure-tools/typespec-go": - service-dir: sdk/resourcemanager/virtualenclaves/armvirtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + service-dir: sdk/resourcemanager/virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation package-dir: armvirtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation module: github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir} #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation fix-const-stuttering: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation From 6b64d4e0711d13a4dee5af21ced178a6b7118c1f Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 24 Jul 2025 16:52:54 -0600 Subject: [PATCH 87/89] Update service-dir default to sdk/virtualenclaves Changed the 'service-dir' default value in tspconfig.yaml from 'sdk/placeholder' to 'sdk/virtualenclaves' to reflect the correct SDK output directory. --- specification/mission/Mission.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index c0c8ccf9d161..5351a7d2031d 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -48,4 +48,4 @@ linter: - "@azure-tools/typespec-azure-rulesets/resource-manager" parameters: service-dir: - default: sdk/placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + default: sdk/virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation From 46aaf5cd461ea1e9bfd7f054095a4133eee29250 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 24 Jul 2025 17:06:06 -0600 Subject: [PATCH 88/89] Update service-dir path in tspconfig.yaml Changed the service-dir default value from 'sdk/virtualenclaves' to 'sdk/resourcemanager/virtualenclaves' to ensure correct SDK emission path. --- specification/mission/Mission.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index 5351a7d2031d..458839200407 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -48,4 +48,4 @@ linter: - "@azure-tools/typespec-azure-rulesets/resource-manager" parameters: service-dir: - default: sdk/virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + default: sdk/resourcemanager/virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation From 3cfe296a38a071e6ab84b210ee214eebb48a0d18 Mon Sep 17 00:00:00 2001 From: jorgechav Date: Thu, 24 Jul 2025 17:19:37 -0600 Subject: [PATCH 89/89] Update service-dir path in tspconfig.yaml Changed the default value of service-dir from 'sdk/resourcemanager/virtualenclaves' to 'sdk/virtualenclaves' to reflect the correct SDK directory structure. --- specification/mission/Mission.Management/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index 458839200407..5351a7d2031d 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -48,4 +48,4 @@ linter: - "@azure-tools/typespec-azure-rulesets/resource-manager" parameters: service-dir: - default: sdk/resourcemanager/virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + default: sdk/virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation